Remove Grafana Oncall

main
Jack Jackson 2 months ago
parent b107f1e839
commit de944bac48
  1. 162
      app-of-apps/apps.yaml

@ -207,168 +207,6 @@ spec:
- CreateNamespace=true
- Replace=true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: grafana-oncall
namespace: argo
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
chart: oncall
repoURL: https://grafana.github.io/helm-charts
targetRevision: "1.3.20"
helm:
values: |
global:
storage_class: longhorn
base_url: grafana.avril
externalGrafana:
url: http://grafana.avril
fullnameOverride: "oncall-ovrd" # Without this, there are clashes between resources (ServiceAccounts, Secrets) that are similarly named between Oncall itself and the underlying Grafana templates. Also this needs to b e short otherwise the batch jobs created have names that are too long
cert-manager:
enabled: false
grafana:
enabled: false
ingress:
enabled: false
ingress-nginx:
enabled: false
database:
# can be either mysql or postgresql
type: postgresql
mariadb:
enabled: false
postgresql:
enabled: true
engine:
nodeSelector:
kubernetes.io/arch: amd64
redis:
master:
nodeSelector:
kubernetes.io/arch: amd64
replica:
nodeSelector:
kubernetes.io/arch: amd64
destination:
server: "https://kubernetes.default.svc"
namespace: grafana
syncPolicy:
automated:
prune: true
syncOptions:
- CreateNamespace=true
---
#apiVersion: argoproj.io/v1alpha1
#kind: Application
#metadata:
# name: grafana-oncall
# namespace: argo
# finalizers:
# - resources-finalizer.argocd.argoproj.io
#spec:
# project: default
#
# source:
# chart: oncall
# repoURL: https://grafana.github.io/helm-charts
# targetRevision: "1.3.1"
#
# helm:
# values: |
# global:
# storageClass: longhorn
#
# oncall:
# base_url: oncall.grafana.avril
# externalGrafana:
# url: http://grafana.avril
# fullnameOverride: "oncall-ovrd" # Without this, there are clashes between resources (ServiceAccounts, Secrets) that are similarly named between Oncall itself and the underlying Grafana templates. Also this needs to b e short otherwise the batch jobs created have names that are too long
# # env:
# # - name: FEATURE_TELEGRAM_INTEGRATION_ENABLED
# # value: "true"
# # - name: TELEGRAM_WEBHOOK_HOST
# # valueFrom:
# # secretKeyRef:
# # name: telegram-webhook-host-secret
# # key: url
#
# image:
# tag: "v1.3.1-arm64-linux"
#
# cert-manager:
# enabled: false
#
# grafana:
# enabled: false
#
# ingress:
# enabled: false
#
# ingress-nginx:
# enabled: false
#
# rabbitmq:
# enabled: true
# image:
# repository: rabbitmq
# tag: 3.10.10
# auth:
# username: user
# password: user
# extraEnvVars:
# - name: RABBITMQ_DEFAULT_USER
# value: user
# - name: RABBITMQ_DEFAULT_PASS
# value: user
#
# redis:
# image:
# repository: arm64v8/redis
# tag: 7.0
#
# mariadb:
# enabled: false
#
# # Have to use Postgres because the Mysql setup doesn't permit using existingSecret
# database:
# type: postgresql
#
# postgresql:
# enabled: true
# image:
# repository: arm64v8/postgres
# tag: 15.1
#
# # telegram:
# # enabled: true
# # existingSecret: telegram-auth-secret
# # tokenKey: token
# # webhookUrl: https://oncall-grafana.scubbo.org
#
# destination:
# server: https://kubernetes.default.svc
# namespace: grafana
# syncPolicy:
# ## https://argo-cd.readthedocs.io/en/stable/user-guide/auto_sync
# automated:
# prune: true
# selfHeal: true
# syncOptions:
# - CreateNamespace=true
# - Replace=true
---
# TODO - use Jsonnet or similar to automate building this from all the directories
# (and pull out the common config)
apiVersion: argoproj.io/v1alpha1

Loading…
Cancel
Save