-
Notifications
You must be signed in to change notification settings - Fork 26
/
values.yaml
138 lines (118 loc) · 2.71 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
# Default values for microservice.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
global:
replicaCount: 1
environment: {}
# list of key: value
# GLOBAL1: value
## Set default image, imageTag, and imagePullPolicy.
## ref: https://hub.docker.com/r/apache/nifi/
##
image:
repository: "crccheck/hello-world"
tag: "latest"
pullPolicy: IfNotPresent
#replicaCount: 1
# command: ["/bin/sh","-c"]
# args: ["echo 'consuming a message'; sleep 5"]
nameOverride: ""
fullnameOverride: ""
## 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: [email protected]
#serviceAccount: microservice-sa
createServiceAccount: true
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
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
volumes:
enabled: true
pvc:
enabled: false
existing_claim:
name: pvc
mountPath: /pv
size: 1G
class:
accessModes:
- ReadWriteOnce
# configFileCommonHeader: |
# line1
# line2
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
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
servicePort: 8000
serviceName: web
path: /
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources:
limits:
cpu: 2
memory: 2000Mi
requests:
cpu: 500m
memory: 500Mi