22 lines
637 B
YAML
22 lines
637 B
YAML
{{- if .Capabilities.APIVersions.Has "keda.sh/v1alpha1" -}}
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
annotations:
|
|
dokku.com/managed: "true"
|
|
{{ include "print.annotations" (dict "config" $.Values.global "key" "keda_secret") | indent 4 }}
|
|
labels:
|
|
app.kubernetes.io/instance: {{ $.Values.type }}
|
|
app.kubernetes.io/name: {{ $.Values.type }}
|
|
app.kubernetes.io/part-of: cluster
|
|
{{ include "print.labels" (dict "config" $.Values.global "key" "keda_secret") | indent 4 }}
|
|
name: ckta-{{ $.Values.type }}
|
|
namespace: keda
|
|
data:
|
|
{{- with $.Values.secrets }}
|
|
data:
|
|
{{- toYaml . | nindent 2 }}
|
|
{{- end }}
|
|
{{- end }}
|