110 lines
2.2 KiB
YAML
110 lines
2.2 KiB
YAML
service:
|
|
main:
|
|
enabled: true
|
|
primary: true
|
|
ports:
|
|
main:
|
|
enabled: true
|
|
primary: true
|
|
protocol: http
|
|
port: 8080
|
|
|
|
workload:
|
|
main:
|
|
enabled: true
|
|
primary: true
|
|
type: Deployment
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
enabled: true
|
|
primary: true
|
|
args:
|
|
- --port
|
|
- "8080"
|
|
probes:
|
|
liveness:
|
|
enabled: true
|
|
type: http
|
|
port: "{{ .Values.service.main.ports.main.port }}"
|
|
readiness:
|
|
enabled: true
|
|
type: http
|
|
port: "{{ .Values.service.main.ports.main.port }}"
|
|
startup:
|
|
enabled: true
|
|
type: http
|
|
port: "{{ .Values.service.main.ports.main.port }}"
|
|
workload2:
|
|
enabled: true
|
|
primary: false
|
|
type: Deployment
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
enabled: true
|
|
primary: true
|
|
args:
|
|
- --port
|
|
- "8080"
|
|
probes:
|
|
liveness:
|
|
enabled: true
|
|
type: http
|
|
port: "{{ .Values.service.main.ports.main.port }}"
|
|
readiness:
|
|
enabled: true
|
|
type: http
|
|
port: "{{ .Values.service.main.ports.main.port }}"
|
|
startup:
|
|
enabled: true
|
|
type: http
|
|
port: "{{ .Values.service.main.ports.main.port }}"
|
|
|
|
rbac:
|
|
main:
|
|
enabled: true
|
|
primary: true
|
|
clusterWide: true
|
|
allServiceAccounts: true
|
|
labels:
|
|
key: value
|
|
key1: value1
|
|
annotations:
|
|
key: value
|
|
key1: value1
|
|
rules:
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- services
|
|
- endpoints
|
|
- secrets
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- pods
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
|
|
serviceAccount:
|
|
sa-name:
|
|
enabled: true
|
|
primary: true
|
|
labels:
|
|
key: value
|
|
key2: value
|
|
annotations:
|
|
key: value
|
|
key2: value
|
|
other-sa-name:
|
|
enabled: true
|
|
targetSelector:
|
|
- workload2
|