File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ BEARER_TOKEN=$(kubectl get secret ${SECRET_NAME} -n ${NAMESPACE} -o jsonpath='{.
27
27
28
28
# write KUBE_COPNFIG_DATA to local file
29
29
CLUSTER_NAME=$( echo ${SERVER} | sed s/' http[s]\?:\/\/' //)
30
- kubectl config set-cluster " ${CLUSTER_NAME} " --server=${SERVER} --certificate-authority=${CACERT}
31
- kubectl config set-credentials ${SERVICE_ACCOUNT_NAME} --token ${BEARER_TOKEN}
32
- kubectl config set-context " ${CONTEXT_NAME} " --cluster=" ${CLUSTER_NAME} " --user=${SERVICE_ACCOUNT_NAME}
30
+ kubectl config set-cluster " ${CLUSTER_NAME} " --server=" ${SERVER} " --certificate-authority=" ${CACERT} "
31
+ kubectl config set-credentials " ${SERVICE_ACCOUNT_NAME} " --token " ${BEARER_TOKEN} "
32
+ kubectl config set-context " ${CONTEXT_NAME} " --cluster=" ${CLUSTER_NAME} " --user=" ${SERVICE_ACCOUNT_NAME} "
33
33
KUBE_CONFIG_B64=$( kubectl config view --minify --flatten --output json --context=" ${CONTEXT_NAME} " | base64 -w 0)
34
34
35
35
STATUS_CODE=$( curl -X POST ${INGRESS_URL} /app-proxy/api/clusters \
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ type: application
6
6
7
7
version : 0.2.0
8
8
9
- appVersion : 0.3.1
9
+ appVersion : 0.4.0
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace: kube-system
4
4
5
5
images :
6
6
- name : quay.io/codefresh/csdp-add-cluster
7
- newTag : 0.3.1
7
+ newTag : 0.4.0
8
8
9
9
resources :
10
10
- configmap.yaml
Original file line number Diff line number Diff line change @@ -11,4 +11,4 @@ configMapGenerator:
11
11
- name : codefresh-cm
12
12
behavior : create
13
13
literals :
14
- - version=0.0.425
14
+ - version=0.0.428
You can’t perform that action at this time.
0 commit comments