42 lines
1.6 KiB
YAML
42 lines
1.6 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: speedscale-operator
|
|
namespace: {{ .Release.Namespace }}
|
|
annotations:
|
|
argocd.argoproj.io/hook: PreSync
|
|
{{- if .Values.globalAnnotations }}
|
|
{{ toYaml .Values.globalAnnotations | indent 4}}
|
|
{{- end }}
|
|
data:
|
|
CLUSTER_NAME: {{ .Values.clusterName }}
|
|
IMAGE_PULL_POLICY: {{ .Values.image.pullPolicy }}
|
|
IMAGE_PULL_SECRETS: ""
|
|
IMAGE_REGISTRY: {{ .Values.image.registry }}
|
|
IMAGE_TAG: {{ .Values.image.tag }}
|
|
INSTANCE_ID: '{{- $cm := (lookup "v1" "ConfigMap" .Release.Namespace "speedscale-operator") -}}{{ if $cm }}{{ $cm.data.INSTANCE_ID }}{{ else }}{{ ( printf "%s-%s" .Values.clusterName uuidv4 ) }}{{ end }}'
|
|
LOG_LEVEL: {{ .Values.logLevel }}
|
|
SPEEDSCALE_DLP_CONFIG: {{ .Values.dlp.config }}
|
|
SPEEDSCALE_FILTER_RULE: {{ .Values.filterRule }}
|
|
TELEMETRY_INTERVAL: 1s
|
|
WITH_DLP: {{ .Values.dlp.enabled | quote }}
|
|
WITH_INSPECTOR: {{ .Values.dashboardAccess | quote }}
|
|
API_KEY_SECRET_NAME: {{ .Values.apiKeySecret | quote }}
|
|
DEPLOY_DEMO: {{ .Values.deployDemo | quote }}
|
|
GLOBAL_ANNOTATIONS: {{ .Values.globalAnnotations | toJson | quote }}
|
|
GLOBAL_LABELS: {{ .Values.globalLabels | toJson | quote }}
|
|
{{- if .Values.http_proxy }}
|
|
HTTP_PROXY: {{ .Values.http_proxy }}
|
|
{{- end }}
|
|
{{- if .Values.https_proxy }}
|
|
HTTPS_PROXY: {{ .Values.https_proxy }}
|
|
{{- end }}
|
|
{{- if .Values.no_proxy }}
|
|
NO_PROXY: {{ .Values.no_proxy }}
|
|
{{- end }}
|
|
PRIVILEGED_SIDECARS: {{ .Values.privilegedSidecars | quote }}
|
|
DISABLE_SMARTDNS: {{ .Values.disableSidecarSmartReverseDNS | quote }}
|
|
SIDECAR_CONFIG: {{ .Values.sidecar | toJson | quote }}
|
|
FORWARDER_CONFIG: {{ .Values.forwarder | toJson | quote }}
|