mirror of https://git.rancher.io/charts
rancher-istio/rancher-tracing CHART: moved service account out of psp condition
parent
f89f570f68
commit
797f948589
|
@ -72,8 +72,8 @@ spec:
|
|||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
serviceAccountName: {{ include "tracing.fullname" . }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ include "tracing.fullname" . }}
|
||||
nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
|
||||
{{- if .Values.nodeSelector }}
|
||||
{{ toYaml .Values.nodeSelector | indent 8 }}
|
||||
|
|
|
@ -1,14 +1,4 @@
|
|||
{{- if .Values.global.cattle.psp.enabled }}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ include "tracing.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app: {{ .Values.provider }}
|
||||
heritage: {{ .Release.Service }}
|
||||
release: {{ .Release.Name }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
|
|
9
packages/rancher-istio/1.15/rancher-tracing/charts/templates/serviceaccount.yaml
vendored
Normal file
9
packages/rancher-istio/1.15/rancher-tracing/charts/templates/serviceaccount.yaml
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ include "tracing.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app: {{ .Values.provider }}
|
||||
heritage: {{ .Release.Service }}
|
||||
release: {{ .Release.Name }}
|
Loading…
Reference in New Issue