Skip to content

Commit

Permalink
Add Flux sync manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
Flux authored and SmaineTF1 committed Oct 9, 2024
1 parent e601d8f commit ae3ea16
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 1 deletion.
27 changes: 27 additions & 0 deletions clusters/mycluster-0/flux-system/gotk-sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This manifest was generated by flux. DO NOT EDIT.
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 1m0s
ref:
branch: feat/oncall
secretRef:
name: flux-system
url: https://github.com/Smana/cloud-native-ref.git
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 10m0s
path: ./clusters/mycluster-0
prune: true
sourceRef:
kind: GitRepository
name: flux-system
5 changes: 5 additions & 0 deletions clusters/mycluster-0/flux-system/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- gotk-components.yaml
- gotk-sync.yaml
3 changes: 3 additions & 0 deletions observability/base/grafana-oncall/helmrelease-oncall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ spec:
slack:
enabled: true
existingSecret: "oncall-slack-app"
clientIdKey: "client_id"
clientSecretKey: "client_secret"
signingSecretKey: "signing_secret"

ingress:
enabled: false
Expand Down
1 change: 1 addition & 0 deletions observability/mycluster-0/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../base/grafana-oncall
- ../base/grafana-operator
- ../base/victoria-metrics-k8s-stack
# Uncomment the following lines to include Loki and Vector Agent
Expand Down
2 changes: 1 addition & 1 deletion security/base/cert-manager/vault-clusterissuer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
auth:
appRole:
path: approle
roleId: 900b636c-988c-4d2a-1bcb-2a1a961ed468 # !! This value changes each time I recreate the whole platform
roleId: cee12a22-1f78-94b7-0b51-c84fe2ae454e # !! This value changes each time I recreate the whole platform
secretRef:
name: cert-manager-vault-approle
key: secret_id

0 comments on commit ae3ea16

Please sign in to comment.