Refactor file path in actions-validate.yml and update input parameters for vault master password, ansible user, and trusted hosts
This commit is contained in:
@@ -25,15 +25,7 @@ runs:
|
||||
mkdir -p ~/.kube
|
||||
ansible -i ansible/inventory/hosts -u $ANSIBLE_USER -m fetch -a "src=/home/$ANSIBLE_USER/.kube/config dest=~/.kube/config flat=yes" $K8S_TARGET
|
||||
|
||||
- name: Terraform Init
|
||||
shell: bash
|
||||
env:
|
||||
VAULT_MASTER_PASSWORD: ${{ inputs.vault-master-password }}
|
||||
run: |
|
||||
cd terraform/k8sapps
|
||||
sectool exec terraform init
|
||||
|
||||
- name: Terraform Apply
|
||||
- name: Forward K8S API Server port
|
||||
shell: bash
|
||||
env:
|
||||
VAULT_MASTER_PASSWORD: ${{ inputs.vault-master-password }}
|
||||
|
||||
@@ -88,7 +88,7 @@ jobs:
|
||||
|
||||
- name: Test kubectl get nodes
|
||||
run: |
|
||||
kubectl get nodes
|
||||
kubectl get nodes --insecure-skip-tls-verify
|
||||
|
||||
- name: Test terraform
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user