Updated to new sectool
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
name: Setup K8S Environment
|
||||
description: Prepare the environment for A13labs CI/CD pipelines
|
||||
inputs:
|
||||
vault-master-password:
|
||||
description: "The master password for the vault"
|
||||
access-token:
|
||||
description: "Bitwarden access token"
|
||||
required: true
|
||||
project-id:
|
||||
description: "Bitwarden project ID"
|
||||
required: true
|
||||
organization-id:
|
||||
description: "Bitwarden organization ID"
|
||||
required: true
|
||||
ansible-user:
|
||||
description: "The user to use for Ansible"
|
||||
@@ -20,7 +26,9 @@ runs:
|
||||
- name: Copy Kube Config from remote host
|
||||
shell: bash
|
||||
env:
|
||||
VAULT_MASTER_PASSWORD: ${{ inputs.vault-master-password }}
|
||||
BW_ACCESS_TOKEN: ${{ inputs.access-token }}
|
||||
BW_PROJECT_ID: ${{ inputs.project-id }}
|
||||
BW_ORGANIZATION_ID: ${{ inputs.organization-id }}
|
||||
ANSIBLE_USER: ${{ inputs.ansible-user }}
|
||||
SSH_AUTH_SOCK: ${{ inputs.ssh-auth-sock }}
|
||||
K8S_TARGET: ${{ inputs.k8s-target }}
|
||||
@@ -31,7 +39,9 @@ runs:
|
||||
- name: Forward K8S API Server port
|
||||
shell: bash
|
||||
env:
|
||||
VAULT_MASTER_PASSWORD: ${{ inputs.vault-master-password }}
|
||||
BW_ACCESS_TOKEN: ${{ inputs.access-token }}
|
||||
BW_PROJECT_ID: ${{ inputs.project-id }}
|
||||
BW_ORGANIZATION_ID: ${{ inputs.organization-id }}
|
||||
ANSIBLE_USER: ${{ inputs.ansible-user }}
|
||||
SSH_AUTH_SOCK: ${{ inputs.ssh-auth-sock }}
|
||||
K8S_TARGET: ${{ inputs.k8s-target }}
|
||||
|
||||
Reference in New Issue
Block a user