3437982b0ab43bf46a8533cdb02d2345b198cf15
[demo.git] / tutorials / ApacheCNF / templates / cba / Templates / k8s-configs / deployment-config / values.yaml
1 ## Global Docker image parameters
2 ## Please, note that this will override the image parameters, including dependencies, configured to use the global value
3 ## Current available global Docker image parameters: imageRegistry and imagepullSecrets
4 ##
5 # global:
6 #   imageRegistry: myRegistryName
7 #   imagePullSecrets:
8 #     - myRegistryKeySecretName
9
10 ## Bitnami Apache image version
11 ## ref: https://hub.docker.com/r/bitnami/apache/tags/
12 ##
13 image:
14   registry: docker.io
15   repository: bitnami/apache
16   tag: 2.4.46-debian-10-r62
17   ## Specify a imagePullPolicy
18   ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
19   ##
20   pullPolicy: IfNotPresent
21   ## Optionally specify an array of imagePullSecrets.
22   ## Secrets must be manually created in the namespace.
23   ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
24   ##
25   # pullSecrets:
26   #   - myRegistryKeySecretName
27
28   ## Set to true if you would like to see extra information on logs
29   ## ref:  https://github.com/bitnami/minideb-extras/#turn-on-bash-debugging
30   ##
31   debug: false
32
33 ## Bitnami Git image version
34 ## ref: https://hub.docker.com/r/bitnami/git/tags/
35 ##
36 git:
37   registry: docker.io
38   repository: bitnami/git
39   tag: 2.29.0-debian-10-r0
40   pullPolicy: IfNotPresent
41   ## Optionally specify an array of imagePullSecrets.
42   ## Secrets must be manually created in the namespace.
43   ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
44   ##
45   # pullSecrets:
46   #   - myRegistryKeySecretName
47
48 ## String to partially override apache.fullname template (will maintain the release name)
49 ##
50 # nameOverride:
51
52 ## String to fully override apache.fullname template
53 ##
54 # fullnameOverride:
55
56 ## Number of Apache replicas to deploy
57 ##
58 replicaCount: 1
59
60 ## Pod affinity preset
61 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
62 ## Allowed values: soft, hard
63 ##
64 podAffinityPreset: ""
65
66 ## Pod anti-affinity preset
67 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
68 ## Allowed values: soft, hard
69 ##
70 podAntiAffinityPreset: soft
71
72 ## Node affinity preset
73 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
74 ## Allowed values: soft, hard
75 ##
76 nodeAffinityPreset:
77   ## Node affinity type
78   ## Allowed values: soft, hard
79   type: ""
80   ## Node label key to match
81   ## E.g.
82   ## key: "kubernetes.io/e2e-az-name"
83   ##
84   key: ""
85   ## Node label values to match
86   ## E.g.
87   ## values:
88   ##   - e2e-az1
89   ##   - e2e-az2
90   ##
91   values: []
92
93 ## Affinity for pod assignment
94 ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
95 ## Note: podAffinityPreset, podAntiAffinityPreset, and  nodeAffinityPreset will be ignored when it's set
96 ##
97 affinity: {}
98
99 ## Node labels for pod assignment
100 ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
101 ##
102 nodeSelector: {}
103
104 ## Tolerations for pod assignment
105 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
106 ##
107 tolerations: []
108
109 ## Get the server static content from a git repository
110 ##
111 cloneHtdocsFromGit:
112   enabled: false
113   # repository:
114   # branch:
115   interval: 60
116   resources: {}
117
118 ## Name of a config map with the server static content
119 ##
120 # htdocsConfigMap:
121
122 ## Name of a PVC with the server static content
123 ##
124 # htdocsPVC:
125
126 ## Name of a config map with the virtual hosts content
127 ##
128 # vhostsConfigMap:
129
130 ## Name of a config map with the httpd.conf file contents
131 ##
132 # httpdConfConfigMap:
133
134 ## Pod annotations
135 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
136 ##
137 podAnnotations: {}
138
139 ## Apache pods' resource requests and limits
140 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
141 ##
142 resources:
143   # We usually recommend not to specify default resources and to leave this as a conscious
144   # choice for the user. This also increases chances charts run on environments with little
145   # resources, such as Minikube. If you do want to specify resources, uncomment the following
146   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
147   limits: {}
148   #   cpu: 100m
149   #   memory: 128Mi
150   requests: {}
151   #   cpu: 100m
152   #   memory: 128Mi
153
154 ## Apache container's liveness and readiness probes
155 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
156 ##
157 livenessProbe:
158   enabled: true
159   path: "/"
160   port: http
161   initialDelaySeconds: 180
162   periodSeconds: 20
163   timeoutSeconds: 5
164   failureThreshold: 6
165   successThreshold: 1
166 readinessProbe:
167   enabled: true
168   path: "/"
169   port: http
170   initialDelaySeconds: 30
171   periodSeconds: 10
172   timeoutSeconds: 5
173   failureThreshold: 6
174   successThreshold: 1
175
176 ## Ingress paramaters
177 ##
178 ingress:
179   ## Set to true to enable ingress record generation
180   ##
181   enabled: false
182
183   ## Set this to true in order to add the corresponding annotations for cert-manager
184   ##
185   certManager: false
186
187   ## When the ingress is enabled, a host pointing to this will be created
188   ##
189   hostname: example.local
190
191   ## Ingress annotations done as key:value pairs
192   ## For a full list of possible ingress annotations, please see
193   ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md
194   ##
195   ## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set
196   ## If certManager is set to true, annotation kubernetes.io/tls-acme: "true" will automatically be set
197   annotations: {}
198   #  kubernetes.io/ingress.class: nginx
199
200   ## The list of additional hostnames to be covered with this ingress record.
201   ## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
202   ## hosts:
203   ## - name: example.local
204   ##   path: /
205
206   ## The tls configuration for the ingress
207   ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
208   ##
209   tls:
210     - hosts:
211         - example.local
212       secretName: example.local-tls
213
214   secrets:
215   ## If you're providing your own certificates, please use this to add the certificates as secrets
216   ## key and certificate should start with -----BEGIN CERTIFICATE----- or
217   ## -----BEGIN RSA PRIVATE KEY-----
218   ##
219   ## name should line up with a tlsSecret set further up
220   ## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
221   ##
222   ## It is also possible to create and manage the certificates outside of this helm chart
223   ## Please see README.md for more information
224   # - name: apache.local-tls
225   #   key:
226   #   certificate:
227
228 ## Prometheus Exporter / Metrics
229 ##
230 metrics:
231   enabled: false
232   ## Bitnami Apache Prometheus Exporter image
233   ## ref: https://hub.docker.com/r/bitnami/apache-exporter/tags/
234   ##
235   image:
236     registry: docker.io
237     repository: bitnami/apache-exporter
238     tag: 0.8.0-debian-10-r186
239     pullPolicy: IfNotPresent
240     ## Optionally specify an array of imagePullSecrets.
241     ## Secrets must be manually created in the namespace.
242     ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
243     ##
244     # pullSecrets:
245     #   - myRegistryKeySecretName
246   ## Metrics exporter pod Annotation and Labels
247   ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
248   ##
249   podAnnotations:
250     prometheus.io/scrape: "true"
251     prometheus.io/port: "9117"
252   ## Apache Prometheus exporter resource requests and limits
253   ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
254   ##
255   resources:
256     # We usually recommend not to specify default resources and to leave this as a conscious
257     # choice for the user. This also increases chances charts run on environments with little
258     # resources, such as Minikube. If you do want to specify resources, uncomment the following
259     # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
260     limits: {}
261     #   cpu: 100m
262     #   memory: 128Mi
263     requests: {}
264     #   cpu: 100m
265     #   memory: 128Mi
266
267 ## Array to add extra volumes (evaluated as a template)
268 ##
269 extraVolumes: []
270
271 ## Array to add extra mounts (normally used with extraVolumes, evaluated as a template)
272 ##
273 extraVolumeMounts: []
274
275 ## An array to add extra env vars
276 ##
277 extraEnvVars: []
278
279 ## Service paramaters
280 ##
281 service:
282   ## Service type
283   ##
284   type: LoadBalancer
285   ## HTTP Port
286   ##
287   port: 80
288   ## HTTPS Port
289   ##
290   httpsPort: 443
291   ## Specify the nodePort(s) value(s) for the LoadBalancer and NodePort service types.
292   ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
293   ##
294   nodePorts:
295     http: ""
296     https: ""
297   ## Set the LoadBalancer service type to internal only.
298   ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
299   ##
300   # loadBalancerIP:
301   ## Provide any additional annotations which may be required. This can be used to
302   ## set the LoadBalancer service type to internal only.
303   ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
304   ##
305   annotations: {}
306
307   ## Enable client source IP preservation
308   ## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
309   ##
310   externalTrafficPolicy: Cluster