diff --git a/charts/enterprise-gateway/Chart.yaml b/charts/enterprise-gateway/Chart.yaml index 6841a57..895c2d1 100644 --- a/charts/enterprise-gateway/Chart.yaml +++ b/charts/enterprise-gateway/Chart.yaml @@ -1,6 +1,6 @@ name: enterprise-gateway description: A helm chart to deploy Jupyter Enterprise Gateway -version: 2.4.0 +version: 2.5.0 apiVersion: v1 icon: https://avatars1.githubusercontent.com/u/7388996?s=200&v=4 home: https://jupyter.org/enterprise_gateway diff --git a/charts/enterprise-gateway/templates/deployment.yaml b/charts/enterprise-gateway/templates/deployment.yaml index 30fd2f6..d368fd9 100644 --- a/charts/enterprise-gateway/templates/deployment.yaml +++ b/charts/enterprise-gateway/templates/deployment.yaml @@ -22,6 +22,8 @@ spec: app: enterprise-gateway component: enterprise-gateway spec: + affinity: + {{- .Values.affinity | toYaml | nindent 8 }} # Created by this chart. serviceAccountName: enterprise-gateway-sa {{- if .Values.kernelspecs.image }} diff --git a/charts/enterprise-gateway/values.yaml b/charts/enterprise-gateway/values.yaml index 508a0ee..d7cdd22 100644 --- a/charts/enterprise-gateway/values.yaml +++ b/charts/enterprise-gateway/values.yaml @@ -14,6 +14,8 @@ mirrorWorkingDirs: false k8sMasterPublicIP: # create and require a secret token, supplied by client in an "Authorization: token" header authTokenEnabled: true +# node affinity +affinity: {} kernel: # Kernel cluster role created by this chart. @@ -39,6 +41,7 @@ kernel: # kernel service account name serviceAccount: kernel-sa + kernelspecs: # Optional custom data image containing kernelspecs to use. image: