moving annotations

This commit is contained in:
ari committed 2023-03-21 13:45:39 -04:00
1 parent 9432a45e18
commit beaeda24d1
2 files changed
+6 -6

No files matched your search

+2 -1
View File
@@ -1,5 +1,6 @@
{
"yaml.schemas": {
"https://raw.githubusercontent.com/rancher/k3d/main/pkg/config/config.versions.schema.json": "file:///workspaces/HomelabV2/k3d-default.yaml"
"https://raw.githubusercontent.com/rancher/k3d/main/pkg/config/config.versions.schema.json": "file:///workspaces/HomelabV2/k3d-default.yaml",
"https://json.schemastore.org/helmfile.json": "file:///home/ari/Projects/HomelabV2/k8s/infra/database/templates/user-generation/users-job.yaml"
}
}
@@ -4,13 +4,12 @@ kind: Job
metadata:
name: "user-generation"
namespace: "{{ .Release.Namespace }}"
annotations:
checksum/run-sh: "{{ include "pg-users.entry" . | sha256sum }}"
checksum/main-tf: "{{ include "pg-users.terraform" . | sha256sum }}"
checksum/users-tfvars: "{{ (print "db_users = " ( .Values.userGeneration.users | toJson )) | sha256sum }}"
spec:
template:
metadata:
annotations:
checksum/run-sh: "{{ include "pg-users.entry" . | sha256sum }}"
checksum/main-tf: "{{ include "pg-users.terraform" . | sha256sum }}"
checksum/users-tfvars: "{{ (print "db_users = " ( .Values.userGeneration.users | toJson )) | sha256sum }}"
spec:
serviceAccount: "{{ .Release.Name }}"
serviceAccountName: "{{ .Release.Name }}"