199 lines
7.1 KiB
YAML
199 lines
7.1 KiB
YAML
## @section Common parameters
|
|
##
|
|
|
|
## @param nameOverride String to partially override generated resource names
|
|
## @param fullnameOverride String to fully override generated resource names
|
|
## @param commonLabels Labels to add to all deployed objects
|
|
## @param commonAnnotations Annotations to add to all deployed objects
|
|
##
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
commonLabels: {}
|
|
commonAnnotations: {}
|
|
|
|
## @section Controller parameters
|
|
##
|
|
|
|
## @param podAnnotations Used to apply custom annotations to the ingress pods.
|
|
## @param podLabels Used to apply custom labels to the ingress pods.
|
|
##
|
|
podAnnotations: {}
|
|
podLabels: {}
|
|
|
|
## @param replicaCount The number of controllers to run.
|
|
## A minimum of 2 is recommended in production for HA.
|
|
##
|
|
replicaCount: 1
|
|
|
|
## @param image.registry The ngrok ingress controller image registry.
|
|
## @param image.repository The ngrok ingress controller image repository.
|
|
## @param image.tag The ngrok ingress controller image tag. Defaults to the chart's appVersion if not specified
|
|
## @param image.pullPolicy The ngrok ingress controller image pull policy.
|
|
## @param image.pullSecrets An array of imagePullSecrets to be used when pulling the image.
|
|
image:
|
|
registry: docker.io
|
|
repository: ngrok/kubernetes-ingress-controller
|
|
tag: ""
|
|
pullPolicy: IfNotPresent
|
|
## Example
|
|
## pullSecrets:
|
|
## - name: my-imagepull-secret
|
|
##
|
|
pullSecrets: []
|
|
|
|
## @param ingressClass.name The name of the ingress class to use.
|
|
## @param ingressClass.create Whether to create the ingress class.
|
|
## @param ingressClass.default Whether to set the ingress class as default.
|
|
ingressClass:
|
|
name: ngrok
|
|
create: true
|
|
default: false
|
|
|
|
## @param controllerName The name of the controller to look for matching ingress classes
|
|
controllerName: "k8s.ngrok.com/ingress-controller"
|
|
|
|
## @param watchNamespace The namespace to watch for ingress resources. Defaults to all
|
|
watchNamespace: ""
|
|
|
|
## @param credentials.secret.name The name of the secret the credentials are in. If not provided, one will be generated using the helm release name.
|
|
## @param credentials.apiKey Your ngrok API key. If provided, it will be will be written to the secret and the authtoken must be provided as well.
|
|
## @param credentials.authtoken Your ngrok authtoken. If provided, it will be will be written to the secret and the apiKey must be provided as well.
|
|
credentials:
|
|
secret:
|
|
name: ""
|
|
apiKey: ""
|
|
authtoken: ""
|
|
|
|
## @param region ngrok region to create tunnels in. Defaults to connect to the closest geographical region.
|
|
region: ""
|
|
|
|
## @param serverAddr This is the address of the ngrok server to connect to. You should set this if you are using a custom ingress address.
|
|
serverAddr: ""
|
|
|
|
## @param apiURL This is the URL of the ngrok API. You should set this if you are using a custom API URL.
|
|
apiURL: ""
|
|
|
|
## @param metaData This is a map of key/value pairs that will be added as meta data to all ngrok api resources created
|
|
metaData: {}
|
|
|
|
## @param affinity Affinity for the controller pod assignment
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
|
##
|
|
affinity: {}
|
|
## @param podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
##
|
|
podAffinityPreset: ""
|
|
## @param podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
##
|
|
podAntiAffinityPreset: soft
|
|
## Node affinity preset
|
|
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
|
|
##
|
|
nodeAffinityPreset:
|
|
## @param nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
##
|
|
type: ""
|
|
## @param nodeAffinityPreset.key Node label key to match. Ignored if `affinity` is set.
|
|
## E.g.
|
|
## key: "kubernetes.io/e2e-az-name"
|
|
##
|
|
key: ""
|
|
## @param nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
|
|
## E.g.
|
|
## values:
|
|
## - e2e-az1
|
|
## - e2e-az2
|
|
##
|
|
values: []
|
|
|
|
## @param priorityClassName Priority class for pod scheduling
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
|
priorityClassName: ""
|
|
|
|
## Pod Disruption Budget configuration
|
|
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
|
|
## @param podDisruptionBudget.create Enable a Pod Disruption Budget creation
|
|
## @param podDisruptionBudget.minAvailable Minimum number/percentage of pods that should remain scheduled
|
|
## @param podDisruptionBudget.maxUnavailable Maximum number/percentage of pods that may be made unavailable
|
|
##
|
|
podDisruptionBudget:
|
|
create: false
|
|
minAvailable: ""
|
|
maxUnavailable: 1
|
|
|
|
## Controller container resource requests and limits
|
|
## ref: https://kubernetes.io/docs/user-guide/compute-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:'.
|
|
## @param resources.limits The resources limits for the container
|
|
## @param resources.requests The requested resources for the container
|
|
##
|
|
resources:
|
|
## Example:
|
|
## limits:
|
|
## cpu: 100m
|
|
## memory: 128Mi
|
|
##
|
|
limits: {}
|
|
## Examples:
|
|
## requests:
|
|
## cpu: 100m
|
|
## memory: 128Mi
|
|
##
|
|
requests: {}
|
|
|
|
|
|
## @param extraVolumes An array of extra volumes to add to the controller.
|
|
extraVolumes: []
|
|
## @param extraVolumeMounts An array of extra volume mounts to add to the controller.
|
|
extraVolumeMounts: []
|
|
##
|
|
## Example:
|
|
##
|
|
## extraVolumes:
|
|
## - name: test-volume
|
|
## emptyDir: {}
|
|
## extraVolumeMounts:
|
|
## - name: test-volume
|
|
## mountPath: /test-volume
|
|
|
|
|
|
## @param extraEnv an object of extra environment variables to add to the controller.
|
|
extraEnv: {}
|
|
## Example:
|
|
## MY_VAR: test
|
|
## MY_SECRET_VAR:
|
|
## secretKeyRef:
|
|
## key: test-key
|
|
## value: test-value
|
|
|
|
## Controller Service Account Settings
|
|
## @param serviceAccount.create Specifies whether a ServiceAccount should be created
|
|
## @param serviceAccount.name The name of the ServiceAccount to use.
|
|
## If not set and create is true, a name is generated using the fullname template
|
|
## @param serviceAccount.annotations Additional annotations to add to the ServiceAccount
|
|
##
|
|
serviceAccount:
|
|
create: true
|
|
name: ""
|
|
annotations: {}
|
|
|
|
|
|
## Logging configuration
|
|
## @param log.level The level to log at. One of 'debug', 'info', or 'error'.
|
|
## @param log.stacktraceLevel The level to report stacktrace logs one of 'info' or 'error'.
|
|
## @param log.format The log format to use. One of console, json.
|
|
log:
|
|
format: json
|
|
level: info
|
|
stacktraceLevel: error
|
|
|
|
## @param lifecycle an object containing lifecycle configuration
|
|
## ref: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
|
|
##
|
|
lifecycle: {} |