Skip to content

Commit 8b1de0f

Browse files
authored
chore(template/k8s): Add tag as separate config value
1 parent 3f2e842 commit 8b1de0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/simple-k8s-sql-deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ config:
66
type: string
77
image:
88
type: string
9+
tag:
10+
type: string
911
resources:
1012
namespace:
1113
type: kubernetes:core/v1:Namespace
@@ -74,7 +76,7 @@ resources:
7476
"iam.gke.io/gke-metadata-server-enabled": "true"
7577
containers:
7678
- name: app
77-
image: ${image}
79+
image: ${image}:${tag}
7880
ports:
7981
- containerPort: 8484
8082
envFrom:

0 commit comments

Comments
 (0)