From 1797894da0a1c27b596d5217a6142efa638cc01b Mon Sep 17 00:00:00 2001 From: William Lam Date: Sat, 17 Jun 2023 05:06:56 -0700 Subject: [PATCH] feat: Update examples with latest PS/PCLI images Closes: 1068 Signed-off-by: William Lam --- .../kn-pcli-datastore-usage-email/Dockerfile | 2 +- .../powercli/kn-pcli-datastore-usage-email/README.md | 12 ++++++++---- .../kn-pcli-datastore-usage-email/function.yaml | 2 +- .../powercli/kn-pcli-ha-restarted-vms/Dockerfile | 2 +- .../powercli/kn-pcli-ha-restarted-vms/README.md | 12 ++++++++---- .../powercli/kn-pcli-ha-restarted-vms/function.yaml | 2 +- .../powercli/kn-pcli-hostmaint-alarms/Dockerfile | 2 +- .../powercli/kn-pcli-hostmaint-alarms/README.md | 12 ++++++++---- .../powercli/kn-pcli-hostmaint-alarms/function.yaml | 2 +- .../knative/powercli/kn-pcli-nsx-tag-sync/Dockerfile | 2 +- .../knative/powercli/kn-pcli-nsx-tag-sync/README.md | 9 ++++++--- .../powercli/kn-pcli-nsx-tag-sync/function.yaml | 2 +- .../knative/powercli/kn-pcli-pg-check/Dockerfile | 2 +- examples/knative/powercli/kn-pcli-pg-check/README.md | 12 ++++++++---- .../knative/powercli/kn-pcli-pg-check/function.yaml | 2 +- .../powercli/kn-pcli-snapshot-cron/Dockerfile | 2 +- .../powercli/kn-pcli-snapshot-cron/function.yaml | 2 +- examples/knative/powercli/kn-pcli-tag/Dockerfile | 2 +- examples/knative/powercli/kn-pcli-tag/function.yaml | 2 +- .../knative/powercli/kn-pcli-telegram/Dockerfile | 2 +- .../knative/powercli/kn-pcli-telegram/function.yaml | 2 +- .../knative/powercli/kn-pcli-template/Dockerfile | 2 +- examples/knative/powercli/kn-pcli-template/README.md | 12 ++++++++---- .../knative/powercli/kn-pcli-vds-config/Dockerfile | 2 +- .../knative/powercli/kn-pcli-vds-config/README.md | 12 ++++++++---- .../powercli/kn-pcli-vds-config/function.yaml | 2 +- .../powercli/kn-pcli-vds-pg-config/Dockerfile | 2 +- .../knative/powercli/kn-pcli-vds-pg-config/README.md | 12 ++++++++---- .../powercli/kn-pcli-vds-pg-config/function.yaml | 2 +- examples/knative/powershell/kn-ps-echo/Dockerfile | 2 +- examples/knative/powershell/kn-ps-echo/function.yaml | 2 +- examples/knative/powershell/kn-ps-email/Dockerfile | 2 +- .../knative/powershell/kn-ps-email/function.yaml | 2 +- .../knative/powershell/kn-ps-harbor-slack/Dockerfile | 2 +- .../knative/powershell/kn-ps-harbor-slack/README.md | 3 ++- .../powershell/kn-ps-harbor-slack/function.yaml | 2 +- .../powershell/kn-ps-horizon-login-slack/Dockerfile | 2 +- .../kn-ps-horizon-login-slack/function.yaml | 2 +- .../knative/powershell/kn-ps-ngw-slack/Dockerfile | 2 +- .../knative/powershell/kn-ps-ngw-slack/function.yaml | 2 +- .../knative/powershell/kn-ps-ngw-teams/Dockerfile | 2 +- .../knative/powershell/kn-ps-ngw-teams/function.yaml | 2 +- .../powershell/kn-ps-slack-vsphere-alarm/Dockerfile | 2 +- .../kn-ps-slack-vsphere-alarm/function.yaml | 2 +- examples/knative/powershell/kn-ps-slack/Dockerfile | 2 +- .../knative/powershell/kn-ps-slack/function.yaml | 2 +- .../knative/powershell/kn-ps-twillio-sms/Dockerfile | 2 +- .../powershell/kn-ps-twillio-sms/function.yaml | 2 +- .../knative/powershell/kn-ps-vrni-databus/Dockerfile | 2 +- .../powershell/kn-ps-vrni-databus/function.yaml | 2 +- .../powershell/kn-ps-vsphere-inv-slack/Dockerfile | 2 +- .../powershell/kn-ps-vsphere-inv-slack/function.yaml | 2 +- examples/knative/powershell/kn-ps-webhook/Dockerfile | 2 +- .../knative/powershell/kn-ps-webhook/function.yaml | 2 +- examples/knative/powershell/kn-ps-zapier/Dockerfile | 2 +- .../knative/powershell/kn-ps-zapier/function.yaml | 2 +- 56 files changed, 111 insertions(+), 79 deletions(-) diff --git a/examples/knative/powercli/kn-pcli-datastore-usage-email/Dockerfile b/examples/knative/powercli/kn-pcli-datastore-usage-email/Dockerfile index 49b2c980..260dfa8a 100644 --- a/examples/knative/powercli/kn-pcli-datastore-usage-email/Dockerfile +++ b/examples/knative/powercli/kn-pcli-datastore-usage-email/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powercli/kn-pcli-datastore-usage-email/README.md b/examples/knative/powercli/kn-pcli-datastore-usage-email/README.md index 4697bfe0..6c35d91c 100644 --- a/examples/knative/powercli/kn-pcli-datastore-usage-email/README.md +++ b/examples/knative/powercli/kn-pcli-datastore-usage-email/README.md @@ -11,14 +11,16 @@ Create the container image locally to test your function logic. Mac/Linux ``` # change the IMAGE name accordingly, example below for Docker -export IMAGE=/kn-pcli-datastore-usage-email:1.0 +export TAG= +export IMAGE=/kn-pcli-datastore-usage-email:${TAG} docker build -t ${IMAGE} . ``` Windows ``` # change the IMAGE name accordingly, example below for Docker -$IMAGE="/kn-pcli-datastore-usage-email:1.0" +$TAG= +$IMAGE="/kn-pcli-datastore-usage-email:${TAG}" docker build -t ${IMAGE} . ``` # Step 2 - Test @@ -58,12 +60,14 @@ If you built a custom image in Step 1, comment out the default `IMAGE` command b Mac/Linux ```console -export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-datastore-usage-email:1.0 +export TAG= +export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-datastore-usage-email:${TAG} docker run -e FUNCTION_DEBUG=true -e PORT=8080 --env-file docker-test-env-variable -it --rm -p 8080:8080 ${IMAGE} ``` Windows ```console -$IMAGE="us.gcr.io/daisy-284300/veba/kn-pcli-datastore-usage-email:1.0" +$TAG= +$IMAGE="us.gcr.io/daisy-284300/veba/kn-pcli-datastore-usage-email:${TAG}" docker run -e FUNCTION_DEBUG=true -e PORT=8080 --env-file docker-test-env-variable -it --rm -p 8080:8080 ${IMAGE} ``` If you are not using the custom attribute functionality, you can test the function without making any changes. You can skip the next section. diff --git a/examples/knative/powercli/kn-pcli-datastore-usage-email/function.yaml b/examples/knative/powercli/kn-pcli-datastore-usage-email/function.yaml index 7f953771..44c809a8 100644 --- a/examples/knative/powercli/kn-pcli-datastore-usage-email/function.yaml +++ b/examples/knative/powercli/kn-pcli-datastore-usage-email/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-pcli-datastore-usage-email:1.0 + - image: us.gcr.io/daisy-284300/veba/kn-pcli-datastore-usage-email:1.1 envFrom: - secretRef: name: datastore-secret diff --git a/examples/knative/powercli/kn-pcli-ha-restarted-vms/Dockerfile b/examples/knative/powercli/kn-pcli-ha-restarted-vms/Dockerfile index 49b2c980..260dfa8a 100644 --- a/examples/knative/powercli/kn-pcli-ha-restarted-vms/Dockerfile +++ b/examples/knative/powercli/kn-pcli-ha-restarted-vms/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powercli/kn-pcli-ha-restarted-vms/README.md b/examples/knative/powercli/kn-pcli-ha-restarted-vms/README.md index 4ed112c8..c4474fae 100644 --- a/examples/knative/powercli/kn-pcli-ha-restarted-vms/README.md +++ b/examples/knative/powercli/kn-pcli-ha-restarted-vms/README.md @@ -11,14 +11,16 @@ Create the container image locally to test your function logic. Mac/Linux ``` # change the IMAGE name accordingly, example below for Docker -export IMAGE=/kn-pcli-ha-restarted-vms:1.0 +export TAG= +export IMAGE=/kn-pcli-ha-restarted-vms:${TAG} docker build -t ${IMAGE} . ``` Windows ``` # change the IMAGE name accordingly, example below for Docker -$IMAGE="/kn-pcli-ha-restarted-vms:1.0" +$TAG= +$IMAGE="/kn-pcli-ha-restarted-vms:${TAG}" docker build -t ${IMAGE} . ``` # Step 2 - Test @@ -49,12 +51,14 @@ If you built a custom image in Step 1, comment out the default `IMAGE` command b Mac/Linux ```console -export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-ha-restarted-vms:1.0 +export TAG= +export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-ha-restarted-vms:${TAG} docker run -e FUNCTION_DEBUG=true -e PORT=8080 --env-file docker-test-env-variable -it --rm -p 8080:8080 ${IMAGE} ``` Windows ```console -$IMAGE="us.gcr.io/daisy-284300/veba/kn-pcli-ha-restarted-vms:1.0" +$TAG= +$IMAGE="us.gcr.io/daisy-284300/veba/kn-pcli-ha-restarted-vms:${TAG}" docker run -e FUNCTION_DEBUG=true -e PORT=8080 --env-file docker-test-env-variable -it --rm -p 8080:8080 ${IMAGE} ``` diff --git a/examples/knative/powercli/kn-pcli-ha-restarted-vms/function.yaml b/examples/knative/powercli/kn-pcli-ha-restarted-vms/function.yaml index 3b248bf7..e2c5d72d 100644 --- a/examples/knative/powercli/kn-pcli-ha-restarted-vms/function.yaml +++ b/examples/knative/powercli/kn-pcli-ha-restarted-vms/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-pcli-ha-restarted-vms:1.0 + - image: us.gcr.io/daisy-284300/veba/kn-pcli-ha-restarted-vms:1.1 envFrom: - secretRef: name: ha-secret diff --git a/examples/knative/powercli/kn-pcli-hostmaint-alarms/Dockerfile b/examples/knative/powercli/kn-pcli-hostmaint-alarms/Dockerfile index 49b2c980..260dfa8a 100644 --- a/examples/knative/powercli/kn-pcli-hostmaint-alarms/Dockerfile +++ b/examples/knative/powercli/kn-pcli-hostmaint-alarms/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powercli/kn-pcli-hostmaint-alarms/README.md b/examples/knative/powercli/kn-pcli-hostmaint-alarms/README.md index 7f696071..ff4e6a32 100644 --- a/examples/knative/powercli/kn-pcli-hostmaint-alarms/README.md +++ b/examples/knative/powercli/kn-pcli-hostmaint-alarms/README.md @@ -11,14 +11,16 @@ Create the container image locally to test your function logic. Mac/Linux ``` # change the IMAGE name accordingly, example below for Docker -export IMAGE=/kn-pcli-hostmaint-alarms:1.0 +export TAG= +export IMAGE=/kn-pcli-hostmaint-alarms:${TAG} docker build -t ${IMAGE} . ``` Windows ``` # change the IMAGE name accordingly, example below for Docker -$IMAGE="/kn-pcli-hostmaint-alarms:1.0" +$TAG= +$IMAGE="/kn-pcli-hostmaint-alarms:${TAG}" docker build -t ${IMAGE} . ``` # Step 2 - Test @@ -43,12 +45,14 @@ If you built a custom image in Step 1, comment out the default `IMAGE` command b Mac/Linux ```console -export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-hostmaint-alarms:1.0 +export TAG= +export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-hostmaint-alarms:${TAG} docker run -e FUNCTION_DEBUG=true -e PORT=8080 --env-file docker-test-env-variable -it --rm -p 8080:8080 ${IMAGE} ``` Windows ```console -$IMAGE="us.gcr.io/daisy-284300/veba/kn-pcli-hostmaint-alarms:1.0" +$TAG= +$IMAGE="us.gcr.io/daisy-284300/veba/kn-pcli-hostmaint-alarms:${TAG}" docker run -e FUNCTION_DEBUG=true -e PORT=8080 --env-file docker-test-env-variable -it --rm -p 8080:8080 ${IMAGE} ``` diff --git a/examples/knative/powercli/kn-pcli-hostmaint-alarms/function.yaml b/examples/knative/powercli/kn-pcli-hostmaint-alarms/function.yaml index 5b946227..581295e0 100644 --- a/examples/knative/powercli/kn-pcli-hostmaint-alarms/function.yaml +++ b/examples/knative/powercli/kn-pcli-hostmaint-alarms/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-pcli-hostmaint-alarms:1.0 + - image: us.gcr.io/daisy-284300/veba/kn-pcli-hostmaint-alarms:1.1 envFrom: - secretRef: name: hostmaint-secret diff --git a/examples/knative/powercli/kn-pcli-nsx-tag-sync/Dockerfile b/examples/knative/powercli/kn-pcli-nsx-tag-sync/Dockerfile index 49b2c980..260dfa8a 100644 --- a/examples/knative/powercli/kn-pcli-nsx-tag-sync/Dockerfile +++ b/examples/knative/powercli/kn-pcli-nsx-tag-sync/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powercli/kn-pcli-nsx-tag-sync/README.md b/examples/knative/powercli/kn-pcli-nsx-tag-sync/README.md index 91df477d..e2679f20 100644 --- a/examples/knative/powercli/kn-pcli-nsx-tag-sync/README.md +++ b/examples/knative/powercli/kn-pcli-nsx-tag-sync/README.md @@ -11,7 +11,8 @@ Create the container image locally to test your function logic. ``` # change the IMAGE name accordingly -export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-nsx-tag-sync:1.2 +export TAG= +export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-nsx-tag-sync:${TAG} docker build -t ${IMAGE} . ``` @@ -42,7 +43,8 @@ Update the following variable names within the `docker-test-env-variable` file Start the container image by running the following command: ```console -export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-nsx-tag-sync:1.2 +export TAG= +export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-nsx-tag-sync:${TAG} docker run -e FUNCTION_DEBUG=true -e PORT=8080 --env-file docker-test-env-variable -it --rm -p 8080:8080 ${IMAGE} ``` @@ -160,7 +162,8 @@ done developing and testing your function logic. > or `Dockerfile`. ```console -export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-nsx-tag-sync:1.2 +export TAG= +export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-nsx-tag-sync:${TAG} docker push ${IMAGE} ``` diff --git a/examples/knative/powercli/kn-pcli-nsx-tag-sync/function.yaml b/examples/knative/powercli/kn-pcli-nsx-tag-sync/function.yaml index bfe0e466..933b6863 100644 --- a/examples/knative/powercli/kn-pcli-nsx-tag-sync/function.yaml +++ b/examples/knative/powercli/kn-pcli-nsx-tag-sync/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-pcli-nsx-tag-sync:1.2 + - image: us.gcr.io/daisy-284300/veba/kn-pcli-nsx-tag-sync:1.3 envFrom: - secretRef: name: tag-secret diff --git a/examples/knative/powercli/kn-pcli-pg-check/Dockerfile b/examples/knative/powercli/kn-pcli-pg-check/Dockerfile index 49b2c980..260dfa8a 100644 --- a/examples/knative/powercli/kn-pcli-pg-check/Dockerfile +++ b/examples/knative/powercli/kn-pcli-pg-check/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powercli/kn-pcli-pg-check/README.md b/examples/knative/powercli/kn-pcli-pg-check/README.md index 26ea34fa..b80b2ce6 100644 --- a/examples/knative/powercli/kn-pcli-pg-check/README.md +++ b/examples/knative/powercli/kn-pcli-pg-check/README.md @@ -13,14 +13,16 @@ Create the container image locally to test your function logic. Mac/Linux ``` # change the IMAGE name accordingly, example below for Docker -export IMAGE=/kn-pcli-pg-check:1.0 +export TAG= +export IMAGE=/kn-pcli-pg-check:${TAG} docker build -t ${IMAGE} . ``` Windows ``` # change the IMAGE name accordingly, example below for Docker -$IMAGE="/kn-pcli-pg-check:1.0" +$TAG= +$IMAGE="/kn-pcli-pg-check:${TAG}" docker build -t ${IMAGE} . ``` # Step 2 - Test @@ -74,12 +76,14 @@ If you built a custom image in Step 1, comment out the default `IMAGE` command b Mac/Linux ```console -export IMAGE=us.gcr.io/daisy-284300/veba/kn-pg-check:1.0 +export TAG= +export IMAGE=us.gcr.io/daisy-284300/veba/kn-pg-check:${TAG} docker run -e FUNCTION_DEBUG=true -e PORT=8080 --env-file docker-test-env-variable -it --rm -p 8080:8080 ${IMAGE} ``` Windows ```console -$IMAGE="us.gcr.io/daisy-284300/veba/kn-pcli-pg-check:1.0" +$TAG= +$IMAGE="us.gcr.io/daisy-284300/veba/kn-pcli-pg-check:${TAG}" docker run -e FUNCTION_DEBUG=true -e PORT=8080 --env-file docker-test-env-variable -it --rm -p 8080:8080 ${IMAGE} ``` # Configure the payload file diff --git a/examples/knative/powercli/kn-pcli-pg-check/function.yaml b/examples/knative/powercli/kn-pcli-pg-check/function.yaml index 0958e03f..fa806d22 100644 --- a/examples/knative/powercli/kn-pcli-pg-check/function.yaml +++ b/examples/knative/powercli/kn-pcli-pg-check/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-pcli-pg-check:1.0 + - image: us.gcr.io/daisy-284300/veba/kn-pcli-pg-check:1.1 envFrom: - secretRef: name: pg-check-secret diff --git a/examples/knative/powercli/kn-pcli-snapshot-cron/Dockerfile b/examples/knative/powercli/kn-pcli-snapshot-cron/Dockerfile index 49b2c980..260dfa8a 100644 --- a/examples/knative/powercli/kn-pcli-snapshot-cron/Dockerfile +++ b/examples/knative/powercli/kn-pcli-snapshot-cron/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powercli/kn-pcli-snapshot-cron/function.yaml b/examples/knative/powercli/kn-pcli-snapshot-cron/function.yaml index e7df0287..483426cf 100644 --- a/examples/knative/powercli/kn-pcli-snapshot-cron/function.yaml +++ b/examples/knative/powercli/kn-pcli-snapshot-cron/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-pcli-snapshot-cron:1.0 + - image: us.gcr.io/daisy-284300/veba/kn-pcli-snapshot-cron:1.1 envFrom: - secretRef: name: snapshot-secret diff --git a/examples/knative/powercli/kn-pcli-tag/Dockerfile b/examples/knative/powercli/kn-pcli-tag/Dockerfile index 49b2c980..260dfa8a 100644 --- a/examples/knative/powercli/kn-pcli-tag/Dockerfile +++ b/examples/knative/powercli/kn-pcli-tag/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powercli/kn-pcli-tag/function.yaml b/examples/knative/powercli/kn-pcli-tag/function.yaml index ef845915..2fe96630 100644 --- a/examples/knative/powercli/kn-pcli-tag/function.yaml +++ b/examples/knative/powercli/kn-pcli-tag/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-pcli-tag:1.4 + - image: us.gcr.io/daisy-284300/veba/kn-pcli-tag:1.5 envFrom: - secretRef: name: tag-secret diff --git a/examples/knative/powercli/kn-pcli-telegram/Dockerfile b/examples/knative/powercli/kn-pcli-telegram/Dockerfile index 49b2c980..260dfa8a 100644 --- a/examples/knative/powercli/kn-pcli-telegram/Dockerfile +++ b/examples/knative/powercli/kn-pcli-telegram/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powercli/kn-pcli-telegram/function.yaml b/examples/knative/powercli/kn-pcli-telegram/function.yaml index c2a0f2ca..4608b8e4 100644 --- a/examples/knative/powercli/kn-pcli-telegram/function.yaml +++ b/examples/knative/powercli/kn-pcli-telegram/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-pcli-telegram:1.1 + - image: us.gcr.io/daisy-284300/veba/kn-pcli-telegram:1.2 envFrom: - secretRef: name: telegram-secret diff --git a/examples/knative/powercli/kn-pcli-template/Dockerfile b/examples/knative/powercli/kn-pcli-template/Dockerfile index 49b2c980..260dfa8a 100644 --- a/examples/knative/powercli/kn-pcli-template/Dockerfile +++ b/examples/knative/powercli/kn-pcli-template/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powercli/kn-pcli-template/README.md b/examples/knative/powercli/kn-pcli-template/README.md index 808b5a93..c5f5700c 100644 --- a/examples/knative/powercli/kn-pcli-template/README.md +++ b/examples/knative/powercli/kn-pcli-template/README.md @@ -23,14 +23,16 @@ Create the container image locally to test your function logic. Mac/Linux ``` # change the IMAGE name accordingly, example below for Docker -export IMAGE=/kn-pcli-#REPLACE-FN-NAME#:1.0 +export TAG= +export IMAGE=/kn-pcli-#REPLACE-FN-NAME#:${TAG} docker build -t ${IMAGE} . ``` Windows ``` # change the IMAGE name accordingly, example below for Docker -$IMAGE="/kn-pcli-#REPLACE-FN-NAME#:1.0" +$TAG= +$IMAGE="/kn-pcli-#REPLACE-FN-NAME#:${TAG}" docker build -t ${IMAGE} . ``` # Step 2 - Test @@ -55,12 +57,14 @@ If you built a custom image in Step 1, comment out the default `IMAGE` command b Mac/Linux ```console -export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-#REPLACE-FN-NAME#:1.0 +export TAG= +export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-#REPLACE-FN-NAME#:${TAG} docker run -e FUNCTION_DEBUG=true -e PORT=8080 --env-file docker-test-env-variable -it --rm -p 8080:8080 ${IMAGE} ``` Windows ```console -$IMAGE="us.gcr.io/daisy-284300/veba/kn-pcli-#REPLACE-FN-NAME#:1.0" +$TAG= +$IMAGE="us.gcr.io/daisy-284300/veba/kn-pcli-#REPLACE-FN-NAME#:${TAG}" docker run -e FUNCTION_DEBUG=true -e PORT=8080 --env-file docker-test-env-variable -it --rm -p 8080:8080 ${IMAGE} ``` diff --git a/examples/knative/powercli/kn-pcli-vds-config/Dockerfile b/examples/knative/powercli/kn-pcli-vds-config/Dockerfile index 49b2c980..260dfa8a 100644 --- a/examples/knative/powercli/kn-pcli-vds-config/Dockerfile +++ b/examples/knative/powercli/kn-pcli-vds-config/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powercli/kn-pcli-vds-config/README.md b/examples/knative/powercli/kn-pcli-vds-config/README.md index 29820c2b..fe2b4dc3 100644 --- a/examples/knative/powercli/kn-pcli-vds-config/README.md +++ b/examples/knative/powercli/kn-pcli-vds-config/README.md @@ -11,14 +11,16 @@ Create the container image locally to test your function logic. Mac/Linux ``` # change the IMAGE name accordingly, example below for Docker -export IMAGE=/kn-pcli-vds-config:1.0 +export TAG= +export IMAGE=/kn-pcli-vds-config:${TAG} docker build -t ${IMAGE} . ``` Windows ``` # change the IMAGE name accordingly, example below for Docker -$IMAGE="/kn-pcli-vds-config:1.0" +$TAG= +$IMAGE="/kn-pcli-vds-config:${TAG}" docker build -t ${IMAGE} . ``` # Step 2 - Test @@ -43,12 +45,14 @@ If you built a custom image in Step 1, comment out the default `IMAGE` command b Mac/Linux ```console -export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-vds-config:1.0 +export TAG= +export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-vds-config:${TAG} docker run -e FUNCTION_DEBUG=true -e PORT=8080 --env-file docker-test-env-variable -it --rm -p 8080:8080 ${IMAGE} ``` Windows ```console -$IMAGE="us.gcr.io/daisy-284300/veba/kn-pcli-vds-config:1.0" +$TAG= +$IMAGE="us.gcr.io/daisy-284300/veba/kn-pcli-vds-config:${TAG}" docker run -e FUNCTION_DEBUG=true -e PORT=8080 --env-file docker-test-env-variable -it --rm -p 8080:8080 ${IMAGE} ``` diff --git a/examples/knative/powercli/kn-pcli-vds-config/function.yaml b/examples/knative/powercli/kn-pcli-vds-config/function.yaml index 1333a031..ddb3e223 100644 --- a/examples/knative/powercli/kn-pcli-vds-config/function.yaml +++ b/examples/knative/powercli/kn-pcli-vds-config/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-pcli-vds-config:1.0 + - image: us.gcr.io/daisy-284300/veba/kn-pcli-vds-config:1.1 envFrom: - secretRef: name: vds-secret diff --git a/examples/knative/powercli/kn-pcli-vds-pg-config/Dockerfile b/examples/knative/powercli/kn-pcli-vds-pg-config/Dockerfile index 49b2c980..260dfa8a 100644 --- a/examples/knative/powercli/kn-pcli-vds-pg-config/Dockerfile +++ b/examples/knative/powercli/kn-pcli-vds-pg-config/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-pcli-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powercli/kn-pcli-vds-pg-config/README.md b/examples/knative/powercli/kn-pcli-vds-pg-config/README.md index da165653..519fc418 100644 --- a/examples/knative/powercli/kn-pcli-vds-pg-config/README.md +++ b/examples/knative/powercli/kn-pcli-vds-pg-config/README.md @@ -11,14 +11,16 @@ Create the container image locally to test your function logic. Mac/Linux ``` # change the IMAGE name accordingly, example below for Docker -export IMAGE=/kn-pcli-vds-pg-config:1.0 +export TAG= +export IMAGE=/kn-pcli-vds-pg-config:${TAG} docker build -t ${IMAGE} . ``` Windows ``` # change the IMAGE name accordingly, example below for Docker -$IMAGE="/kn-pcli-vds-pg-config:1.0" +$TAG="" +$IMAGE="/kn-pcli-vds-pg-config:${TAG}" docker build -t ${IMAGE} . ``` # Step 2 - Test @@ -42,12 +44,14 @@ If you built a custom image in Step 1, comment out the default `IMAGE` command b Mac/Linux ```console -export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-vds-pg-config:1.0 +export TAG= +export IMAGE=us.gcr.io/daisy-284300/veba/kn-pcli-vds-pg-config:${TAG} docker run -e FUNCTION_DEBUG=true -e PORT=8080 --env-file docker-test-env-variable -it --rm -p 8080:8080 ${IMAGE} ``` Windows ```console -IMAGE="us.gcr.io/daisy-284300/veba/kn-pcli-vds-pg-config:1.0" +$TAG= +$IMAGE="us.gcr.io/daisy-284300/veba/kn-pcli-vds-pg-config:${TAG}" docker run -e FUNCTION_DEBUG=true -e PORT=8080 --env-file docker-test-env-variable -it --rm -p 8080:8080 ${IMAGE} ``` diff --git a/examples/knative/powercli/kn-pcli-vds-pg-config/function.yaml b/examples/knative/powercli/kn-pcli-vds-pg-config/function.yaml index 357bc61e..efa81208 100644 --- a/examples/knative/powercli/kn-pcli-vds-pg-config/function.yaml +++ b/examples/knative/powercli/kn-pcli-vds-pg-config/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-pcli-vds-pg-config:1.0 + - image: us.gcr.io/daisy-284300/veba/kn-pcli-vds-pg-config:1.1 envFrom: - secretRef: name: vds-pg-secret diff --git a/examples/knative/powershell/kn-ps-echo/Dockerfile b/examples/knative/powershell/kn-ps-echo/Dockerfile index 1b16e1ef..4a8b4dbe 100644 --- a/examples/knative/powershell/kn-ps-echo/Dockerfile +++ b/examples/knative/powershell/kn-ps-echo/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powershell/kn-ps-echo/function.yaml b/examples/knative/powershell/kn-ps-echo/function.yaml index 3a9312e7..be174319 100644 --- a/examples/knative/powershell/kn-ps-echo/function.yaml +++ b/examples/knative/powershell/kn-ps-echo/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-ps-echo:1.4 + - image: us.gcr.io/daisy-284300/veba/kn-ps-echo:1.5 --- apiVersion: eventing.knative.dev/v1 kind: Trigger diff --git a/examples/knative/powershell/kn-ps-email/Dockerfile b/examples/knative/powershell/kn-ps-email/Dockerfile index f3bd629c..eecf3548 100644 --- a/examples/knative/powershell/kn-ps-email/Dockerfile +++ b/examples/knative/powershell/kn-ps-email/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.5 ARG MAILKIT_VERSION="3.1.0" diff --git a/examples/knative/powershell/kn-ps-email/function.yaml b/examples/knative/powershell/kn-ps-email/function.yaml index 21d6a503..3d05f6df 100644 --- a/examples/knative/powershell/kn-ps-email/function.yaml +++ b/examples/knative/powershell/kn-ps-email/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-ps-email:1.4 + - image: us.gcr.io/daisy-284300/veba/kn-ps-email:1.5 envFrom: - secretRef: name: email-secret diff --git a/examples/knative/powershell/kn-ps-harbor-slack/Dockerfile b/examples/knative/powershell/kn-ps-harbor-slack/Dockerfile index 1b16e1ef..4a8b4dbe 100644 --- a/examples/knative/powershell/kn-ps-harbor-slack/Dockerfile +++ b/examples/knative/powershell/kn-ps-harbor-slack/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powershell/kn-ps-harbor-slack/README.md b/examples/knative/powershell/kn-ps-harbor-slack/README.md index 7fcaac9b..ca5a38cd 100644 --- a/examples/knative/powershell/kn-ps-harbor-slack/README.md +++ b/examples/knative/powershell/kn-ps-harbor-slack/README.md @@ -7,7 +7,8 @@ Example Knative PowerShell function for sending Harbor CloudEvents to a Slack we Create the container image locally to test your function logic. Change the IMAGE name accordingly, example below for Docker. ```console -export IMAGE=/kn-ps-#REPLACE-FN-NAME#:1.0 +export TAG= +export IMAGE=/kn-ps-#REPLACE-FN-NAME#:${TAG} docker build -t ${IMAGE} ``` diff --git a/examples/knative/powershell/kn-ps-harbor-slack/function.yaml b/examples/knative/powershell/kn-ps-harbor-slack/function.yaml index 6fff81a3..65f33daa 100644 --- a/examples/knative/powershell/kn-ps-harbor-slack/function.yaml +++ b/examples/knative/powershell/kn-ps-harbor-slack/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-ps-harbor-slack:1.0 + - image: us.gcr.io/daisy-284300/veba/kn-ps-harbor-slack:1.1 envFrom: - secretRef: name: harbor-slack-secret diff --git a/examples/knative/powershell/kn-ps-horizon-login-slack/Dockerfile b/examples/knative/powershell/kn-ps-horizon-login-slack/Dockerfile index 1b16e1ef..4a8b4dbe 100644 --- a/examples/knative/powershell/kn-ps-horizon-login-slack/Dockerfile +++ b/examples/knative/powershell/kn-ps-horizon-login-slack/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powershell/kn-ps-horizon-login-slack/function.yaml b/examples/knative/powershell/kn-ps-horizon-login-slack/function.yaml index 93769e01..f449209f 100644 --- a/examples/knative/powershell/kn-ps-horizon-login-slack/function.yaml +++ b/examples/knative/powershell/kn-ps-horizon-login-slack/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-ps-horizon-login-slack:1.1 + - image: us.gcr.io/daisy-284300/veba/kn-ps-horizon-login-slack:1.2 envFrom: - secretRef: name: slack-secret diff --git a/examples/knative/powershell/kn-ps-ngw-slack/Dockerfile b/examples/knative/powershell/kn-ps-ngw-slack/Dockerfile index 1b16e1ef..4a8b4dbe 100644 --- a/examples/knative/powershell/kn-ps-ngw-slack/Dockerfile +++ b/examples/knative/powershell/kn-ps-ngw-slack/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powershell/kn-ps-ngw-slack/function.yaml b/examples/knative/powershell/kn-ps-ngw-slack/function.yaml index 9d527515..23e41237 100644 --- a/examples/knative/powershell/kn-ps-ngw-slack/function.yaml +++ b/examples/knative/powershell/kn-ps-ngw-slack/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-ps-ngw-slack:1.1 + - image: us.gcr.io/daisy-284300/veba/kn-ps-ngw-slack:1.2 envFrom: - secretRef: name: slack-secret diff --git a/examples/knative/powershell/kn-ps-ngw-teams/Dockerfile b/examples/knative/powershell/kn-ps-ngw-teams/Dockerfile index 1b16e1ef..4a8b4dbe 100644 --- a/examples/knative/powershell/kn-ps-ngw-teams/Dockerfile +++ b/examples/knative/powershell/kn-ps-ngw-teams/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powershell/kn-ps-ngw-teams/function.yaml b/examples/knative/powershell/kn-ps-ngw-teams/function.yaml index 4ced9936..3c84561c 100644 --- a/examples/knative/powershell/kn-ps-ngw-teams/function.yaml +++ b/examples/knative/powershell/kn-ps-ngw-teams/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-ps-ngw-teams:1.1 + - image: us.gcr.io/daisy-284300/veba/kn-ps-ngw-teams:1.2 envFrom: - secretRef: name: teams-secret diff --git a/examples/knative/powershell/kn-ps-slack-vsphere-alarm/Dockerfile b/examples/knative/powershell/kn-ps-slack-vsphere-alarm/Dockerfile index 1b16e1ef..4a8b4dbe 100644 --- a/examples/knative/powershell/kn-ps-slack-vsphere-alarm/Dockerfile +++ b/examples/knative/powershell/kn-ps-slack-vsphere-alarm/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powershell/kn-ps-slack-vsphere-alarm/function.yaml b/examples/knative/powershell/kn-ps-slack-vsphere-alarm/function.yaml index dad84235..b92492cd 100644 --- a/examples/knative/powershell/kn-ps-slack-vsphere-alarm/function.yaml +++ b/examples/knative/powershell/kn-ps-slack-vsphere-alarm/function.yaml @@ -13,7 +13,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-ps-slack-vsphere-alarm:1.3 + - image: us.gcr.io/daisy-284300/veba/kn-ps-slack-vsphere-alarm:1.4 envFrom: - secretRef: name: slack-secret diff --git a/examples/knative/powershell/kn-ps-slack/Dockerfile b/examples/knative/powershell/kn-ps-slack/Dockerfile index 1b16e1ef..4a8b4dbe 100644 --- a/examples/knative/powershell/kn-ps-slack/Dockerfile +++ b/examples/knative/powershell/kn-ps-slack/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powershell/kn-ps-slack/function.yaml b/examples/knative/powershell/kn-ps-slack/function.yaml index 292e72b4..076734f6 100644 --- a/examples/knative/powershell/kn-ps-slack/function.yaml +++ b/examples/knative/powershell/kn-ps-slack/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-ps-slack:1.5 + - image: us.gcr.io/daisy-284300/veba/kn-ps-slack:1.6 envFrom: - secretRef: name: slack-secret diff --git a/examples/knative/powershell/kn-ps-twillio-sms/Dockerfile b/examples/knative/powershell/kn-ps-twillio-sms/Dockerfile index 1b16e1ef..4a8b4dbe 100644 --- a/examples/knative/powershell/kn-ps-twillio-sms/Dockerfile +++ b/examples/knative/powershell/kn-ps-twillio-sms/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powershell/kn-ps-twillio-sms/function.yaml b/examples/knative/powershell/kn-ps-twillio-sms/function.yaml index 967f3629..6271b301 100644 --- a/examples/knative/powershell/kn-ps-twillio-sms/function.yaml +++ b/examples/knative/powershell/kn-ps-twillio-sms/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-ps-twillo-sms:1.1 + - image: us.gcr.io/daisy-284300/veba/kn-ps-twillo-sms:1.2 envFrom: - secretRef: name: sms-secret diff --git a/examples/knative/powershell/kn-ps-vrni-databus/Dockerfile b/examples/knative/powershell/kn-ps-vrni-databus/Dockerfile index b9e212c4..f1e0f193 100644 --- a/examples/knative/powershell/kn-ps-vrni-databus/Dockerfile +++ b/examples/knative/powershell/kn-ps-vrni-databus/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.5 COPY server.ps1 server.ps1 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powershell/kn-ps-vrni-databus/function.yaml b/examples/knative/powershell/kn-ps-vrni-databus/function.yaml index 34ea1e89..00431562 100644 --- a/examples/knative/powershell/kn-ps-vrni-databus/function.yaml +++ b/examples/knative/powershell/kn-ps-vrni-databus/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-ps-vrni-databus:1.0 + - image: us.gcr.io/daisy-284300/veba/kn-ps-vrni-databus:1.1 envFrom: - secretRef: name: webhook-secret diff --git a/examples/knative/powershell/kn-ps-vsphere-inv-slack/Dockerfile b/examples/knative/powershell/kn-ps-vsphere-inv-slack/Dockerfile index 9e5798ac..4a8b4dbe 100644 --- a/examples/knative/powershell/kn-ps-vsphere-inv-slack/Dockerfile +++ b/examples/knative/powershell/kn-ps-vsphere-inv-slack/Dockerfile @@ -1,4 +1,4 @@ -FROM projects.registry.vmware.com/veba/ce-ps-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powershell/kn-ps-vsphere-inv-slack/function.yaml b/examples/knative/powershell/kn-ps-vsphere-inv-slack/function.yaml index fbee550f..ca801385 100644 --- a/examples/knative/powershell/kn-ps-vsphere-inv-slack/function.yaml +++ b/examples/knative/powershell/kn-ps-vsphere-inv-slack/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: projects.registry.vmware.com/veba/kn-ps-vsphere-inv-slack:1.0 + - image: us.gcr.io/daisy-284300/veba/kn-ps-vsphere-inv-slack:1.1 envFrom: - secretRef: name: slack-secret diff --git a/examples/knative/powershell/kn-ps-webhook/Dockerfile b/examples/knative/powershell/kn-ps-webhook/Dockerfile index 94b815b3..f22be9b5 100644 --- a/examples/knative/powershell/kn-ps-webhook/Dockerfile +++ b/examples/knative/powershell/kn-ps-webhook/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.5 COPY server.ps1 server.ps1 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powershell/kn-ps-webhook/function.yaml b/examples/knative/powershell/kn-ps-webhook/function.yaml index f3379f53..d429b5d9 100644 --- a/examples/knative/powershell/kn-ps-webhook/function.yaml +++ b/examples/knative/powershell/kn-ps-webhook/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-ps-webhook:1.1 + - image: us.gcr.io/daisy-284300/veba/kn-ps-webhook:1.2 envFrom: - secretRef: name: webhook-secret diff --git a/examples/knative/powershell/kn-ps-zapier/Dockerfile b/examples/knative/powershell/kn-ps-zapier/Dockerfile index 1b16e1ef..4a8b4dbe 100644 --- a/examples/knative/powershell/kn-ps-zapier/Dockerfile +++ b/examples/knative/powershell/kn-ps-zapier/Dockerfile @@ -1,4 +1,4 @@ -FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.4 +FROM us.gcr.io/daisy-284300/veba/ce-ps-base:1.5 COPY handler.ps1 handler.ps1 diff --git a/examples/knative/powershell/kn-ps-zapier/function.yaml b/examples/knative/powershell/kn-ps-zapier/function.yaml index fb162832..4ad0af23 100644 --- a/examples/knative/powershell/kn-ps-zapier/function.yaml +++ b/examples/knative/powershell/kn-ps-zapier/function.yaml @@ -12,7 +12,7 @@ spec: autoscaling.knative.dev/minScale: "1" spec: containers: - - image: us.gcr.io/daisy-284300/veba/kn-ps-zapier:1.0 + - image: us.gcr.io/daisy-284300/veba/kn-ps-zapier:1.1 envFrom: - secretRef: name: zapier-secret