Skip to content

Commit

Permalink
Compute the hash on the entire config
Browse files Browse the repository at this point in the history
  • Loading branch information
dd-gplassard committed Sep 20, 2024
1 parent 4ee78fe commit 5df4200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/private-action-runner/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
app: {{ include "chart.deploymentName" $runner.name }}
service: {{ include "chart.serviceName" $runner.name }}
annotations:
config-hash: {{ $runner.config | toJson | sha256sum }}
config-hash: {{ $runner | toJson | sha256sum }}
spec:
serviceAccountName: {{ include "chart.serviceAccountName" $runner.name }}
tolerations:
Expand Down

0 comments on commit 5df4200

Please sign in to comment.