feat: setup cluster trigger authentication objects
This commit is contained in:
1 parent
6b74cd1d6b
commit
7c58bbf792
7 files changed
+151
-27
No files matched your search
@@ -4,17 +4,13 @@ apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
annotations:
|
||||
app.kubernetes.io/version: {{ $.Values.global.deploment_id | quote }}
|
||||
dokku.com/managed: "true"
|
||||
{{- if and $.Values.global.annotations $.Values.global.annotations.keda_secret }}
|
||||
{{- range $k, $v := $.Values.global.annotations.keda_secret }}
|
||||
{{ $k }}: {{ $v | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{ 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:
|
||||
|
||||
@@ -4,17 +4,13 @@ apiVersion: keda.sh/v1alpha1
|
||||
kind: ClusterTriggerAuthentication
|
||||
metadata:
|
||||
annotations:
|
||||
app.kubernetes.io/version: {{ $.Values.global.deploment_id | quote }}
|
||||
dokku.com/managed: "true"
|
||||
{{- if and $.Values.global.annotations $.Values.global.annotations.keda_trigger_authentication }}
|
||||
{{- range $k, $v := $.Values.global.annotations.keda_trigger_authentication }}
|
||||
{{ $k }}: {{ $v | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{ include "print.annotations" (dict "config" $.Values.global "key" "keda_trigger_authentication") | 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_trigger_authentication") | indent 4 }}
|
||||
name: {{ $.Values.type }}
|
||||
spec:
|
||||
secretTargetRef:
|
||||
|
||||
@@ -8,20 +8,14 @@ metadata:
|
||||
annotations:
|
||||
app.kubernetes.io/version: {{ $.Values.global.deploment_id | quote }}
|
||||
dokku.com/managed: "true"
|
||||
{{- if and $.Values.global.annotations $.Values.global.annotations.keda_scaled_object }}
|
||||
{{- range $k, $v := $.Values.global.annotations.keda_scaled_object }}
|
||||
{{ $k }}: {{ $v | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if and $config.annotations $config.annotations.keda_scaled_object }}
|
||||
{{- range $k, $v := $config.annotations.keda_scaled_object }}
|
||||
{{ $k }}: {{ $v | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{ include "print.annotations" (dict "config" $.Values.global "key" "keda_scaled_object") | indent 4 }}
|
||||
{{ include "print.annotations" (dict "config" $config "key" "keda_scaled_object") | indent 4 }}
|
||||
labels:
|
||||
app.kubernetes.io/instance: {{ $.Values.global.app_name }}-{{ $processName }}
|
||||
app.kubernetes.io/name: {{ $processName }}
|
||||
app.kubernetes.io/part-of: {{ $.Values.global.app_name }}
|
||||
{{ include "print.labels" (dict "config" $.Values.global "key" "keda_scaled_object") | indent 4 }}
|
||||
{{ include "print.labels" (dict "config" $config "key" "keda_scaled_object") | indent 4 }}
|
||||
name: {{ $.Values.global.app_name}}-{{ $processName }}
|
||||
namespace: {{ $.Values.global.namespace }}
|
||||
spec:
|
||||
|
||||
@@ -7,15 +7,12 @@ metadata:
|
||||
annotations:
|
||||
app.kubernetes.io/version: {{ $.Values.global.deploment_id | quote }}
|
||||
dokku.com/managed: "true"
|
||||
{{- if and $.Values.global.annotations $.Values.global.annotations.keda_secret }}
|
||||
{{- range $k, $v := $.Values.global.annotations.keda_secret }}
|
||||
{{ $k }}: {{ $v | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{ include "print.annotations" (dict "config" $.Values.global "key" "keda_secret") | indent 4 }}
|
||||
labels:
|
||||
app.kubernetes.io/instance: {{ $.Values.global.app_name }}-{{ $config.type }}
|
||||
app.kubernetes.io/name: {{ $config.type }}
|
||||
app.kubernetes.io/part-of: {{ $.Values.global.app_name }}
|
||||
{{ include "print.labels" (dict "config" $.Values.global "key" "keda_secret") | indent 4 }}
|
||||
name: kta-{{ $.Values.global.app_name }}-{{ $config.type }}
|
||||
namespace: {{ $.Values.global.namespace }}
|
||||
data:
|
||||
|
||||
Reference in new issue
Block a user