Skip to content

Commit 03ced8f

Browse files
author
Jon Wayne Parrott
committed
Fixing templates to use new [] variable syntax
1 parent 7ec769b commit 03ced8f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

optional-container-engine/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ push: build
2525

2626
.PHONY: template
2727
template:
28-
sed -i ".tmpl" "s/\$$GCLOUD_PROJECT/$(GCLOUD_PROJECT)/g" bookshelf-frontend.yaml
29-
sed -i ".tmpl" "s/\$$GCLOUD_PROJECT/$(GCLOUD_PROJECT)/g" bookshelf-worker.yaml
28+
sed -i ".tmpl" "s/\[GCLOUD_PROJECT\]/$(GCLOUD_PROJECT)/g" bookshelf-frontend.yaml
29+
sed -i ".tmpl" "s/\[GCLOUD_PROJECT\]/$(GCLOUD_PROJECT)/g" bookshelf-worker.yaml
3030

3131
.PHONY: create-service
3232
create-service:

optional-container-engine/bookshelf-frontend.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ spec:
3535
spec:
3636
containers:
3737
- name: bookshelf-app
38-
# Replace $GCLOUD_PROJECT with your project ID or use `make template`.
39-
image: gcr.io/$GCLOUD_PROJECT/bookshelf
38+
# Replace [GCLOUD_PROJECT] with your project ID or use `make template`.
39+
image: gcr.io/[GCLOUD_PROJECT]/bookshelf
4040
# This setting makes nodes pull the docker image every time before
4141
# starting the pod. This is useful when debugging, but should be turned
4242
# off in production.

optional-container-engine/bookshelf-worker.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ spec:
3535
spec:
3636
containers:
3737
- name: bookshelf-app
38-
# Replace $GCLOUD_PROJECT with your project ID or use `make template`.
39-
image: gcr.io/$GCLOUD_PROJECT/bookshelf
38+
# Replace [GCLOUD_PROJECT] with your project ID or use `make template`.
39+
image: gcr.io/[GCLOUD_PROJECT]/bookshelf
4040
# This setting makes nodes pull the docker image every time before
4141
# starting the pod. This is useful when debugging, but should be turned
4242
# off in production.

0 commit comments

Comments
 (0)