Skip to content
Snippets Groups Projects
Commit 6080615c authored by Alex Ellis (OpenFaaS Ltd)'s avatar Alex Ellis (OpenFaaS Ltd)
Browse files

Remove basic-auth-plugin for CE


This is no longer required as it's built into the CE gateway.

Signed-off-by: default avatarAlex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
parent 0d175533
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@ To verify that openfaas has started, run:
kubectl -n {{ .Release.Namespace }} get deployments -l "release={{ .Release.Name }}, app={{ template "openfaas.name" . }}"
{{- if .Values.generateBasicAuth }}
To retrieve the admin password, run:
echo $(kubectl -n {{ .Release.Namespace }} get secret basic-auth -o jsonpath="{.data.basic-auth-password}" | base64 --decode)
......
{{- $functionNs := default .Release.Namespace .Values.functionNamespace }}
{{- if .Values.basic_auth }}
{{- if .Values.openfaasPro }}
{{- if not .Values.oidcAuthPlugin.enabled }}
---
apiVersion: apps/v1
......@@ -104,3 +105,4 @@ spec:
{{- end }}
{{- end }}
{{- end }}
\ No newline at end of file
......@@ -164,12 +164,14 @@ spec:
- name: auth_pass_body
value: "false"
{{- else }}
{{- if .Values.openfaasPro }}
- name: auth_proxy_url
value: "http://basic-auth-plugin.{{ .Release.Namespace }}:8080/validate"
- name: auth_pass_body
value: "false"
{{- end }}
{{- end }}
{{- end }}
- name: scale_from_zero
value: "{{ .Values.gateway.scaleFromZero }}"
- name: max_idle_conns
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment