Skip to content

Commit

Permalink
change proxy config to secret
Browse files Browse the repository at this point in the history
  • Loading branch information
MrEsL committed Nov 13, 2024
1 parent 3ad8ba2 commit f498aa6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkg/app/sso/tmpl/central/dep.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ spec:
{{- end }}
volumes:
- name: "proxy-config"
configMap:
name: "proxy-config"
secret:
secretName: "proxy-config"
- name: "private-key"
secret:
secretName: {{ .Spec.SSO.Pki.PrivateKeySecret }}
4 changes: 2 additions & 2 deletions pkg/app/sso/tmpl/central/proxycfg.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kind: ConfigMap
kind: Secret
apiVersion: v1
metadata:
name: proxy-config
Expand All @@ -7,7 +7,7 @@ metadata:
mlops.cnvrg.io/default-loader: "false"
mlops.cnvrg.io/own: "true"
mlops.cnvrg.io/updatable: "false"
data:
stringData:
conf: |-
http_address = "0.0.0.0:8080"
upstreams = [
Expand Down

0 comments on commit f498aa6

Please sign in to comment.