moving annotations
This commit is contained in:
1 parent
9432a45e18
commit
beaeda24d1
2 files changed
+6
-6
No files matched your search
Vendored
+2
-1
@@ -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 }}"
|
||||
|
||||
Reference in new issue
Block a user