forked from kubernetes-sigs/aws-efs-csi-driver
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPSTREAM: <carry>: Add OpenShift files
Additional changes: - remove .github files - do not overwrite GOARCH in makefile - go mod tidy && go mod vendor
- Loading branch information
1 parent
dcc681c
commit 60e489f
Showing
18 changed files
with
54 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
build_root_image: | ||
name: release | ||
namespace: openshift | ||
tag: rhel-9-release-golang-1.22-openshift-4.17 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# References: | ||
# https://docs.snyk.io/scan-applications/snyk-code/using-snyk-code-from-the-cli/excluding-directories-and-files-from-the-snyk-code-cli-test | ||
# https://docs.snyk.io/snyk-cli/commands/ignore | ||
exclude: | ||
global: | ||
- vendor/** | ||
- troubleshooting/log_collector.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.17 AS builder | ||
WORKDIR /go/src/github.com/kubernetes-sigs/aws-efs-csi-driver | ||
COPY . . | ||
RUN make bin/aws-efs-csi-driver | ||
|
||
# Use a base image with aws-efs-utils installed | ||
FROM registry.ci.openshift.org/ocp/4.17:aws-efs-utils-base | ||
|
||
# From the upstream Dockerfile: | ||
# At image build time, static files installed by efs-utils in the config directory, i.e. CAs file, need | ||
# to be saved in another place so that the other stateful files created at runtime, i.e. private key for | ||
# client certificate, in the same config directory can be persisted to host with a host path volume. | ||
# Otherwise creating a host path volume for that directory will clean up everything inside at the first time. | ||
# Those static files need to be copied back to the config directory when the driver starts up. | ||
RUN mv /etc/amazon/efs /etc/amazon/efs-static-files | ||
|
||
COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-efs-csi-driver/bin/aws-efs-csi-driver /usr/bin/ | ||
ENTRYPOINT ["/usr/bin/aws-efs-csi-driver"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,4 @@ | ||
# See the OWNERS docs at https://go.k8s.io/owners | ||
|
||
approvers: | ||
- d-nishi | ||
- leakingtapan | ||
- justinsb | ||
- jsafrane | ||
- wongma7 | ||
- nckturner | ||
- jqmichael | ||
- Ashley-wenyizha | ||
- mskanth972 | ||
- seanzatzdev-amazon | ||
- openshift-storage-maintainers | ||
component: "Storage" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
aliases: | ||
openshift-storage-maintainers: | ||
- jsafrane | ||
- tsmetana | ||
- gnufied | ||
- bertinatto | ||
- dobsonj | ||
- RomanBednar | ||
- mpatlasov |
Oops, something went wrong.