This repository was archived by the owner on May 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
.github/actions/deploy_to_kubernetes Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,16 @@ inputs:
1111 CA_CRT :
1212 description : Kubernetes CA certificate
1313 required : true
14+ KUBE_SERVER :
15+ description : Kubernetes server
16+ required : true
17+ SERVICEACCOUNT_TOKEN :
18+ description : Kubernetes service account token
19+ required : true
1420runs :
1521 using : composite
1622 steps :
17- - name : Setup Environment variables
23+ - name : Setup Environment variables
1824 run : |
1925 echo "NAMESPACE=${{ inputs.K8S_NAMESPACE }}" >> "$GITHUB_ENV"
2026 echo "KUBE_SERVER=${{ inputs.KUBE_SERVER }}" >> "$GITHUB_ENV"
2430 shell : bash
2531 - name : Deploying to k8s cluster for service ${{ inputs.K8S_NAMESPACE }} 🚀
2632 run : |
27- git clone https://github.com/binary-com/devops-ci-scripts
28- cd devops-ci-scripts/k8s-build_tools
29- echo ${{ inputs.CA_CRT }} | base64 --decode > ca.crt
30- export CA="ca.crt"
31- ./release.sh ${APP_NAME} ${{ inputs.K8S_VERSION }}
33+ git clone https://github.com/binary-com/devops-ci-scripts
34+ cd devops-ci-scripts/k8s-build_tools
35+ echo ${{ inputs.CA_CRT }} | base64 --decode > ca.crt
36+ export CA="ca.crt"
37+ ./release.sh ${APP_NAME} ${{ inputs.K8S_VERSION }}
3238 shell : bash
You can’t perform that action at this time.
0 commit comments