cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit c403c5ccb43b7d62576093027aaeab5f19378b1c
parent 58ec5e58d9d431c46a08a594d19cc1d6439ef89b
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 17 Mar 2023 20:13:11 +0100

Add status updates

Diffstat:
Ainfrastructure/notifications/git-notifications.yaml | 48++++++++++++++++++++++++++++++++++++++++++++++++
Ainfrastructure/notifications/git-tokens.yaml | 55+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Minfrastructure/notifications/kustomization.yaml | 2++
3 files changed, 105 insertions(+), 0 deletions(-)

diff --git a/infrastructure/notifications/git-notifications.yaml b/infrastructure/notifications/git-notifications.yaml @@ -0,0 +1,48 @@ +--- +apiVersion: notification.toolkit.fluxcd.io/v1beta2 +kind: Provider +metadata: + name: flux-system-github + namespace: flux-system +spec: + type: github + address: https://github.com/MTRNord/cluster + secretRef: + name: github +--- +apiVersion: notification.toolkit.fluxcd.io/v1beta2 +kind: Provider +metadata: + name: flux-system-gitea + namespace: flux-system +spec: + type: gitea + address: https://github.com/MTRNord/cluster + secretRef: + name: gitea +--- +apiVersion: notification.toolkit.fluxcd.io/v1beta2 +kind: Alert +metadata: + name: deployment-status-github + namespace: flux-system +spec: + providerRef: + name: flux-system-github + eventSeverity: info + eventSources: + - kind: Kustomization + name: "*" +--- +apiVersion: notification.toolkit.fluxcd.io/v1beta2 +kind: Alert +metadata: + name: deployment-status-gitea + namespace: flux-system +spec: + providerRef: + name: flux-system-gitea + eventSeverity: info + eventSources: + - kind: Kustomization + name: "*" diff --git a/infrastructure/notifications/git-tokens.yaml b/infrastructure/notifications/git-tokens.yaml @@ -0,0 +1,55 @@ +apiVersion: v1 +kind: Secret +metadata: + name: github + namespace: flux-system +stringData: + token: ENC[AES256_GCM,data:qzoQxD/7x1Y5uG78H2pPe+OTsyHzOy479j4POMsz8SZG6Msaq3DOLg==,iv:i428K+sYlKNEiHyEgMP0Lm5r5ZQDmP3bkYAhaSIr1zo=,tag:RbD/AcVztPBybKa3k0x/Fg==,type:str] +sops: + kms: [] + gcp_kms: [] + azure_kv: [] + hc_vault: [] + age: + - recipient: age1esjyg2qfy49awv0ptkzvpk425adczjr38m37w2mmcahzc4p8n54sll2nzh + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSByM1RWNDVwWlh1S0RlYW10 + bFVVaUlnc25WeEZneTlZQ1FZSVVCRTVYQ1RzCnlvTTNWNkdMVnJnUm51eURLRDlD + bEZIK052RUxybDhPY0hQYU1sR044N1UKLS0tIFh4YUhZKzZWMlp3dEZETU56RDVp + RU5KWnZuYkNtTmJVZlF3RVR4c1pPMGsKLwyOTF4JnvYNtdDUqh/m3Ofc7h6xLewb + oiya8FBoRC1JNHEaq6sP/3GxXEdjU3wZB4sXQLXAFPMl7G5fXWgMtg== + -----END AGE ENCRYPTED FILE----- + lastmodified: "2023-03-17T19:11:08Z" + mac: ENC[AES256_GCM,data:kWCr87xTg2ZtqsR1K+34QAKoHABLc1wiPM4+RStR2K/AbVcOb3aIUiThY24cUrh/RDGsk0s0vkZTbS03LmxsjGrHhi9y749pHkstb+2kjsQFqS34Ba8zlJJEApl8MFbj8MYVHNVGuqrCSXNB08nXkVCHR35an+Gn0yqVqP8hMpE=,iv:t+tvpfwmG9UUX//FMxYQBNn0QfmSeRrQoVS4Y3mx0Xo=,tag:F6iJGdi55QLwC1KllSiCHg==,type:str] + pgp: [] + encrypted_regex: ^(data|stringData)$ + version: 3.7.3 +--- +apiVersion: v1 +kind: Secret +metadata: + name: gitea + namespace: flux-system +stringData: + token: ENC[AES256_GCM,data:eDEX+k/zN01JhFAV/bEF9bv2ui53UDd4QubD2PbhsCmtD9DFlt6ieA==,iv:uj6efLEUhMk74AnbHtjZvBLHKOvQTYP2mrNYNaQWfuw=,tag:foc3ITS2zs2Fi7fHa9M2qw==,type:str] +sops: + kms: [] + gcp_kms: [] + azure_kv: [] + hc_vault: [] + age: + - recipient: age1esjyg2qfy49awv0ptkzvpk425adczjr38m37w2mmcahzc4p8n54sll2nzh + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSByM1RWNDVwWlh1S0RlYW10 + bFVVaUlnc25WeEZneTlZQ1FZSVVCRTVYQ1RzCnlvTTNWNkdMVnJnUm51eURLRDlD + bEZIK052RUxybDhPY0hQYU1sR044N1UKLS0tIFh4YUhZKzZWMlp3dEZETU56RDVp + RU5KWnZuYkNtTmJVZlF3RVR4c1pPMGsKLwyOTF4JnvYNtdDUqh/m3Ofc7h6xLewb + oiya8FBoRC1JNHEaq6sP/3GxXEdjU3wZB4sXQLXAFPMl7G5fXWgMtg== + -----END AGE ENCRYPTED FILE----- + lastmodified: "2023-03-17T19:11:08Z" + mac: ENC[AES256_GCM,data:kWCr87xTg2ZtqsR1K+34QAKoHABLc1wiPM4+RStR2K/AbVcOb3aIUiThY24cUrh/RDGsk0s0vkZTbS03LmxsjGrHhi9y749pHkstb+2kjsQFqS34Ba8zlJJEApl8MFbj8MYVHNVGuqrCSXNB08nXkVCHR35an+Gn0yqVqP8hMpE=,iv:t+tvpfwmG9UUX//FMxYQBNn0QfmSeRrQoVS4Y3mx0Xo=,tag:F6iJGdi55QLwC1KllSiCHg==,type:str] + pgp: [] + encrypted_regex: ^(data|stringData)$ + version: 3.7.3 diff --git a/infrastructure/notifications/kustomization.yaml b/infrastructure/notifications/kustomization.yaml @@ -3,3 +3,5 @@ kind: Kustomization resources: - matrix-token.yaml - matrix-notifications.yaml + - git-tokens.yaml + - git-notifications.yaml