Browse Source

yup

pull/157/head
geekboy1011 3 years ago
parent
commit
13cc65f83f
  1. 5
      jsonnet-guestbook-tla/guestbook-ui.jsonnet

5
jsonnet-guestbook-tla/guestbook-ui.jsonnet

@ -4,14 +4,15 @@ function (
name = "jsonnet-guestbook-ui", name = "jsonnet-guestbook-ui",
replicas = 1, replicas = 1,
servicePort = 80, servicePort = 80,
type = "LoadBalancer") type = "LoadBalancer",
branch = ARGOCD_APP_SOURCE_TARGET_REVISION)
[{ [{
"apiVersion": "v1", "apiVersion": "v1",
"kind": "Service", "kind": "Service",
"metadata": { "metadata": {
"name": name, "name": name,
"labels": { "labels": {
"branch": ARGOCD_APP_SOURCE_TARGET_REVISION "branch": branch
} }
}, },
"spec": { "spec": {

Loading…
Cancel
Save