Skip to content

Commit 732740e

Browse files
committed
update
1 parent bb00b5f commit 732740e

File tree

1 file changed

+12
-26
lines changed

1 file changed

+12
-26
lines changed

installation/Helmfile_eks.yaml

Lines changed: 12 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ releases:
5858
cost-center-label: "xyz"
5959
- serviceAccount:
6060
annotations:
61-
{{ requiredEnv "CERT_MANAGER_SA_ANNOTATION" }}
61+
{{ env "CERT_MANAGER_SA_ANNOTATION" }}
6262

6363
- name: cert-manager-config
6464
version: "0.1.0"
@@ -69,10 +69,9 @@ releases:
6969
needs:
7070
- cert-manager/cert-manager
7171
values:
72-
- email: {{ requiredEnv "CERT_MANAGER_EMAIL" }}
73-
- gcpProjectID: {{ requiredEnv "GCP_PROJECT" }}
72+
- email: {{ env "CERT_MANAGER_EMAIL" }}
7473
- grafanaTLSCert:
75-
hostname: {{ requiredEnv "GRAFANA_FQDN" }}
74+
hostname: {{ env "GRAFANA_FQDN" }}
7675

7776
- name: grafana
7877
version: "8.4.7"
@@ -82,24 +81,24 @@ releases:
8281
values:
8382
- "./config/common/grafana-values.yaml"
8483
- "./config/{{ requiredEnv "HOST_ENV" }}/grafana-values.yaml"
85-
- adminUser: {{ requiredEnv "GRAFANA_ADMIN_USER" }}
86-
- adminPassword: {{ requiredEnv "GRAFANA_ADMIN_PW" }}
84+
- adminUser: {{ env "GRAFANA_ADMIN_USER" }}
85+
- adminPassword: {{ env "GRAFANA_ADMIN_PW" }}
8786
- serviceAccount:
8887
annotations:
89-
{{ requiredEnv "GRAFANA_SA_ANNOTATION" }}
88+
{{ env "GRAFANA_SA_ANNOTATION" }}
9089

9190
# If you don't require ingress via an FQDN remove this ingress section
9291
- ingress:
93-
enabled: {{ requiredEnv "GRAFANA_INGRESS" }}
92+
enabled: {{ env "GRAFANA_INGRESS" }}
9493
annotations:
95-
kubernetes.io/ingress.global-static-ip-name: {{ requiredEnv "GRAFANA_PUBLIC_IP_NAME" }}
94+
kubernetes.io/ingress.global-static-ip-name: {{ env "GRAFANA_PUBLIC_IP_NAME" }}
9695
hosts:
97-
- {{ requiredEnv "GRAFANA_FQDN" }}
96+
- {{ env "GRAFANA_FQDN" }}
9897
# If you don't require https access to the Grafana dashboard remove this tls section
9998
tls:
100-
- secretName: {{ requiredEnv "GRAFANA_FQDN" }}-tls
99+
- secretName: {{ env "GRAFANA_FQDN" }}-tls
101100
hosts:
102-
- {{ requiredEnv "GRAFANA_FQDN" }}
101+
- {{ env "GRAFANA_FQDN" }}
103102
needs:
104103
- cert-manager/cert-manager
105104

@@ -111,30 +110,17 @@ releases:
111110
values:
112111
- "./config/common/vpa-values.yaml"
113112

114-
- name: gmp-proxy
115-
version: "0.1.0"
116-
chart: "../charts/gmp-proxy"
117-
condition: gmp-proxy.enabled
118-
namespace: finops-stack
119-
needs:
120-
- grafana
121-
values:
122-
- "./config/common/gmp-proxy-values.yaml"
123-
- gmpProjectId: {{ requiredEnv "GCP_PROJECT" }}
124-
125113
- name: prometheus-opencost-exporter
126114
version: "0.1.1"
127115
chart: "prometheus-opencost-exporter/prometheus-opencost-exporter"
128116
condition: opencost-exporter.enabled
129117
namespace: finops-stack
130-
needs:
131-
- gmp-proxy
132118
values:
133119
- "./config/common/prometheus-opencost-exporter-values.yaml"
134120
- "./config/{{ requiredEnv "HOST_ENV" }}/prometheus-opencost-exporter-values.yaml"
135121
- opencost:
136122
exporter:
137-
cloudProviderApiKey: {{ requiredEnv "CSP_API_KEY" }}
123+
secret_access_key: {{ env "AWS_ACCESS_KEY" }}
138124

139125
- name: finops-stack-opencost-templates
140126
version: "0.1.0"

0 commit comments

Comments
 (0)