From cf13344ab2086bfb0c60053f6c69ec01b77b1d57 Mon Sep 17 00:00:00 2001 From: Alex Lee <8878798+alee-x@users.noreply.github.com> Date: Thu, 25 Jan 2024 17:21:26 +0000 Subject: [PATCH] fix(jupyterhub): set up ignoreDifferences for appto stop argo badly computing diff (#189) --- .../templates/application/app-jupyter.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/charts/teleport/templates/application/app-jupyter.yaml b/charts/teleport/templates/application/app-jupyter.yaml index 34ef9ab9..94e3c96f 100644 --- a/charts/teleport/templates/application/app-jupyter.yaml +++ b/charts/teleport/templates/application/app-jupyter.yaml @@ -19,6 +19,24 @@ spec: prune: true syncOptions: - CreateNamespace=true + - RespectIgnoreDifferences=true + ignoreDifferences: + - kind: Secret + name: hub + jsonPointers: + - /data/hub.config.CryptKeeper.keys + - /data/hub.config.JupyterHub.cookie_secret + - /data/hub.config.ConfigurableHTTPProxy.auth_token + - group: apps + kind: Deployment + name: hub + jsonPointers: + - /spec/template/metadata/annotations/checksum~1secret + - group: apps + kind: Deployment + name: proxy + jsonPointers: + - /spec/template/metadata/annotations/checksum~1auth-token source: {{- .Values.appJupyter.source | toYaml | nindent 4 }} helm: