Skip to content

Commit 3bca1dc

Browse files
tejisinchenrui333
andauthored
feat: Add extra secret manifests support (#515)
Adds a new template `extra-secret-manifests.yaml` and updates `values.schema.json` to allow users to define and deploy arbitrary Kubernetes Secret resources. This feature supports the injection of custom secrets and includes SOPS metadata for encrypted secrets. Signed-off-by: Tejinder Singh <tsingh@clickup.com> Co-authored-by: Rui Chen <rui@chenrui.dev>
1 parent e71cfaa commit 3bca1dc

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{{- range .Values.extraSecretManifests }}
2+
---
3+
{{ tpl (toYaml .) $ }}
4+
{{- end }}

charts/atlantis/values.schema.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,6 +1046,18 @@
10461046
"type": "object"
10471047
}
10481048
},
1049+
"extraSecretManifests": {
1050+
"type": "array",
1051+
"description": "Add additional secret manifests to deploy",
1052+
"items": {
1053+
"type": "object"
1054+
}
1055+
},
1056+
"sops": {
1057+
"type": "object",
1058+
"description": "SOPS metadata for extra secret manifests",
1059+
"default": {}
1060+
},
10491061
"initContainers": {
10501062
"description": "Containers used to initialize context for Atlantis pods",
10511063
"items": {

0 commit comments

Comments
 (0)