Disable Grafana Oncall

This commit is contained in:
Jack Jackson 2023-07-16 21:43:19 -07:00
parent d04f1bc8f5
commit 9e28dd26de

View File

@ -197,104 +197,104 @@ spec:
- CreateNamespace=true - CreateNamespace=true
- Replace=true - Replace=true
--- ---
apiVersion: argoproj.io/v1alpha1 #apiVersion: argoproj.io/v1alpha1
kind: Application #kind: Application
metadata: #metadata:
name: grafana-oncall # name: grafana-oncall
namespace: argo # namespace: argo
finalizers: # finalizers:
- resources-finalizer.argocd.argoproj.io # - resources-finalizer.argocd.argoproj.io
spec: #spec:
project: default # project: default
#
source: # source:
chart: oncall # chart: oncall
repoURL: https://grafana.github.io/helm-charts # repoURL: https://grafana.github.io/helm-charts
targetRevision: "1.3.1" # targetRevision: "1.3.1"
#
helm: # helm:
values: | # values: |
global: # global:
storageClass: longhorn # storageClass: longhorn
#
oncall: # oncall:
base_url: oncall.grafana.avril # base_url: oncall.grafana.avril
externalGrafana: # externalGrafana:
url: http://grafana.avril # 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 # 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: # # env:
# - name: FEATURE_TELEGRAM_INTEGRATION_ENABLED # # - name: FEATURE_TELEGRAM_INTEGRATION_ENABLED
# value: "true" # # value: "true"
# - name: TELEGRAM_WEBHOOK_HOST # # - name: TELEGRAM_WEBHOOK_HOST
# valueFrom: # # valueFrom:
# secretKeyRef: # # secretKeyRef:
# name: telegram-webhook-host-secret # # name: telegram-webhook-host-secret
# key: url # # key: url
#
image: # image:
tag: "v1.3.1-arm64-linux" # tag: "v1.3.1-arm64-linux"
#
cert-manager: # cert-manager:
enabled: false # enabled: false
#
grafana: # grafana:
enabled: false # enabled: false
#
ingress: # ingress:
enabled: false # enabled: false
#
ingress-nginx: # ingress-nginx:
enabled: false # enabled: false
#
rabbitmq: # 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 # enabled: true
# existingSecret: telegram-auth-secret # image:
# tokenKey: token # repository: rabbitmq
# webhookUrl: https://oncall-grafana.scubbo.org # tag: 3.10.10
# auth:
destination: # username: user
server: https://kubernetes.default.svc # password: user
namespace: grafana # extraEnvVars:
syncPolicy: # - name: RABBITMQ_DEFAULT_USER
## https://argo-cd.readthedocs.io/en/stable/user-guide/auto_sync # value: user
automated: # - name: RABBITMQ_DEFAULT_PASS
prune: true # value: user
selfHeal: true #
syncOptions: # redis:
- CreateNamespace=true # image:
- Replace=true # 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 # TODO - use Jsonnet or similar to automate building this from all the directories
# (and pull out the common config) # (and pull out the common config)