rancher-partner-charts/charts/crowdstrike/falcon-sensor/templates/node_secret.yaml

14 lines
376 B
YAML

{{- if .Values.node.enabled }}
{{- if .Values.node.image.registryConfigJSON }}
{{- $registry := .Values.node.image.registryConfigJSON }}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "falcon-sensor.fullname" . }}-pull-secret
namespace: {{ .Release.Namespace }}
data:
.dockerconfigjson: {{ $registry }}
type: kubernetes.io/dockerconfigjson
{{- end }}
{{- end }}