149 lines
2.6 KiB
YAML
149 lines
2.6 KiB
YAML
# Default values for CHARTNAME.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: nginx
|
|
pullPolicy: IfNotPresent
|
|
# Overrides the image tag whose default is the chart appVersion.
|
|
tag: ""
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
serviceAccount:
|
|
# Specifies whether a service account should be created
|
|
create: true
|
|
# Annotations to add to the service account
|
|
annotations: {}
|
|
# The name of the service account to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name: ""
|
|
|
|
podAnnotations: {}
|
|
|
|
podSecurityContext:
|
|
fsGroup: 2000
|
|
|
|
securityContext:
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
readOnlyRootFilesystem: true
|
|
runAsNonRoot: true
|
|
runAsUser: 1000
|
|
allowPrivilegeEscalation: false
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 80
|
|
annotations: {}
|
|
# For LoadBalancer type
|
|
# loadBalancerIP: ""
|
|
# For NodePort type
|
|
# nodePort: 30000
|
|
|
|
ingress:
|
|
enabled: false
|
|
className: ""
|
|
annotations: {}
|
|
# kubernetes.io/ingress.class: nginx
|
|
# cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
hosts:
|
|
- host: chart-example.local
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls: []
|
|
# - secretName: chart-example-tls
|
|
# hosts:
|
|
# - chart-example.local
|
|
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 256Mi
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
|
|
livenessProbe:
|
|
enabled: true
|
|
path: /healthz
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
successThreshold: 1
|
|
failureThreshold: 3
|
|
|
|
readinessProbe:
|
|
enabled: true
|
|
path: /ready
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
successThreshold: 1
|
|
failureThreshold: 3
|
|
|
|
autoscaling:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 100
|
|
targetCPUUtilizationPercentage: 80
|
|
# targetMemoryUtilizationPercentage: 80
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|
|
|
|
env: []
|
|
# - name: ENVIRONMENT
|
|
# value: "production"
|
|
|
|
volumeMounts: []
|
|
# - name: config
|
|
# mountPath: /etc/config
|
|
|
|
volumes: []
|
|
# - name: config
|
|
# configMap:
|
|
# name: my-config
|
|
|
|
configMap:
|
|
enabled: false
|
|
data: {}
|
|
# key1: value1
|
|
# key2: value2
|
|
|
|
# For StatefulSet deployments
|
|
persistence:
|
|
enabled: false
|
|
storageClass: ""
|
|
size: 8Gi
|
|
|
|
# For Job workloads
|
|
job:
|
|
backoffLimit: 4
|
|
activeDeadlineSeconds: 600
|
|
ttlSecondsAfterFinished: 86400
|
|
restartPolicy: OnFailure
|
|
command: []
|
|
args: []
|
|
|
|
# For CronJob workloads
|
|
cronJob:
|
|
schedule: "0 0 * * *"
|
|
concurrencyPolicy: Forbid
|
|
successfulJobsHistoryLimit: 3
|
|
failedJobsHistoryLimit: 1
|
|
backoffLimit: 4
|
|
activeDeadlineSeconds: 600
|
|
restartPolicy: OnFailure
|
|
command: []
|
|
args: []
|