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 # enabled: true
image: # image:
repository: rabbitmq # repository: rabbitmq
tag: 3.10.10 # tag: 3.10.10
auth: # auth:
username: user # username: user
password: user # password: user
extraEnvVars: # extraEnvVars:
- name: RABBITMQ_DEFAULT_USER # - name: RABBITMQ_DEFAULT_USER
value: user # value: user
- name: RABBITMQ_DEFAULT_PASS # - name: RABBITMQ_DEFAULT_PASS
value: user # value: user
#
redis: # redis:
image: # image:
repository: arm64v8/redis # repository: arm64v8/redis
tag: 7.0 # tag: 7.0
#
mariadb: # mariadb:
enabled: false # enabled: false
#
# Have to use Postgres because the Mysql setup doesn't permit using existingSecret # # Have to use Postgres because the Mysql setup doesn't permit using existingSecret
database: # database:
type: postgresql # type: postgresql
#
postgresql: # postgresql:
enabled: true # enabled: true
image: # image:
repository: arm64v8/postgres # repository: arm64v8/postgres
tag: 15.1 # tag: 15.1
#
# telegram: # # telegram:
# enabled: true # # enabled: true
# existingSecret: telegram-auth-secret # # existingSecret: telegram-auth-secret
# tokenKey: token # # tokenKey: token
# webhookUrl: https://oncall-grafana.scubbo.org # # webhookUrl: https://oncall-grafana.scubbo.org
#
destination: # destination:
server: https://kubernetes.default.svc # server: https://kubernetes.default.svc
namespace: grafana # namespace: grafana
syncPolicy: # syncPolicy:
## https://argo-cd.readthedocs.io/en/stable/user-guide/auto_sync # ## https://argo-cd.readthedocs.io/en/stable/user-guide/auto_sync
automated: # automated:
prune: true # prune: true
selfHeal: true # selfHeal: true
syncOptions: # syncOptions:
- CreateNamespace=true # - CreateNamespace=true
- Replace=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)