File tree Expand file tree Collapse file tree 3 files changed +51
-1
lines changed
chart/jetstack-secure-gcm/charts/cert-manager/templates Expand file tree Collapse file tree 3 files changed +51
-1
lines changed Original file line number Diff line number Diff line change 1+ {{- if .Values.startupapicheck.enabled -}}
2+ {{- if .Values.global.podSecurityPolicy.enabled }}
3+ kind : ClusterRole
4+ apiVersion : rbac.authorization.k8s.io/v1
5+ metadata :
6+ name : {{ template "startupapicheck.fullname" . }}-psp
7+ labels :
8+ app : {{ include "startupapicheck.name" . }}
9+ app.kubernetes.io/name : {{ include "startupapicheck.name" . }}
10+ app.kubernetes.io/instance : {{ .Release.Name }}
11+ app.kubernetes.io/component : " startupapicheck"
12+ {{- include "labels" . | nindent 4 }}
13+ {{- if .Values.startupapicheck.rbac.annotations }}
14+ annotations :
15+ {{ toYaml .Values.startupapicheck.rbac.annotations | nindent 4 }}
16+ {{- end }}
17+ rules :
18+ - apiGroups : ['policy']
19+ resources : ['podsecuritypolicies']
20+ verbs : ['use']
21+ resourceNames :
22+ - {{ template "startupapicheck.fullname" . }}
23+ {{- end }}
24+ {{- end }}
Original file line number Diff line number Diff line change 1+ {{- if .Values.startupapicheck.enabled -}}
2+ {{- if .Values.global.podSecurityPolicy.enabled }}
3+ apiVersion : rbac.authorization.k8s.io/v1
4+ kind : ClusterRoleBinding
5+ metadata :
6+ name : {{ template "startupapicheck.fullname" . }}-psp
7+ labels :
8+ app : {{ include "startupapicheck.name" . }}
9+ app.kubernetes.io/name : {{ include "startupapicheck.name" . }}
10+ app.kubernetes.io/instance : {{ .Release.Name }}
11+ app.kubernetes.io/component : " startupapicheck"
12+ {{- include "labels" . | nindent 4 }}
13+ {{- if .Values.startupapicheck.rbac.annotations }}
14+ annotations :
15+ {{ toYaml .Values.startupapicheck.rbac.annotations | nindent 4 }}
16+ {{- end }}
17+ roleRef :
18+ apiGroup : rbac.authorization.k8s.io
19+ kind : ClusterRole
20+ name : {{ template "startupapicheck.fullname" . }}-psp
21+ subjects :
22+ - kind : ServiceAccount
23+ name : {{ template "startupapicheck.serviceAccountName" . }}
24+ namespace : {{ .Release.Namespace }}
25+ {{- end }}
26+ {{- end }}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ x-google-marketplace:
1111 # We are not "truely" following semver.org since we use a "-" for a final
1212 # release ("-" is meant for pre-releases). This is due to a Docker
1313 # limitation: https://github.com/distribution/distribution/issues/1201
14- publishedVersion : 1.5.3 -gcm.0
14+ publishedVersion : 1.5.4 -gcm.0
1515 publishedVersionMetadata :
1616 releaseNote : >-
1717 Initial release.
You can’t perform that action at this time.
0 commit comments