-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalues.yaml
More file actions
161 lines (146 loc) · 3.42 KB
/
Copy pathvalues.yaml
File metadata and controls
161 lines (146 loc) · 3.42 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
# Image configuration
image:
repository: nginx
pullPolicy: IfNotPresent
tag: ''
imagePullSecrets: []
# Deployment
replicaCount: 1
nameOverride: ''
fullnameOverride: ''
# Container config
container:
# Ports to expose on the container
# Format:
# - name: http
# containerPort: 80
# protocol: TCP
ports: []
env: []
command: []
args: []
# Health checks
healthChecks:
liveness:
enabled: false
type: httpGet
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
readiness:
enabled: false
type: httpGet
httpGet:
path: /
port: http
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3
# Service
service:
type: ClusterIP
port: 80
annotations: {}
# Gateway API (HTTPRoute)
# The backend port is automatically taken from service.port
httpRoute:
enabled: false
annotations: {}
# Use default gateways - automatically binds to all Gateways with defaultScope: All
# Set to "All" to use all default gateways, or leave empty/null to use parentRefs instead
useDefaultGateways: All
# Reference to specific Gateway(s) (used when useDefaultGateways is not set)
parentRefs: []
# - name: gateway
# namespace: gateway-system
# sectionName: http
# Hostnames to match (optional, at least one required for external access)
hostnames: []
# - example.com
# - api.example.com
# Additional backend refs for traffic splitting (optional)
additionalBackendRefs: []
# - name: canary-service
# namespace: default
# port: 80
# weight: 10
# HTTP routing rules (optional, defaults to routing all traffic to service)
rules: []
# - matches:
# - path:
# type: PathPrefix # PathPrefix, Exact, or RegularExpression
# value: /
# headers:
# - name: x-version
# value: v2
# queryParams:
# - name: debug
# value: 'true'
# method: GET
# filters:
# - type: RequestHeaderModifier
# requestHeaderModifier:
# add:
# - name: x-custom-header
# value: custom-value
# weight: 100
# Resources
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 250m
memory: 256Mi
# Autoscaling
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 80
# Persistence — managed PVCs created from values
# Each volume entry creates a PersistentVolumeClaim and wires a volumeMount + volume
persistence:
enabled: false
volumes: []
# - name: data
# mountPath: /var/data
# size: 10Gi
# storageClassName: fast-ssd # optional — omit to use cluster default
# accessMode: ReadWriteOnce # ReadWriteOnce | ReadWriteMany | ReadOnlyMany
# Storage — raw volume/volumeMount passthrough (advanced)
volumes: []
volumeMounts: []
# ServiceAccount
serviceAccount:
create: true
automount: true
annotations: {}
name: ''
# Security
podSecurityContext:
fsGroup: 2000
runAsNonRoot: true
runAsUser: 1000
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: false
runAsNonRoot: true
runAsUser: 1000
# Pod config
podAnnotations: {}
podLabels: {}
nodeSelector: {}
tolerations: []
affinity: {}
# Advanced
sidecars: []
initContainers: []