make charts

pull/2367/head
vardhaman 2023-02-08 20:12:56 +05:30
parent 1cfe8a9154
commit 02556334fb
8 changed files with 46 additions and 4 deletions

View File

@ -40,6 +40,12 @@ spec:
- name: crd-manifest - name: crd-manifest
readOnly: true readOnly: true
mountPath: /etc/config mountPath: /etc/config
securityContext:
{{- if .Values.enableRuntimeDefaultSeccompProfile }}
seccompProfile:
type: RuntimeDefault
{{- end }}
{{- toYaml .Values.securityContext | nindent 12 }}
restartPolicy: OnFailure restartPolicy: OnFailure
volumes: volumes:
- name: crd-manifest - name: crd-manifest
@ -88,6 +94,12 @@ spec:
- name: crd-manifest - name: crd-manifest
readOnly: true readOnly: true
mountPath: /etc/config mountPath: /etc/config
securityContext:
{{- if .Values.enableRuntimeDefaultSeccompProfile }}
seccompProfile:
type: RuntimeDefault
{{- end }}
{{- toYaml .Values.securityContext | nindent 12 }}
containers: containers:
- name: delete-crds - name: delete-crds
image: {{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }} image: {{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}
@ -101,6 +113,12 @@ spec:
- name: crd-manifest - name: crd-manifest
readOnly: true readOnly: true
mountPath: /etc/config mountPath: /etc/config
securityContext:
{{- if .Values.enableRuntimeDefaultSeccompProfile }}
seccompProfile:
type: RuntimeDefault
{{- end }}
{{- toYaml .Values.securityContext | nindent 12 }}
restartPolicy: OnFailure restartPolicy: OnFailure
volumes: volumes:
- name: crd-manifest - name: crd-manifest

View File

@ -11,3 +11,11 @@ global:
image: image:
repository: rancher/kubectl repository: rancher/kubectl
tag: v1.20.2 tag: v1.20.2
enableRuntimeDefaultSeccompProfile: true
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL

View File

@ -91,6 +91,10 @@ Output post install webhook probe container entry
resources: resources:
{{- toYaml .Values.postInstall.resources | nindent 4 }} {{- toYaml .Values.postInstall.resources | nindent 4 }}
securityContext: securityContext:
{{- if .Values.enableRuntimeDefaultSeccompProfile }}
seccompProfile:
type: RuntimeDefault
{{- end }}
{{- toYaml .Values.postInstall.securityContext | nindent 4 }} {{- toYaml .Values.postInstall.securityContext | nindent 4 }}
volumeMounts: volumeMounts:
- mountPath: /certs - mountPath: /certs

View File

@ -107,6 +107,12 @@ rules:
{{- range .Values.postInstall.labelNamespace.extraNamespaces }} {{- range .Values.postInstall.labelNamespace.extraNamespaces }}
- {{ . }} - {{ . }}
{{- end }} {{- end }}
- apiGroups:
- management.cattle.io
resources:
- projects
verbs:
- updatepsa
{{- with .Values.postInstall.labelNamespace.extraRules }} {{- with .Values.postInstall.labelNamespace.extraRules }}
{{- toYaml . | nindent 2 }} {{- toYaml . | nindent 2 }}
{{- end }} {{- end }}

View File

@ -95,6 +95,12 @@ rules:
{{- range .Values.postUpgrade.labelNamespace.extraNamespaces }} {{- range .Values.postUpgrade.labelNamespace.extraNamespaces }}
- {{ . }} - {{ . }}
{{- end }} {{- end }}
- apiGroups:
- management.cattle.io
resources:
- projects
verbs:
- updatepsa
{{- end }} {{- end }}
--- ---
{{- if .Values.rbac.create }} {{- if .Values.rbac.create }}

View File

@ -5808,10 +5808,10 @@ entries:
catalog.cattle.io/ui-component: gatekeeper catalog.cattle.io/ui-component: gatekeeper
apiVersion: v2 apiVersion: v2
appVersion: v3.10.0 appVersion: v3.10.0
created: "2023-01-27T17:26:15.997458-05:00" created: "2023-02-08T20:12:49.919744747+05:30"
description: Modifies Open Policy Agent's upstream gatekeeper chart that provides description: Modifies Open Policy Agent's upstream gatekeeper chart that provides
policy-based control for cloud native environments policy-based control for cloud native environments
digest: 932abb4e8aa3702ba2ffba15bc5564d85a9e7ba0b1ed68d074ab35889d5e61c3 digest: 96dae222306d3764d91b9ba4de18699a1a76f5d04746a2fc8931a0fb40d78056
home: https://github.com/open-policy-agent/gatekeeper home: https://github.com/open-policy-agent/gatekeeper
icon: https://charts.rancher.io/assets/logos/gatekeeper.svg icon: https://charts.rancher.io/assets/logos/gatekeeper.svg
keywords: keywords:
@ -6142,9 +6142,9 @@ entries:
catalog.cattle.io/namespace: cattle-gatekeeper-system catalog.cattle.io/namespace: cattle-gatekeeper-system
catalog.cattle.io/release-name: rancher-gatekeeper-crd catalog.cattle.io/release-name: rancher-gatekeeper-crd
apiVersion: v1 apiVersion: v1
created: "2023-01-27T19:37:41.424303-05:00" created: "2023-02-08T20:12:49.933272881+05:30"
description: Installs the CRDs for rancher-gatekeeper. description: Installs the CRDs for rancher-gatekeeper.
digest: 2418c52e443629f46b6bb4ae96ffd68872c1a42fca9153ca3818d43d5cb65d70 digest: e7038b05e2cf9ac04d403996426c54aac56cd1be7ba7b83805a9ad4d3992bad8
name: rancher-gatekeeper-crd name: rancher-gatekeeper-crd
type: application type: application
urls: urls: