Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions charts/gateway-operator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.5.3

## Changes

- Add the option to define a `nodeSelector` to the Kong Gateway Operator controller pod.
[#1262](https://github.com/Kong/charts/pull/1262)

## 0.5.2

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion charts/gateway-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ maintainers:
name: gateway-operator
sources:
- https://github.com/Kong/charts/tree/main/charts/gateway-operator
version: 0.5.2
version: 0.5.3
appVersion: "1.5"
annotations:
artifacthub.io/prerelease: "false"
Expand Down
16 changes: 16 additions & 0 deletions charts/gateway-operator/ci/node-selector-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
nodeSelector:
kubernetes.io/os: linux

livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 1
periodSeconds: 1

readinessProbe:
initialDelaySeconds: 1
periodSeconds: 1

env:
anonymous_reports: "false"
4 changes: 4 additions & 0 deletions charts/gateway-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ spec:
affinity:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{- toYaml .Values.nodeSelector | nindent 8 }}
{{- end }}
containers:
- name: manager
{{ with .Values.args -}}
Expand Down
4 changes: 4 additions & 0 deletions charts/gateway-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ extraLabels: {}
# Labels to be added to KGO pods
podLabels: {}

# Node labels for pod assignment
# Ref: https://kubernetes.io/docs/user-guide/node-selection/
nodeSelector: {}

# Install KIC's CRDs
kic-crds:
enabled: true
Expand Down
Loading