Revert "Set Security Context to ks-user job"
This reverts commit 5407b547bb
.
Reason for revert: This outputs duplicate securityContext entries,
breaking the yamllinter in osh. This needs a slight rework.
Change-Id: I0c892be5aba7ccd6e3c378e4e45a79d2df03c06a
This commit is contained in:
parent
5407b547bb
commit
55e7706f7e
@ -15,7 +15,7 @@ apiVersion: v1
|
|||||||
appVersion: v1.0.0
|
appVersion: v1.0.0
|
||||||
description: OpenStack-Helm Helm-Toolkit
|
description: OpenStack-Helm Helm-Toolkit
|
||||||
name: helm-toolkit
|
name: helm-toolkit
|
||||||
version: 0.2.25
|
version: 0.2.26
|
||||||
home: https://docs.openstack.org/openstack-helm
|
home: https://docs.openstack.org/openstack-helm
|
||||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/OpenStack-Helm/OpenStack_Project_OpenStackHelm_vertical.png
|
icon: https://www.openstack.org/themes/openstack/images/project-mascots/OpenStack-Helm/OpenStack_Project_OpenStackHelm_vertical.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -70,15 +70,6 @@ spec:
|
|||||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: {{ $serviceAccountName | quote }}
|
serviceAccountName: {{ $serviceAccountName | quote }}
|
||||||
{{- if hasKey $envAll.Values "pod" -}}
|
|
||||||
{{- if hasKey $envAll.Values.pod "security_context" -}}
|
|
||||||
{{- range $service, $value := $envAll.Values.pod.security_context }}
|
|
||||||
{{- if (($value).pod) }}
|
|
||||||
{{ dict "envAll" $envAll "application" $service | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
restartPolicy: {{ $restartPolicy }}
|
restartPolicy: {{ $restartPolicy }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml $nodeSelector | indent 8 }}
|
{{ toYaml $nodeSelector | indent 8 }}
|
||||||
|
@ -32,4 +32,5 @@ helm-toolkit:
|
|||||||
- 0.2.23 Helm 3 - Fix Job labels
|
- 0.2.23 Helm 3 - Fix Job labels
|
||||||
- 0.2.24 Migrate Ingress resources to networking.k8s.io/v1
|
- 0.2.24 Migrate Ingress resources to networking.k8s.io/v1
|
||||||
- 0.2.25 Set Security Context to ks-user job
|
- 0.2.25 Set Security Context to ks-user job
|
||||||
|
- 0.2.26 Revert Set Security Context to ks-user job
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user