forked from cetic/helm-microservice
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathvalues.yaml
More file actions
235 lines (198 loc) · 5.15 KB
/
values.yaml
File metadata and controls
235 lines (198 loc) · 5.15 KB
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
228
229
230
231
232
233
234
235
# Copyright 2022 github.com/cetic
# Default values for microservice.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
global:
## If you use `deployment: false` (meaning you are using StatefulSet) set this to 1 or 0
replicaCount: 1
environment: {}
# list of key: value
# GLOBAL1: value
## Set this value to true to use Deployment object.
## If you need StatefulSet set this to false.
deployment: true
## If you neeed your pod to have the same network as its host,
## set this to true
hostNetwork: false
## Set default image, imageTag, and imagePullPolicy.
image:
repository: ""
tag: ""
pullPolicy: IfNotPresent
#replicaCount: 1
# setCommand: true
# args: "echo 'consuming a message'; sleep 5"
nameOverride: ""
fullnameOverride: ""
## Pod Labels
# podLabels: {}
## Optionally specify an imagePullSecret.
## Secret must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
#imagePullSecrets: myRegistrKeySecretName
imageCredentials: {}
# registry: https://index.docker.io/v1/
# username: username
# password: password
# email: tsorage@cetic.be
#serviceAccount: microservice-sa
createServiceAccount: false
rbac: false
# Annotation for the Deployment
annotations: {}
# List of services
services: []
# - name: web
# type: ClusterIP
# annotations: {}
# specs:
# - port: 8000
# targetPort: 8000
# name: http
#targetPort: is the port the container accepts traffic on,
#port: is the abstracted Service port, which can be any port other pods use to access the Service
#https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#serviceport-v1-core
## Use a secret that you have created to
## provide environment variables for the pod.
## The secret data must be in `key: value` format.
secretEnv:
enabled: false
secretNames:
- secretOne
- secretTwo
environment: {}
# VAR1: value1
#Probes
liveness:
enabled: false
path: /alive
port: 8001
initialDelaySeconds: 3
periodSeconds: 3
readiness:
enabled: false
path: /ready
port: 8001
initialDelaySeconds: 5
periodSeconds: 5
failureThreshold: 3
updateStrategy: {}
## For stateless apps, Default
# type: RollingUpdate
# rollingUpdate: {}
## For stateful apps
## It is recommended to set `deployment: false` for
## stateful apps and not use updateStrategy at all
# type: Recreate
volumes:
enabled: false
pvc:
enabled: false
## if this is not null the name will be
## ignored and no pvc will be created
existingClaim: null
name: my-data
mountPath: /pv
# if subPath is used mountPath must be empty
subPaths:
- mountPath: /data
subPath: data
- mountPath: /var/lib/logs
subPath: logs
size: 1G
class:
## Annotations to add to the PVC
annotations: {}
# example.com/key: value
# backup.velero.io/backup-volumes: data
accessModes:
- ReadWriteOnce
## Use secrets to mount file into a Pod
## The Secret objects must be created before deploying this chart
## If you use subPath the key in Secret must be same as subPath value
## Refer to https://kubernetes.io/docs/concepts/configuration/secret/#use-case-dotfiles-in-a-secret-volume for more info
secrets: []
# - name: test-secret
# mountPath: /test-secret
# - name: test-secret-2
# mountPath: /etc/myfile.conf
# subPath: myfile.conf
configMaps: []
# - name: test
# mountPath: /test
# data:
# test.conf: |
# hello
# hello2
# - name: test-from-file
# mountPath: /test2
# files:
# - source: config.conf
# destination: application.conf
# - name: test-mixed
# mountPath: /test3
# data:
# test2.conf: |
# another hello
# files:
# - source: config.conf
# destination: application2.conf
# - name: test3
# mountPath: /test3/myfilename.conf
# subPath: myfilename.conf
# data:
# myfilename.conf: |
# hello
# hello2
automountServiceAccountToken: false
# set dns config for the Pod
dnsConfig: {}
dnsPolicy: null
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
servicePort: 8000
serviceName: web
path: /
pathType: Prefix
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
serviceMonitors: []
# - name: service-monitor-1
# serviceName: service-1
# endPoints:
# - port: metrics
# interval: 15s
# path: /metrics
## The secret has to be created by user
# authorization:
# type: Bearer
# credentials:
# name: bearer-token-secret-name
# key: token
nodeSelector: {}
tolerations: []
affinity: {}
resources: {}
# limits:
# cpu: 100m
# memory: 200Mi
# requests:
# cpu: 100m
# memory: 200Mi
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000