Skip to content

Commit

Permalink
creates fake kubeconfig file for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosvalarezo committed Sep 1, 2023
1 parent 8acd2f0 commit 1b1e2eb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/cv-infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,16 @@ jobs:
echo ${GPG_PRIVATE_KEY} | base64 --decode | gpg --import --batch
- name: Creates the k8s cluster using eksctl
if: false
run: eksctl create cluster -f ${GITHUB_WORKSPACE}/eksk8s/cluster-config.yaml

- name: Creates fake kubeconfig file
run: |
mkdir ${HOME}/.kube/
cat << EOF > ${HOME}/.kube/config
Line1
EOF
- name: Encrypts the kubeconfig file
run: gpg --encrypt -r ${RECIPIENT_ID} --output kube_config.gpg ${HOME}/.kube/config

Expand Down

0 comments on commit 1b1e2eb

Please sign in to comment.