common-helm-lib/values.yaml
2024-10-18 09:30:07 +02:00

146 lines
4.0 KiB
YAML

---
namespace: default # namespace to install to
controller: # main workload
enabled: true # should the main workload be included or not
type: deployment # valid options are deployment, statefulset, job
replicas: 1 # number of replicas
image:
repository: # container image name
pullPolicy: # kubernetes pull policy
tag: "" # Overrides the image tag whose default is the chart appVersion.
fullnameOverride: "" # override the name of the helm release
service: # services that should be created
main:
enabled: false
type: ClusterIP
annotations: {}
labels: {}
ports:
# http:
# # -- Enables or disables the port
# enabled: false#
#
# # -- The port number
# port:
#
# # -- Port protocol.
# # Support values are `HTTP`, `HTTPS`, `TCP` and `UDP`.
# # HTTPS and HTTPS spawn a TCP service and get used for internal URL and name generation
# protocol: HTTP
#
# # -- Specify a service targetPort if you wish to differ the service port from the application port.
# # If `targetPort` is specified, this port number is used in the container definition instead of
# # the `port` value. Therefore named ports are not supported for this field.
# targetPort:
#
# # -- Specify the nodePort value for the LoadBalancer and NodePort service types.
# # [[ref]](https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport)
# nodePort:
ingress:
enabled: false
service: main # what service should the ingress target
#Service to target
servicePort: 80
className: ""
annotations:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 5
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
secrets: {} # Secrets that needs to be created
# secrets:
# <name>:
# type: #default Opaque
# annotations: {}
# labels: {}
# env: false #should template load each key in the seacret as
# data:
# KEY: VALUE
configs: {} # ConfigMaps that needs to be created
# configs:
# <name>:
# annotations: {}
# labels: {}
# env: false #should template load each key in the seacret as
# data:
# KEY: VALUE
env: {} # environment variables the controller should have
# Additional volumes on the output Deployment definition.
volumes: []
# - name: foo
# secret:
# secretName: mysecret
# optional: false
# Additional volumeMounts on the output Deployment definition.
volumeMounts: []
# - name: foo
# mountPath: "/etc/foo"
# readOnly: true
volumeClaimTemplates: [] # used for statefulset https://kubernetes.io/docs/concepts/workloads/controllers/statefulset
#volumeClaimTemplates:
# - name: www
# mountPath: /var/www/html
# accessModes: "ReadWriteOnce"
# storageClassName: "my-storage-class"
# size: 1Gi
serviceAccount:
# Specifies whether a service account should be created
create: true
# Automatically mount a ServiceAccount's API credentials?
automount: 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: ""
livenessProbe: {}
readinessProbe: {}
nodeSelector: {}
tolerations: []
affinity: {}