Skip to content

Instantly share code, notes, and snippets.

@amontalban
Created May 9, 2025 13:38
Show Gist options
  • Save amontalban/2809ae8e4b800072911351e81f3987db to your computer and use it in GitHub Desktop.
Save amontalban/2809ae8e4b800072911351e81f3987db to your computer and use it in GitHub Desktop.
image:
repository: docker.io/kong/gateway-operator
tag: "1.5"
# Optionally set a semantic version for version-gated features. This can normally
# be left unset. You only need to set this if your tag is not a semver string,
# such as when you are using a "next" tag. Set this to the effective semantic
# version of your tag: for example if using a "nightly" image for an unreleased 1.5.0
# version, set this to "1.5.0".
effectiveSemver: ""
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
# pullSecrets:
# - myRegistrKeySecretName
# Deprecated: KGO versions 1.5+ do not use kube-rbac-proxy.
# Use --metrics-access-filter flag instead to control access to metrics endpoint.
kubeRBACProxy: {}
# We deploy two replicas to have high availability in case one fails
replicaCount: 2
serviceAccount:
# Specifies whether a service account should be created
create: true
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: controller-manager
test:
enabled: false
# This section can be used to configure some extra labels that will be added to each Kubernetes object generated.
extraLabels: {}
# Labels to be added to KGO pods
podLabels: {}
# Install KIC's CRDs
kic-crds:
enabled: true
# Install Kong's Kubernetes Configuration CRDs (https://github.com/Kong/kubernetes-configuration)
kubernetes-configuration-crds:
enabled: true
# We manage Gateway API CRDs at the GKE config
gwapi-standard-crds:
enabled: false
# Install Gateway API experimental CRDs
gwapi-experimental-crds:
enabled: false
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app.kubernetes.io/component
operator: In
values: ["kgo"]
topologyKey: "kubernetes.io/hostname"
tolerations: []
# Customize gateway-operator livenessProbe.
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 15
periodSeconds: 20
# Customize gateway-operator readinessProbe.
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
# Use this section to customize the requests and limits of gateway-operator
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 10m
memory: 128Mi
# Use this section to add environment variables to operator's container
# NOTE: This is mutually exclusive with the args sections.
# When both an env and a corresponding arg are provided, the arg will take precedence.
env:
enable_controller_konnect: true
enable_controller_gateway: true
enable_controller_controlplane: true
enable_controller_dataplane: true
enable_controller_konglicense: true
enable_controller_controlplaneextensions: true
enable_controller_kongplugininstallation: true
# This section is any customer specific environments variables that doesn't require CONTROLLER_ prefix.
# Example as below, uncomment if required and add additional attributes as required.
# customEnv:
# TZ: "Europe/Berlin"
# Use this section to add extra args to the operator's container.
# NOTE: This is a list of strings, so each arg should be a separate item in the list.
# NOTE: This is mutually exclusive with the env and customEnv sections.
# When both an env and a corresponding arg are provided, the arg will take precedence.
args: []
# Use this section to change the certs-dir emptyDir size
certsDir:
sizeLimit: 256Mi
# Override the default deployment selector labels. This is useful if you don't want
# to use the defaults or are migrating to this chart and want to use existing labels.
# selectorLabels: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment