88 lines
1.9 KiB
YAML
88 lines
1.9 KiB
YAML
controller:
|
|
kind: Deployment # Deployment | StatefulSet
|
|
|
|
app:
|
|
name: generic
|
|
fullnameOverride: ""
|
|
replicas: 1
|
|
image:
|
|
repository: nginx
|
|
tag: "latest"
|
|
pullPolicy: IfNotPresent
|
|
|
|
podAnnotations: {}
|
|
podLabels: {}
|
|
|
|
podSecurityContext: {}
|
|
securityContext: {}
|
|
|
|
env: [] # [{ name: FOO, value: "bar" }]
|
|
envFrom: [] # [{ secretRef: { name: mysecret } }, { configMapRef: { name: mycm } }]
|
|
|
|
ports:
|
|
- { name: http, containerPort: 80, servicePort: 80 }
|
|
|
|
persistence:
|
|
enabled: false
|
|
existingClaim: ""
|
|
name: "" # auto-create PVC name; default <fullname>-pvc
|
|
storageClass: "" # e.g. managed-csi / azurefile-csi
|
|
accessModes: ["ReadWriteOnce"]
|
|
size: 10Gi
|
|
mountPath: /data
|
|
|
|
extraVolumes: [] # e.g. [{ name: extra, persistentVolumeClaim:{ claimName: mypvc }}]
|
|
extraVolumeMounts: [] # e.g. [{ name: extra, mountPath: /mnt/extra }]
|
|
initContainers: []
|
|
sidecars: []
|
|
|
|
service:
|
|
enabled: true
|
|
type: ClusterIP
|
|
annotations: {}
|
|
labels: {}
|
|
externalTrafficPolicy: Cluster
|
|
ports:
|
|
- { name: http, port: 80, targetPort: 80 }
|
|
|
|
ingress:
|
|
enabled: false
|
|
className: ""
|
|
annotations: {}
|
|
hosts: [] # [{ host: example.com, paths: [{ path: /, pathType: Prefix, servicePortName: http }] }]
|
|
tls: [] # [{ hosts: [example.com], secretName: example-tls }]
|
|
|
|
hpa:
|
|
enabled: false
|
|
minReplicas: 2
|
|
maxReplicas: 10
|
|
cpu:
|
|
averageUtilization: 65
|
|
memory:
|
|
enabled: false
|
|
averageUtilization: 70
|
|
|
|
pdb:
|
|
enabled: false
|
|
minAvailable: 1
|
|
|
|
networkPolicy:
|
|
enabled: false
|
|
ingress: [] # e.g. [{ from: [{ podSelector: {} }], ports: [{ port: 80, protocol: TCP }] }]
|
|
|
|
serviceAccount:
|
|
create: false
|
|
name: ""
|
|
|
|
configMap:
|
|
enabled: false
|
|
name: ""
|
|
data: {} # key: value
|
|
|
|
secret:
|
|
enabled: false
|
|
name: ""
|
|
stringData: {} # key: value (not base64)
|
|
|
|
# --- Example environment-specific files will override this file ---
|