-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #662 from aramase/automated-cherry-pick-of-#660-up…
…stream-release-0.1 Automated cherry pick of #660: release: update manifests for v0.1.0
- Loading branch information
Showing
24 changed files
with
308 additions
and
133 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
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,6 +1,23 @@ | ||
apiVersion: v1 | ||
entries: | ||
secrets-store-csi-driver: | ||
- apiVersion: v2 | ||
appVersion: 0.1.0 | ||
created: "2021-07-26T09:41:27.883002-07:00" | ||
description: A Helm chart to install the SecretsStore CSI Driver inside a Kubernetes | ||
cluster. | ||
digest: 4a8afc66ad5d9b42c3759213520da7024e966dbe0ab13a005f03fe32b10fac2e | ||
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png | ||
kubeVersion: '>=1.16.0-0' | ||
maintainers: | ||
- email: [email protected] | ||
name: Rita Zhang | ||
name: secrets-store-csi-driver | ||
sources: | ||
- https://github.com/kubernetes-sigs/secrets-store-csi-driver | ||
urls: | ||
- https://raw.githubusercontent.com/kubernetes-sigs/secrets-store-csi-driver/master/charts/secrets-store-csi-driver-0.1.0.tgz | ||
version: 0.1.0 | ||
- apiVersion: v1 | ||
appVersion: 0.0.23 | ||
created: "2021-06-10T12:27:24.468813-07:00" | ||
|
@@ -256,4 +273,4 @@ entries: | |
urls: | ||
- https://raw.githubusercontent.com/kubernetes-sigs/secrets-store-csi-driver/master/charts/secrets-store-csi-driver-0.0.9.tgz | ||
version: 0.0.9 | ||
generated: "2021-06-10T12:27:24.466683-07:00" | ||
generated: "2021-07-26T09:41:27.881293-07:00" |
Binary file not shown.
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
Large diffs are not rendered by default.
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
File renamed without changes.
71 changes: 71 additions & 0 deletions
71
charts/secrets-store-csi-driver/templates/crds-upgrade-hook.yaml
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,71 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: {{ template "sscd.fullname" . }}-upgrade-crds | ||
{{ include "sscd.labels" . | indent 2 }} | ||
annotations: | ||
helm.sh/hook: pre-install,pre-upgrade | ||
helm.sh/hook-delete-policy: "hook-succeeded,before-hook-creation" | ||
helm.sh/hook-weight: "1" | ||
rules: | ||
- apiGroups: ["apiextensions.k8s.io"] | ||
resources: ["customresourcedefinitions"] | ||
verbs: ["get", "create", "update", "patch"] | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ template "sscd.fullname" . }}-upgrade-crds | ||
{{ include "sscd.labels" . | indent 2 }} | ||
annotations: | ||
helm.sh/hook: pre-install,pre-upgrade | ||
helm.sh/hook-delete-policy: "hook-succeeded,before-hook-creation" | ||
helm.sh/hook-weight: "1" | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ template "sscd.fullname" . }}-upgrade-crds | ||
namespace: {{ .Release.Namespace }} | ||
roleRef: | ||
kind: ClusterRole | ||
name: {{ template "sscd.fullname" . }}-upgrade-crds | ||
apiGroup: rbac.authorization.k8s.io | ||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: {{ template "sscd.fullname" . }}-upgrade-crds | ||
namespace: {{ .Release.Namespace }} | ||
{{ include "sscd.labels" . | indent 2 }} | ||
annotations: | ||
helm.sh/hook: pre-install,pre-upgrade | ||
helm.sh/hook-delete-policy: "hook-succeeded,before-hook-creation" | ||
helm.sh/hook-weight: "1" | ||
--- | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: {{ template "sscd.fullname" . }}-upgrade-crds | ||
namespace: {{ .Release.Namespace }} | ||
{{ include "sscd.labels" . | indent 2 }} | ||
annotations: | ||
helm.sh/hook: pre-upgrade | ||
helm.sh/hook-weight: "1" | ||
helm.sh/hook-delete-policy: "hook-succeeded,before-hook-creation" | ||
spec: | ||
backoffLimit: 0 | ||
template: | ||
metadata: | ||
name: {{ template "sscd.fullname" . }}-upgrade-crds | ||
spec: | ||
serviceAccountName: {{ template "sscd.fullname" . }}-upgrade-crds | ||
restartPolicy: Never | ||
containers: | ||
- name: crds-upgrade | ||
image: "{{ .Values.linux.crds.image.repository }}:{{ .Values.linux.crds.image.tag }}" | ||
args: | ||
- apply | ||
- -f | ||
- crds/ | ||
imagePullPolicy: {{ .Values.linux.crds.image.pullPolicy }} | ||
nodeSelector: | ||
kubernetes.io/os: linux |
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
74 changes: 74 additions & 0 deletions
74
charts/secrets-store-csi-driver/templates/keep-crds-upgrade-hook.yaml
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,74 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: {{ template "sscd.fullname" . }}-keep-crds | ||
{{ include "sscd.labels" . | indent 2 }} | ||
annotations: | ||
helm.sh/hook: pre-upgrade | ||
helm.sh/hook-delete-policy: "hook-succeeded,before-hook-creation" | ||
helm.sh/hook-weight: "2" | ||
rules: | ||
- apiGroups: ["apiextensions.k8s.io"] | ||
resources: ["customresourcedefinitions"] | ||
verbs: ["get", "patch"] | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ template "sscd.fullname" . }}-keep-crds | ||
{{ include "sscd.labels" . | indent 2 }} | ||
annotations: | ||
helm.sh/hook: pre-upgrade | ||
helm.sh/hook-delete-policy: "hook-succeeded,before-hook-creation" | ||
helm.sh/hook-weight: "2" | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ template "sscd.fullname" . }}-keep-crds | ||
namespace: {{ .Release.Namespace }} | ||
roleRef: | ||
kind: ClusterRole | ||
name: {{ template "sscd.fullname" . }}-keep-crds | ||
apiGroup: rbac.authorization.k8s.io | ||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: {{ template "sscd.fullname" . }}-keep-crds | ||
namespace: {{ .Release.Namespace }} | ||
{{ include "sscd.labels" . | indent 2 }} | ||
annotations: | ||
helm.sh/hook: pre-upgrade | ||
helm.sh/hook-delete-policy: "hook-succeeded,before-hook-creation" | ||
helm.sh/hook-weight: "2" | ||
--- | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: {{ template "sscd.fullname" . }}-keep-crds | ||
namespace: {{ .Release.Namespace }} | ||
{{ include "sscd.labels" . | indent 2 }} | ||
annotations: | ||
helm.sh/hook: pre-upgrade | ||
helm.sh/hook-weight: "2" | ||
helm.sh/hook-delete-policy: "hook-succeeded,before-hook-creation" | ||
spec: | ||
backoffLimit: 0 | ||
template: | ||
metadata: | ||
name: {{ template "sscd.fullname" . }}-keep-crds | ||
spec: | ||
serviceAccountName: {{ template "sscd.fullname" . }}-keep-crds | ||
restartPolicy: Never | ||
containers: | ||
- name: crds-keep | ||
image: "{{ .Values.linux.crds.image.repository }}:{{ .Values.linux.crds.image.tag }}" | ||
args: | ||
- patch | ||
- crd | ||
- secretproviderclasses.secrets-store.csi.x-k8s.io | ||
- secretproviderclasspodstatuses.secrets-store.csi.x-k8s.io | ||
- -p | ||
- '{"metadata":{"annotations": {"helm.sh/resource-policy": "keep"}}}' | ||
imagePullPolicy: {{ .Values.linux.crds.image.pullPolicy }} | ||
nodeSelector: | ||
kubernetes.io/os: linux |
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
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
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
Oops, something went wrong.