Ctrl K
ComunidadGuías…

src/helm/helmfile.yaml.gotmpl

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
environments:
  dev:
    values:
      - version: 6.0.4
        # a Prometheus scraping the metrics of the backend and of yhub
        monitoring: true
  feature:
    values:
      - version: 6.0.4
        feature: ci
        domain: example.com
        imageTag: demo
---
repositories:
- name: dev-backends
  url: https://suitenumerique.github.io/helm-dev-backend
- name: valkey
  url: https://valkey.io/valkey-helm/
- name: prometheus-community
  url: https://prometheus-community.github.io/helm-charts
---

releases:
  - name: dev-backend
    namespace: {{ .Namespace }}
    chart: dev-backends/dev-backend
    version: 0.0.15
    values:
      - env.d/{{ .Environment.Name }}/values.dev-backend.yaml.gotmpl

  # One Valkey instance for the backend (cache, sessions, celery) and one for
  # yhub, each a single standalone pod
  - name: valkey-docs
    namespace: {{ .Namespace }}
    chart: valkey/valkey
    version: 0.12.0
    {{- if .Values | get "monitoring" false }}
    # its ServiceMonitor needs the CRDs of the operator
    needs:
      - {{ .Namespace }}/prometheus
    {{- end }}
    values:
      - env.d/{{ .Environment.Name }}/values.valkey.yaml.gotmpl

  - name: valkey-yhub
    namespace: {{ .Namespace }}
    chart: valkey/valkey
    version: 0.12.0
    {{- if .Values | get "monitoring" false }}
    # its ServiceMonitor needs the CRDs of the operator
    needs:
      - {{ .Namespace }}/prometheus
    {{- end }}
    values:
      - env.d/{{ .Environment.Name }}/values.valkey.yaml.gotmpl

  # The Prometheus Operator and a Prometheus, in the environments that ask for
  # it: what the ServiceMonitors of the impress release are for
  - name: prometheus
    namespace: {{ .Namespace }}
    chart: prometheus-community/kube-prometheus-stack
    version: 91.4.1
    installed: {{ .Values | get "monitoring" false }}
    values:
      - env.d/{{ .Environment.Name }}/values.prometheus.yaml.gotmpl

  - name: impress
    version: {{ .Values.version }}
    namespace: {{ .Namespace }}
    chart: ./impress
    {{- if .Values | get "monitoring" false }}
    # its ServiceMonitors need the CRDs of the operator
    needs:
      - {{ .Namespace }}/prometheus
    {{- end }}
    values:
      - env.d/{{ .Environment.Name }}/values.impress.yaml.gotmpl