Don't restart binderhub pod unless necessary
@@ -31,6 +31,10 @@ spec:
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
+ annotations:
+ # This lets us autorestart when the configmap changes!
+ checksum/config-map: {{ include (print $.Template.BasePath "/deployment.yaml") . | sha256sum }}
+ checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
spec:
volumes:
- name: config
