forked from norwoodj/helm-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
227 lines (207 loc) · 6.84 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
# -- Image map
image:
# -- Image registry
registry: docker.io
# -- Image repository
repository: lucernae/django-sample
# -- Image tag
tag: "3.1"
# -- Image pullPolicy
pullPolicy: IfNotPresent
# -- This key name is used for service interconnection between subcharts and parent charts.
global:
nameOverride: django
# -- (tpl/string) Name of existing secret
# @notationType -- tpl
existingSecret: |
# -- (string) Name of shared secret store that will be generated
sharedSecretName: django-shared-secret
# generic values
# -- (string) The site name. It will be used to construct url such as http://django/
siteName: django
# -- (tpl/array) The django entrypoint command to execute
# @notationType -- tpl
djangoCommand: |
["/opt/django/scripts/docker-entrypoint.sh"]
# -- (tpl/array) The django command args to be passed to entrypoint command
# @notationType -- tpl
djangoArgs: |
["uwsgi","--chdir=${REPO_ROOT}","--module=${MAIN_APP_NAME}.wsgi","--socket=:8000","--http=0.0.0.0:8080","--processes=5","--buffer-size=8192"]
# -- (string) Default super user admin username
adminUser: admin
adminPassword:
# -- (string) Specify this password value. If not, it will be autogenerated everytime chart upgraded
value:
valueFrom:
secretKeyRef:
name:
key: admin-password
# -- (string/email) Default admin email sender
# @notationType -- email
adminEmail: admin@localhost
djangoSecretKey:
# -- (string) Specify this Django Secret string value. If not, it will be autogenerated everytime chart upgraded
value:
valueFrom:
secretKeyRef:
name:
key: django-secret
# -- (string) Database username backend to connect to. If you use external backend, provide the value
databaseUsername: django_db_user
databasePassword:
# -- (string) Specify this password value. If not, it will be autogenerated everytime chart upgraded. If you use external backend, you must provide the value
value:
valueFrom:
secretKeyRef:
name:
key: database-password
# -- (string) Django database name
databaseName: django
# -- (string) Django database host location. By default this chart can generate standard postgres chart. So you can leave it as default. If you use external backend, you must provide the value
databaseHost: postgis
# -- (int) Django database port. By default this chart can generate standard postgres chart. So you can leave it as default. If you use external backend, you must provide the value
databasePort: 5432
# -- (string) Python boolean literal, this will correspond to `DEBUG` environment variable inside the Django container. Useful as a debug switch.
debug: "False"
# -- (string) The main app name to execute. Affects which settings, wsgi, and rootURL to use.
mainAppName: django
# -- (string) Django settings module to be used
djangoSettingsModule: django.settings
# -- (string) Django root URL conf to be used
rootURLConf: django.urls
# -- (path) Location to the static directory
staticRoot: /opt/django/static
# -- (path) Location to the media directory
mediaRoot: /opt/django/media
# -- (map) The deployment label
# @notationType -- yaml
labels:
user/workload: "true"
client-name: "my-boss"
project-name: "awesome-project"
# -- (tpl/array) Define this for extra Django environment variables
# @notationType -- tpl
extraPodEnv: |
- name: DJANGO_SETTINGS_MODULE
value: "django.settings"
- name: DEBUG
value: {{ .Values.global.debug | quote }}
- name: ROOT_URLCONF
value: {{ .Values.global.rootURLConf | quote }}
- name: MAIN_APP_NAME
value: {{ .Values.global.mainAppName | quote }}
# -- (tpl/object) This will be evaluated as pod spec
# @notationType -- tpl
extraPodSpec: |
# nodeSelector:
# a.label: value
# -- (tpl/dict) Define this for extra secrets to be included in django-shared-secret secret
# @notationType -- tpl
extraSecret: |
# key_1: value_1
# -- (tpl/dict) Define this for extra config map to be included in django-shared-config
# @notationType -- tpl
extraConfigMap: |
# file_1: conf content
# -- (tpl/array) Define this for extra volume mounts in the pod
# @notationType -- tpl
extraVolumeMounts: |
# You may potentially mount a config map/secret
# - name: custom-config
# mountPath: /docker-entrypoint.sh
# subPath: docker-entrypoint.sh
# readOnly: true
# -- (tpl/array) Define this for extra volume (in pair with extraVolumeMounts)
# @notationType -- tpl
extraVolume: |
# You may potentially mount a config map/secret
# - name: custom-config
# configMap:
# name: geonode-config
service:
# -- (string) Define k8s service for Django.
type: ClusterIP
# -- (string) Specify `None` for headless service. Otherwise, leave them be.
clusterIP: ""
# -- (tpl/array) Specify for LoadBalancer service type
# @notationType -- tpl
externalIPs: |
# -- (int) Specify service port
port: 80
# -- (int) Specify node port, for NodePort service type
nodePort:
# -- (dict) Extra service annotations
annotations: {}
ingress:
# -- (bool) Set to true to generate Ingress resource
enabled: false
# -- (tpl/string) Set custom host name. (DNS name convention)
# @notationType -- tpl
host: |
# -- (dict) Custom Ingress annotations
annotations: {}
# -- (dict) Custom Ingress labels
labels: {}
tls:
# -- (bool) Set to true to enable HTTPS
enabled: false
# -- (string) You must provide a secret name where the TLS cert is stored
secretName: django-tls
# -- (tpl/object) Probe can be overridden
# @notationType -- tpl
probe: |
postgis:
# -- (bool) Enable postgis as database backend by default. Set to false if using different external backend.
enabled: true
# -- (tpl/string) Existing secret to be used
# @notationType -- tpl
existingSecret: |
{{ include "common.sharedSecretName" . | quote -}}
persistence:
staticDir:
# -- (bool) Allow persistence
enabled: true
existingClaim: false
mountPath: /opt/django/static
subPath: "static"
size: 8Gi
# -- (k8s/storage/persistent-volume/access-modes) Static Dir access modes
# @notationType -- yaml
accessModes:
- ReadWriteOnce
annotations: {}
mediaDir:
# -- (bool) Allow persistence
enabled: true
existingClaim: false
mountPath: /opt/django/media
subPath: "media"
size: 8Gi
accessModes:
- ReadWriteOnce
annotations: {}
# -- (dict) Values with long description
# @raw
# Sometimes you need a very long description
# for your values.
#
# Any comment section for a given key with **@raw** attribute
# will be treated as raw string and stored as is.
# Since it generates in Markdown format, you can do something like this:
#
# ```yaml
# hello:
# bar: true
# ```
#
# Markdown also accept subset of HTML tags. So you can also do this:
#
# <details>
# <summary>+Expand</summary>
#
# ```bash
# execute some command
# ```
#
# </details>
sampleYaml: {}