Skip to content

Commit 80b47f5

Browse files
committed
enableOauth is enabled by default
1 parent 4e8bcf0 commit 80b47f5

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ windmill:
6969
databaseUrl: postgres://postgres:changeme@postgres/windmill?sslmode=disable
7070
# -- Oauth configuration for logins and connections. e.g of values
7171
# "github": {
72-
# "id": "asdfasdf",
73-
# "secret": "asdfasdfasdf"
72+
# "id": "clientid",
73+
# "secret": "clientsecret",
7474
# }
7575
oauthConfig: |
7676
{}

charts/windmill/templates/deploy_windmill.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,10 @@ spec:
2929
preStop:
3030
exec:
3131
command: ["/bin/sh", "-c", "sleep 30"]
32-
{{ if .Values.windmill.enableOauth }}
3332
volumeMounts:
3433
- name: config-volume
3534
mountPath: /usr/src/app/oauth.json
3635
subPath: oauth.json
37-
{{ end }}
3836
{{ if .Values.enterprise.enabled }}
3937
image: ghcr.io/windmill-labs/windmill-ee
4038
{{ else }}
@@ -81,14 +79,12 @@ spec:
8179
value: "{{ .Values.windmill.pythonPath }}"
8280
- name: "NSJAIL_PATH"
8381
value: "{{ .Values.windmill.nsjailPath }}"
84-
{{ if .Values.windmill.enableOauth }}
8582
volumes:
8683
- name: config-volume
8784
configMap:
8885
# Provide the name of the ConfigMap containing the files you want
8986
# to add to the container
9087
name: windmill-configmap
91-
{{ end }}
9288
securityContext:
9389
runAsUser: 0
9490
---

0 commit comments

Comments
 (0)