Service accounts must still be bound to a role, but this ensures apps do not get access to the default service account.
17 lines
599 B
YAML
17 lines
599 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
annotations:
|
|
app.kubernetes.io/version: {{ $.Values.global.deploment_id | quote }}
|
|
dokku.com/managed: "true"
|
|
labels:
|
|
app.kubernetes.io/instance: env-{{ $.Values.global.app_name }}.{{ $.Values.global.deploment_id }}
|
|
app.kubernetes.io/name: env-{{ $.Values.global.app_name }}
|
|
app.kubernetes.io/part-of: {{ $.Values.global.app_name }}
|
|
name: env-{{ $.Values.global.app_name }}.{{ $.Values.global.deploment_id }}
|
|
namespace: {{ $.Values.global.namespace }}
|
|
{{- with .Values.global.secrets }}
|
|
data:
|
|
{{- toYaml . | nindent 2 }}
|
|
{{- end }}
|