diff --git a/.ci-operator.yaml b/.ci-operator.yaml new file mode 100644 index 000000000..a83f0f843 --- /dev/null +++ b/.ci-operator.yaml @@ -0,0 +1,4 @@ +build_root_image: + name: release + namespace: openshift + tag: rhel-9-release-golang-1.21-openshift-4.16 diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index d70526403..000000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,40 +0,0 @@ - - -**What type of PR is this?** -> Uncomment only one ` /kind <>` line, hit enter to put that in a new line, and remove leading whitespaces from that line: -> -> /kind api-change -> /kind bug -> /kind cleanup -> /kind design -> /kind documentation -> /kind failing-test -> /kind feature -> /kind flake - -**What this PR does / why we need it**: - -**Which issue(s) this PR fixes**: - -Fixes # - -**Special notes for your reviewer**: - -**Does this PR introduce a user-facing change?**: - -```release-note - -``` diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml deleted file mode 100644 index d30e8a74b..000000000 --- a/.github/dependabot.yaml +++ /dev/null @@ -1,40 +0,0 @@ -version: 2 -enable-beta-ecosystems: true -updates: -- package-ecosystem: gomod - directory: "/" - schedule: - interval: weekly - groups: - golang-dependencies: - patterns: - - "github.com/golang*" - - "golang.org*" - - "google.golang.org*" - k8s-dependencies: - patterns: - - "k8s.io*" - - "sigs.k8s.io*" - github-dependencies: - patterns: - - "*" - exclude-patterns: - - "github.com/golang*" - - "golang.org*" - - "google.golang.org*" - - "k8s.io*" - - "sigs.k8s.io*" - labels: - - "area/dependency" - - "release-note-none" - - "ok-to-test" - open-pull-requests-limit: 10 -- package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" - labels: - - "area/dependency" - - "release-note-none" - - "ok-to-test" - open-pull-requests-limit: 10 diff --git a/.snyk b/.snyk new file mode 100644 index 000000000..fa9fd3080 --- /dev/null +++ b/.snyk @@ -0,0 +1,6 @@ +# 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/** diff --git a/Dockerfile.openshift b/Dockerfile.openshift new file mode 100644 index 000000000..36ec31ef0 --- /dev/null +++ b/Dockerfile.openshift @@ -0,0 +1,8 @@ +FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.16 AS builder +WORKDIR /go/src/github.com/kubernetes-csi/external-resizer +COPY . . +RUN make build + +FROM registry.ci.openshift.org/ocp/4.16:base-rhel9 +COPY --from=builder /go/src/github.com/kubernetes-csi/external-resizer/bin/csi-resizer /usr/bin/ +ENTRYPOINT ["/usr/bin/csi-resizer"] diff --git a/Dockerfile.openshift.rhel7 b/Dockerfile.openshift.rhel7 new file mode 100644 index 000000000..30ebf879c --- /dev/null +++ b/Dockerfile.openshift.rhel7 @@ -0,0 +1,8 @@ +FROM registry.svc.ci.openshift.org/ocp/builder:golang-1.15 AS builder +WORKDIR /go/src/github.com/kubernetes-csi/external-resizer +COPY . . +RUN make build + +FROM registry.svc.ci.openshift.org/ocp/4.7:base +COPY --from=builder /go/src/github.com/kubernetes-csi/external-resizer/bin/csi-resizer /usr/bin/ +ENTRYPOINT ["/usr/bin/csi-resizer"] diff --git a/OWNERS b/OWNERS index 89d2e0e41..a3edb3191 100644 --- a/OWNERS +++ b/OWNERS @@ -1,12 +1,5 @@ # See the OWNERS docs at https://go.k8s.io/owners approvers: -- kubernetes-csi-approvers -- gnufied -- mlmhl - -reviewers: -- kubernetes-csi-reviewers - -# emeritus_reviewers: -# - mlmhl +- openshift-storage-maintainers +component: "Storage / Kubernetes External Components" diff --git a/OWNERS_ALIASES b/OWNERS_ALIASES deleted file mode 120000 index 3f60d4615..000000000 --- a/OWNERS_ALIASES +++ /dev/null @@ -1 +0,0 @@ -release-tools/KUBERNETES_CSI_OWNERS_ALIASES \ No newline at end of file diff --git a/OWNERS_ALIASES b/OWNERS_ALIASES new file mode 100644 index 000000000..c44802504 --- /dev/null +++ b/OWNERS_ALIASES @@ -0,0 +1,9 @@ +aliases: + openshift-storage-maintainers: + - jsafrane + - tsmetana + - gnufied + - bertinatto + - dobsonj + - RomanBednar + - mpatlasov