Skip to content

Commit 329499e

Browse files
author
Peter Greczner
authored
Fix KUBECTL_ACTION and README.md (#37)
* Update the dry-run to use the KUBECTL_ACTION so that any error/info messages match what will actually be run * Update the README example to use current parameters * Update the version
1 parent 39442a3 commit 329499e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ steps:
7676
deploy-to-kubernetes:
7777
image: codefresh/cf-deploy-kubernetes
7878
tag: latest
79-
working-directory: ${{initial-clone}}
79+
working_directory: ${{clone}}
8080
commands:
8181
- /cf-deploy-kubernetes deployment.yml
8282
environment:

cf-deploy-kubernetes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ $(dirname $0)/template.sh "$deployment_file" > "$DEPLOYMENT_FILE" || fatal "Fail
7878

7979
echo -e "\n\n---> Kubernetes objects to deploy in $deployment_file :"
8080
KUBECTL_OBJECTS=/tmp/deployment.objects
81-
kubectl apply \
81+
kubectl $KUBECTL_ACTION \
8282
--context "${KUBECONTEXT}" \
8383
--namespace "${KUBERNETES_NAMESPACE}" \
8484
--dry-run \

service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version: 16.1.1
1+
version: 16.1.2
22

0 commit comments

Comments
 (0)