Add annotation with values hash to re-create listener (#3195)

This commit is contained in:
Nikola Jokic
2024-03-19 14:29:49 +01:00
committed by GitHub
parent 48706584fd
commit c9099a5a56
6 changed files with 139 additions and 15 deletions

View File

@@ -13,6 +13,7 @@ metadata:
app.kubernetes.io/component: "autoscaling-runner-set"
{{- include "gha-runner-scale-set.labels" . | nindent 4 }}
annotations:
actions.github.com/values-hash: {{ toJson .Values | sha256sum | trunc 63 }}
{{- $containerMode := .Values.containerMode }}
{{- if not (kindIs "string" .Values.githubConfigSecret) }}
actions.github.com/cleanup-github-secret-name: {{ include "gha-runner-scale-set.githubsecret" . }}