🚑 fix weaveworks gitops

This commit is contained in:
auricom
2023-09-14 18:53:43 +02:00
parent d692ce456f
commit 2bdc0a928d
11 changed files with 42 additions and 52 deletions

View File

@@ -2,19 +2,19 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: flux
name: github-token
namespace: flux-system
spec:
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-connect
target:
name: github-notification-token
name: github-token-secret
creationPolicy: Owner
template:
engineVersion: v2
data:
token: '{{ .GITHUB_NOTIFICATION_WEBHOOK_TOKEN }}'
token: '{{ .GITHUB_NOTIFICATION_TOKEN }}'
dataFrom:
- extract:
key: weaveworks

View File

@@ -1,6 +1,6 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/provider_v1beta2.json
apiVersion: notification.toolkit.fluxcd.io/v1beta1
apiVersion: notification.toolkit.fluxcd.io/v1beta2
kind: Provider
metadata:
name: github
@@ -9,10 +9,10 @@ spec:
type: github
address: https://github.com/auricom/home-ops
secretRef:
name: github-notification-token
name: github-token-secret
---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/alert_v1beta2.json
apiVersion: notification.toolkit.fluxcd.io/v1beta1
apiVersion: notification.toolkit.fluxcd.io/v1beta2
kind: Alert
metadata:
name: github