common-helm-lib/values.yaml

146 lines
4.0 KiB
YAML
Raw Normal View History

2024-10-15 14:19:57 +00:00
---
2024-10-18 07:30:07 +00:00
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
2024-10-15 14:19:57 +00:00
image:
2024-10-18 07:30:07 +00:00
repository: # container image name
pullPolicy: IfNotPresent # kubernetes pull policy
2024-10-18 07:30:07 +00:00
tag: "" # Overrides the image tag whose default is the chart appVersion.
2024-10-15 14:19:57 +00:00
2024-10-18 07:30:07 +00:00
fullnameOverride: "" # override the name of the helm release
2024-10-15 14:19:57 +00:00
2024-10-18 07:30:07 +00:00
service: # services that should be created
2024-10-15 14:19:57 +00:00
main:
2024-10-18 07:30:07 +00:00
enabled: false
2024-10-15 14:19:57 +00:00
type: ClusterIP
annotations: {}
labels: {}
2024-10-18 05:56:18 +00:00
ports:
2024-10-15 14:19:57 +00:00
# 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)
2024-10-18 05:56:18 +00:00
# nodePort:
2024-10-15 14:19:57 +00:00
ingress:
2024-10-18 05:56:18 +00:00
enabled: false
2024-10-18 07:30:07 +00:00
service: main # what service should the ingress target
2024-10-18 05:56:18 +00:00
#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
2024-10-18 07:30:07 +00:00
resources: {}
2024-10-15 14:19:57 +00:00
# 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
2024-10-18 07:30:07 +00:00
secrets: {} # Secrets that needs to be created
2024-10-18 05:56:18 +00:00
# secrets:
2024-10-18 07:30:07 +00:00
# <name>:
2024-10-18 05:56:18 +00:00
# type: #default Opaque
# annotations: {}
# labels: {}
2024-10-18 07:30:07 +00:00
# env: false #should template load each key in the seacret as
2024-10-18 05:56:18 +00:00
# data:
# KEY: VALUE
2024-10-18 07:30:07 +00:00
configs: {} # ConfigMaps that needs to be created
2024-10-18 05:56:18 +00:00
# configs:
2024-10-18 07:30:07 +00:00
# <name>:
2024-10-18 05:56:18 +00:00
# annotations: {}
# labels: {}
2024-10-18 07:30:07 +00:00
# env: false #should template load each key in the seacret as
2024-10-18 05:56:18 +00:00
# data:
# KEY: VALUE
2024-10-18 14:39:39 +00:00
env: # environment variables the controller should have
TZ: Europe/Stockholm
2024-10-15 14:19:57 +00:00
# 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
2024-10-18 07:30:07 +00:00
volumeClaimTemplates: [] # used for statefulset https://kubernetes.io/docs/concepts/workloads/controllers/statefulset
2024-10-18 06:48:05 +00:00
#volumeClaimTemplates:
# - name: www
# mountPath: /var/www/html
# accessModes: "ReadWriteOnce"
# storageClassName: "my-storage-class"
# size: 1Gi
2024-10-18 05:56:18 +00:00
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: {}
2024-10-15 14:19:57 +00:00
nodeSelector: {}
tolerations: []
affinity: {}