Skip to content

Update cert-manager to version 1.16.2 #99

Update cert-manager to version 1.16.2

Update cert-manager to version 1.16.2 #99

Workflow file for this run

name: Terraform Plan
on:
pull_request:
paths:
- 'terraform/**'
- 'terraform/**/*.yaml'
workflow_dispatch:
jobs:
plan:
runs-on: gha-runner-scale-set-kub1k
permissions:
contents: read
pull-requests: write
name: Create terraform plan
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: terraform plan
uses: dflook/terraform-plan@v1.44
with:
path: terraform
workspace: kub1k
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
TERRAFORM_PRE_RUN: |
mkdir -p ~/.ssh
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
apt-get update
apt-get install openssh-client -y
eval $(ssh-agent)
ssh-add ~/.ssh/id_rsa
curl -sSL https://s3.m1k.cloud/tools/k3sup > k3sup
chmod +x k3sup
mv k3sup /usr/bin/k3sup
mkdir -p ~/.kube/config-files