generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
68 additions
and
9 deletions.
There are no files selected for viewing
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
File renamed without changes.
File renamed without changes.
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
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
File renamed without changes.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
# yaml-language-server: $schema=https://json.schemastore.org/kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
# Pre Flux-Kustomizations | ||
- namespace.yaml | ||
# Flux-Kustomizations | ||
- atuin/ks.yaml | ||
- hajimari/ks.yaml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: home | ||
annotations: | ||
kustomize.toolkit.fluxcd.io/prune: disabled | ||
volsync.backube/privileged-movers: "true" | ||
--- | ||
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/notification.toolkit.fluxcd.io/provider_v1beta3.json | ||
apiVersion: notification.toolkit.fluxcd.io/v1beta3 | ||
kind: Provider | ||
metadata: | ||
name: alert-manager | ||
namespace: home | ||
spec: | ||
type: alertmanager | ||
address: https://alertmanager-prod-us-east-0.grafana.net # TODO: configure alert auth (basic auth, credentials already in external secrets) | ||
--- | ||
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/notification.toolkit.fluxcd.io/alert_v1beta3.json | ||
apiVersion: notification.toolkit.fluxcd.io/v1beta3 | ||
kind: Alert | ||
metadata: | ||
name: alert-manager | ||
namespace: home | ||
spec: | ||
providerRef: | ||
name: alert-manager | ||
eventSeverity: error | ||
eventSources: | ||
- kind: HelmRelease | ||
name: "*" | ||
exclusionList: | ||
- "error.*lookup github\\.com" | ||
- "error.*lookup raw\\.githubusercontent\\.com" | ||
- "dial.*tcp.*timeout" | ||
- "waiting.*socket" | ||
suspend: false | ||
--- | ||
apiVersion: grafana.integreatly.org/v1beta1 | ||
kind: GrafanaFolder | ||
metadata: | ||
name: grafana-folder | ||
namespace: &namespaceName home | ||
spec: | ||
title: *namespaceName | ||
allowCrossNamespaceImport: true | ||
parentFolderUID: a03a5932-b7fc-4810-872e-e6297c0a9a7f | ||
instanceSelector: | ||
matchLabels: | ||
dashboards: "grafana-cloud" |