|
| 1 | +repositories: |
| 2 | +- name: kyverno |
| 3 | + url: https://kyverno.github.io/kyverno/ |
| 4 | +- name: prometheus-opencost-exporter |
| 5 | + url: https://prometheus-community.github.io/helm-charts |
| 6 | +- name: prometheus |
| 7 | + url: https://prometheus-community.github.io/helm-charts |
| 8 | +- name: grafana |
| 9 | + url: https://grafana.github.io/helm-charts |
| 10 | +- name: vpa |
| 11 | + url: https://charts.fairwinds.com/stable |
| 12 | +- name: cert-manager |
| 13 | + url: https://charts.jetstack.io |
| 14 | +- name: fairwinds-stable |
| 15 | + url: https://charts.fairwinds.com/stable |
| 16 | + |
| 17 | +--- |
| 18 | +helmDefaults: |
| 19 | + wait: true |
| 20 | + timeout: 1200 |
| 21 | +--- |
| 22 | +environments: |
| 23 | + default: |
| 24 | + values: |
| 25 | + - "./config/{{ requiredEnv "HOST_ENV" }}/enabled.yaml" |
| 26 | +--- |
| 27 | +releases: |
| 28 | +- name: kyverno |
| 29 | + version: "3.2.6" |
| 30 | + chart: kyverno/kyverno |
| 31 | + condition: kyverno.enabled |
| 32 | + namespace: finops-stack |
| 33 | + values: |
| 34 | + - "./config/common/kyverno-values.yaml" |
| 35 | + - "./config/{{ requiredEnv "HOST_ENV" }}/kyverno-values.yaml" |
| 36 | + |
| 37 | +- name: finops-policies |
| 38 | + version: "0.1.0" |
| 39 | + chart: "../charts/finops-policies" |
| 40 | + condition: finops-policies.enabled |
| 41 | + namespace: finops-stack |
| 42 | + disableValidationOnInstall: true |
| 43 | + needs: |
| 44 | + - kyverno |
| 45 | + |
| 46 | +- name: cert-manager |
| 47 | + version: v1.15.3 |
| 48 | + chart: cert-manager/cert-manager |
| 49 | + condition: cert-manager.enabled |
| 50 | + namespace: cert-manager |
| 51 | + values: |
| 52 | + - "./config/common/cert-manager-values.yaml" |
| 53 | + - "./config/{{ requiredEnv "HOST_ENV" }}/cert-manager-values.yaml" |
| 54 | + - global: |
| 55 | + leaderElection: |
| 56 | + namespace: cert-manager |
| 57 | + commonLabels: |
| 58 | + cost-center-label: "xyz" |
| 59 | + - serviceAccount: |
| 60 | + annotations: |
| 61 | + {{ env "CERT_MANAGER_SA_ANNOTATION" }} |
| 62 | + |
| 63 | +- name: cert-manager-config |
| 64 | + version: "0.1.0" |
| 65 | + chart: "../charts/cert-manager-config" |
| 66 | + condition: cert-manager.enabled |
| 67 | + namespace: finops-stack |
| 68 | + disableValidationOnInstall: true |
| 69 | + needs: |
| 70 | + - cert-manager/cert-manager |
| 71 | + values: |
| 72 | + - email: {{ env "CERT_MANAGER_EMAIL" }} |
| 73 | + - grafanaTLSCert: |
| 74 | + hostname: {{ env "GRAFANA_FQDN" }} |
| 75 | + |
| 76 | +- name: grafana |
| 77 | + version: "8.4.7" |
| 78 | + chart: grafana/grafana |
| 79 | + condition: grafana.enabled |
| 80 | + namespace: finops-stack |
| 81 | + values: |
| 82 | + - "./config/common/grafana-values.yaml" |
| 83 | + - "./config/{{ requiredEnv "HOST_ENV" }}/grafana-values.yaml" |
| 84 | + - adminUser: {{ env "GRAFANA_ADMIN_USER" }} |
| 85 | + - adminPassword: {{ env "GRAFANA_ADMIN_PW" }} |
| 86 | + - serviceAccount: |
| 87 | + annotations: |
| 88 | + {{ env "GRAFANA_SA_ANNOTATION" }} |
| 89 | + |
| 90 | + # If you don't require ingress via an FQDN remove this ingress section |
| 91 | + - ingress: |
| 92 | + enabled: {{ env "GRAFANA_INGRESS" }} |
| 93 | + annotations: |
| 94 | + kubernetes.io/ingress.global-static-ip-name: {{ env "GRAFANA_PUBLIC_IP_NAME" }} |
| 95 | + hosts: |
| 96 | + - {{ env "GRAFANA_FQDN" }} |
| 97 | + # If you don't require https access to the Grafana dashboard remove this tls section |
| 98 | + tls: |
| 99 | + - secretName: {{ env "GRAFANA_FQDN" }}-tls |
| 100 | + hosts: |
| 101 | + - {{ env "GRAFANA_FQDN" }} |
| 102 | + needs: |
| 103 | + - cert-manager/cert-manager |
| 104 | + |
| 105 | +- name: vpa |
| 106 | + version: "4.5.0" |
| 107 | + chart: "vpa/vpa" |
| 108 | + condition: vpa.enabled |
| 109 | + namespace: finops-stack |
| 110 | + values: |
| 111 | + - "./config/common/vpa-values.yaml" |
| 112 | + |
| 113 | +- name: prometheus-opencost-exporter |
| 114 | + version: "0.1.1" |
| 115 | + chart: "prometheus-opencost-exporter/prometheus-opencost-exporter" |
| 116 | + condition: opencost-exporter.enabled |
| 117 | + namespace: finops-stack |
| 118 | + values: |
| 119 | + - "./config/common/prometheus-opencost-exporter-values.yaml" |
| 120 | + - "./config/{{ requiredEnv "HOST_ENV" }}/prometheus-opencost-exporter-values.yaml" |
| 121 | + |
| 122 | +- name: finops-stack-opencost-templates |
| 123 | + version: "0.1.0" |
| 124 | + chart: "../charts/opencost-config" |
| 125 | + condition: opencost-templates.enabled |
| 126 | + namespace: finops-stack |
| 127 | + disableValidationOnInstall: true |
| 128 | + values: |
| 129 | + - "./config/{{ requiredEnv "HOST_ENV" }}/opencost-templates-values.yaml" |
| 130 | + |
| 131 | +- name: goldilocks |
| 132 | + version: "9.0.0" |
| 133 | + chart: fairwinds-stable/goldilocks |
| 134 | + condition: goldilocks.enabled |
| 135 | + namespace: finops-stack |
| 136 | + values: |
| 137 | + - "./config/common/goldilocks-values.yaml" |
| 138 | + |
| 139 | + |
0 commit comments