Skip to content

Update dependency prometheus/prometheus to v3 #152

Update dependency prometheus/prometheus to v3

Update dependency prometheus/prometheus to v3 #152

name: Kustomize build kind overlays
on:
pull_request:
branches:
- main
jobs:
kustomize-sops-build:
strategy:
matrix:
path:
- apps
- argocd/overlays/kind
- cert-manager/overlays/kind
- nginx-ingress/overlays/kind
- gitea/overlays/kind
- nextcloud/overlays/kind
- cloudnative-pg/overlays/kind
- pi-hole/overlays/kind
- metallb/overlays/kind
- minio/overlays/kind
env:
KSS_VERSION: 1.6.0
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
- name: List keys
run: gpg -K
- name: Install Sops
uses: mdgreenwald/[email protected]
- name: Install Kustomize
uses: imranismail/setup-kustomize@v2
with:
kustomize-version: '5.1.1'
- name: Install SopsSecretGenerator plugin
run: |
mkdir -p /home/runner/kustomize/plugin/goabout.com/v1beta1/sopssecretgenerator
wget -O /home/runner/kustomize/plugin/goabout.com/v1beta1/sopssecretgenerator/SopsSecretGenerator https://github.com/goabout/kustomize-sopssecretgenerator/releases/download/v${KSS_VERSION}/SopsSecretGenerator_${KSS_VERSION}_linux_amd64
chmod +x /home/runner/kustomize/plugin/goabout.com/v1beta1/sopssecretgenerator/SopsSecretGenerator
- name: Kustomize build
run: kustomize build --enable-alpha-plugins ${{ matrix.path }}