315 lines
8.6 KiB
YAML
315 lines
8.6 KiB
YAML
|
# type: options are deployment, daemonset or statefulset
|
||
|
controllerType: deployment
|
||
|
# Set annotations on the deployment/statefulset/daemonset
|
||
|
controllerAnnotations: {}
|
||
|
# Set labels on the deployment/statefulset/daemonset
|
||
|
controllerLabels: {}
|
||
|
|
||
|
replicas: 1
|
||
|
strategy:
|
||
|
## For Deployments, valid values are Recreate and RollingUpdate
|
||
|
## For StatefulSets, valid values are OnDelete and RollingUpdate
|
||
|
## DaemonSets ignore this
|
||
|
type: RollingUpdate
|
||
|
|
||
|
# Override the default command
|
||
|
command: []
|
||
|
# Override the default args
|
||
|
args: []
|
||
|
|
||
|
nameOverride: ""
|
||
|
fullnameOverride: ""
|
||
|
|
||
|
# Set annotations on the pod
|
||
|
podAnnotations: {}
|
||
|
|
||
|
serviceAccount:
|
||
|
# Specifies whether a service account should be created
|
||
|
create: false
|
||
|
# 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: ""
|
||
|
|
||
|
|
||
|
env: {}
|
||
|
# TZ: UTC
|
||
|
|
||
|
## Variables with values set from templates, example
|
||
|
## With a release name of: demo, the example env value will be: demo-admin
|
||
|
envTpl: {}
|
||
|
# TEMPLATE_VALUE: "{{ .Release.Name }}-admin"
|
||
|
|
||
|
## Variables with values from (for example) the Downward API
|
||
|
## See https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/
|
||
|
envValueFrom: {}
|
||
|
# NODE_NAME:
|
||
|
# fieldRef:
|
||
|
# fieldPath: spec.nodeName
|
||
|
|
||
|
envFrom: []
|
||
|
# - configMapRef:
|
||
|
# name: config-map-name
|
||
|
# - secretRef:
|
||
|
# name: secret-name
|
||
|
|
||
|
# Custom priority class for different treatment by the scheduler
|
||
|
# priorityClassName: system-node-critical
|
||
|
|
||
|
# Allow specifying a custom scheduler name
|
||
|
# schedulerName: awkward-dangerous-scheduler
|
||
|
|
||
|
# Allow specifying explicit hostname setting
|
||
|
# hostname:
|
||
|
|
||
|
# When using hostNetwork make sure you set dnsPolicy to ClusterFirstWithHostNet
|
||
|
hostNetwork: false
|
||
|
|
||
|
## Default get based on hostNetwork setting
|
||
|
# dnsPolicy: ClusterFirst
|
||
|
|
||
|
# Optional DNS settings, configuring the ndots option may resolve
|
||
|
# nslookup issues on some Kubernetes setups.
|
||
|
# dnsConfig:
|
||
|
# options:
|
||
|
# - name: ndots
|
||
|
# value: "1"
|
||
|
|
||
|
# Enable/disable the generation of environment variables for services.
|
||
|
# See https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service
|
||
|
# for more information.
|
||
|
enableServiceLinks: true
|
||
|
|
||
|
# Configure the Security Context for the Pod
|
||
|
podSecurityContext:
|
||
|
runAsNonRoot: true
|
||
|
runAsUser: 568
|
||
|
runAsGroup: 568
|
||
|
fsGroup: 568
|
||
|
fsGroupChangePolicy: "OnRootMismatch"
|
||
|
|
||
|
# Configure the Security Context for the main container
|
||
|
securityContext: {}
|
||
|
|
||
|
|
||
|
initContainers: []
|
||
|
|
||
|
additionalContainers: []
|
||
|
|
||
|
## Probes configuration
|
||
|
probes:
|
||
|
liveness:
|
||
|
enabled: true
|
||
|
## Set this to true if you wish to specify your own livenessProbe
|
||
|
custom: false
|
||
|
## The spec field contains the values for the default livenessProbe.
|
||
|
## If you selected custom: true, this field holds the definition of the livenessProbe.
|
||
|
spec:
|
||
|
initialDelaySeconds: 0
|
||
|
periodSeconds: 10
|
||
|
timeoutSeconds: 10
|
||
|
failureThreshold: 5
|
||
|
|
||
|
readiness:
|
||
|
enabled: true
|
||
|
## Set this to true if you wish to specify your own readinessProbe
|
||
|
custom: false
|
||
|
## The spec field contains the values for the default readinessProbe.
|
||
|
## If you selected custom: true, this field holds the definition of the readinessProbe.
|
||
|
spec:
|
||
|
initialDelaySeconds: 0
|
||
|
periodSeconds: 10
|
||
|
timeoutSeconds: 10
|
||
|
failureThreshold: 5
|
||
|
|
||
|
startup:
|
||
|
enabled: true
|
||
|
## Set this to true if you wish to specify your own startupProbe
|
||
|
custom: false
|
||
|
## The spec field contains the values for the default startupProbe.
|
||
|
## If you selected custom: true, this field holds the definition of the startupProbe.
|
||
|
spec:
|
||
|
initialDelaySeconds: 0
|
||
|
timeoutSeconds: 10
|
||
|
## This means it has a maximum of 5*30=150 seconds to start up before it fails
|
||
|
periodSeconds: 10
|
||
|
failureThreshold: 30
|
||
|
|
||
|
services:
|
||
|
main:
|
||
|
enabled: true
|
||
|
type: ClusterIP
|
||
|
## Specify the default port information
|
||
|
port:
|
||
|
port:
|
||
|
## name defaults to http
|
||
|
name:
|
||
|
protocol: TCP
|
||
|
## 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
|
||
|
## service.port.port. 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:
|
||
|
additionalPorts: []
|
||
|
|
||
|
## Provide any additional annotations which may be required. This can be used to
|
||
|
## set the LoadBalancer service type to internal only.
|
||
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
||
|
##
|
||
|
annotations: {}
|
||
|
labels: {}
|
||
|
|
||
|
additionalServices: []
|
||
|
# - enabled: false
|
||
|
# nameSuffix: api
|
||
|
# type: ClusterIP
|
||
|
# # Specify the default port information
|
||
|
# port:
|
||
|
# port:
|
||
|
# # name defaults to http
|
||
|
# name:
|
||
|
# protocol: TCP
|
||
|
# # targetPort defaults to http
|
||
|
# targetPort:
|
||
|
# # nodePort:
|
||
|
# additionalPorts: []
|
||
|
# annotations: {}
|
||
|
# labels: {}
|
||
|
|
||
|
# ingress:
|
||
|
# main:
|
||
|
# enabled: false
|
||
|
# # Used when including ingress using {{ include "common.ingress" . }}
|
||
|
# type: "HTTP"
|
||
|
# entrypoint: "websecure"
|
||
|
# certType: ""
|
||
|
# ## Optional: defaults to IngressName
|
||
|
# serviceName: ""
|
||
|
# ## Optional: Almost never needed
|
||
|
# serviceKind: ""
|
||
|
# ## Optional: defaults to either service port
|
||
|
# servicePort: 80
|
||
|
# annotations: {}
|
||
|
# # kubernetes.io/ingress.class: nginx
|
||
|
# # kubernetes.io/tls-acme: "true"
|
||
|
# labels: {}
|
||
|
# hosts:
|
||
|
# - host: chart-example.local
|
||
|
# path: /
|
||
|
# additionalIngresses: []
|
||
|
# - enabled: false
|
||
|
# nameSuffix: "api"
|
||
|
# annotations: {}
|
||
|
# # kubernetes.io/ingress.class: nginx
|
||
|
# # kubernetes.io/tls-acme: "true"
|
||
|
# labels: {}
|
||
|
# hosts:
|
||
|
# - host: chart-example.local
|
||
|
# paths:
|
||
|
# - path: /api
|
||
|
# # Ignored if not kubeVersion >= 1.14-0
|
||
|
# pathType: Prefix
|
||
|
# tls: []
|
||
|
# # - secretName: chart-example-tls
|
||
|
# # hosts:
|
||
|
# # - chart-example.local
|
||
|
|
||
|
persistence:
|
||
|
config:
|
||
|
enabled: false
|
||
|
mountPath: /config
|
||
|
## configuration data Persistent Volume Storage Class
|
||
|
## If defined, storageClassName: <storageClass>
|
||
|
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||
|
## If undefined (the default) or set to null, no storageClassName spec is
|
||
|
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
||
|
## GKE, AWS & OpenStack)
|
||
|
##
|
||
|
# storageClass: "-"
|
||
|
##
|
||
|
## If you want to reuse an existing claim, you can pass the name of the PVC using
|
||
|
## the existingClaim variable
|
||
|
# existingClaim: your-claim
|
||
|
# subPath: some-subpath
|
||
|
accessMode: ReadWriteOnce
|
||
|
size: 1Gi
|
||
|
## Set to true to retain the PVC upon helm uninstall
|
||
|
skipuninstall: false
|
||
|
|
||
|
# Create an emptyDir volume to share between all containers
|
||
|
shared:
|
||
|
enabled: false
|
||
|
emptyDir: true
|
||
|
mountPath: /shared
|
||
|
|
||
|
additionalVolumes: []
|
||
|
|
||
|
additionalVolumeMounts: []
|
||
|
|
||
|
volumeClaimTemplates: []
|
||
|
# Used in statefulset to create individual disks for each instance
|
||
|
# - name: data
|
||
|
# mountPath: /data
|
||
|
# accessMode: "ReadWriteOnce"
|
||
|
# size: 1Gi
|
||
|
# - name: backup
|
||
|
# mountPath: /backup
|
||
|
# subPath: theSubPath
|
||
|
# accessMode: "ReadWriteOnce"
|
||
|
# size: 2Gi
|
||
|
# storageClass: cheap-storage-class
|
||
|
|
||
|
nodeSelector: {}
|
||
|
|
||
|
affinity: {}
|
||
|
|
||
|
tolerations: []
|
||
|
|
||
|
hostAliases: []
|
||
|
# Use hostAliases to add custom entries to /etc/hosts - mapping IP addresses to hostnames.
|
||
|
# ref: https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
||
|
# - ip: "192.168.1.100"
|
||
|
# hostnames:
|
||
|
# - "example.com"
|
||
|
# - "www.example.com"
|
||
|
|
||
|
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
|
||
|
|
||
|
## TrueCharts Specific
|
||
|
|
||
|
PUID: 568
|
||
|
PGID: 568
|
||
|
UMASK: "002"
|
||
|
fixMountPermissions: true
|
||
|
|
||
|
# deviceMounts:
|
||
|
# config:
|
||
|
# enabled: false
|
||
|
# emptyDir: false
|
||
|
# hostPath: "/config"
|
||
|
# setPermissions: true
|
||
|
|
||
|
# customStorage:
|
||
|
# - name: "data"
|
||
|
# enabled: false
|
||
|
# emptyDir: false
|
||
|
# mountPath: "/data"
|
||
|
# subPath: some-subpath
|
||
|
# hostPath: ""
|
||
|
# readOnly: false
|
||
|
# setPermissions: true
|