diff --git a/helm-charts/vmpooler/templates/configmap-vmpooler-baseconfig.yaml b/helm-charts/vmpooler/templates/configmap-vmpooler-baseconfig.yaml index e914e3a..5b71e19 100644 --- a/helm-charts/vmpooler/templates/configmap-vmpooler-baseconfig.yaml +++ b/helm-charts/vmpooler/templates/configmap-vmpooler-baseconfig.yaml @@ -12,9 +12,11 @@ data: :tagfilter: project: '^([^/]+)' + {{- if .Values.auth }} :auth: {{- with .Values.auth }} {{- toYaml . | nindent 6 }} {{- end }} + {{- end }} :prometheus: prefix: {{ .Values.vmpoolerInstance }} diff --git a/helm-charts/vmpooler/values.yaml b/helm-charts/vmpooler/values.yaml index 88bde85..e049a6c 100644 --- a/helm-charts/vmpooler/values.yaml +++ b/helm-charts/vmpooler/values.yaml @@ -44,8 +44,7 @@ baseconfig_extras: {} # vmware_cluster2: 100 # vmware_cluster4: 180 -auth: - provider: 'dummy' +# auth: # provider: 'ldap' # :ldap: # host: 'ldap.example.com'