This repository has been archived by the owner on Jul 6, 2024. It is now read-only.
feat(helm)!: Update chart prometheus-operator-crds ( 11.0.0 → 12.0.0 … #1774
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: "Flux Kustomization Sync" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/flux-ks-sync.yaml | |
- kubernetes/main/** | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
sync: | |
name: Flux Kustomization Sync | |
runs-on: | |
- arc-runner-set-greyrock-ops | |
environment: production | |
strategy: | |
matrix: | |
cluster: | |
- main | |
steps: | |
- name: Install Flux | |
uses: fluxcd/flux2/action@main | |
with: | |
version: "latest" | |
- name: Write kubeconfig | |
id: kubeconfig | |
uses: timheuer/base64-to-file@v1 | |
with: | |
encodedString: "${{ secrets.KUBECONFIG }}" | |
fileName: kubeconfig | |
- name: Sync Kustomization | |
env: | |
KUBECONFIG: "${{ steps.kubeconfig.outputs.filePath }}" | |
shell: bash | |
run: | | |
flux \ | |
--context "flux@${{ matrix.cluster }}" \ | |
--namespace flux-system \ | |
reconcile ks cluster \ | |
--with-source |