Skip to content

Commit a2663f5

Browse files
committed
Align prometheus and coreapi URL helm attribute names to ingestion url name
1 parent ba45c45 commit a2663f5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,6 @@ kubectl create secret generic cb-ingestion-token \
132132
--from-literal=INGESTION_API_TOKEN=hahaha \
133133
-n cloudbolt-collector
134134

135-
helm upgrade --install cloudbolt-collector ./ -f values.yaml --namespace cloudbolt-collector --create-namespace --set INGESTION_API_URL=$INGESTION_API_URL --set prometheusBaseUrl=$PROMETHEUS_BASE_URL --set coreapiBaseUrl=$COREAPI_BASE_URL --set DEBUG=true --set clusterRole.create=true
135+
helm upgrade --install cloudbolt-collector ./ -f values.yaml --namespace cloudbolt-collector --create-namespace --set INGESTION_API_URL=$INGESTION_API_URL --set PROMETHEUS_BASE_URL=$PROMETHEUS_BASE_URL --set COREAPI_BASE_URL=$COREAPI_BASE_URL --set DEBUG=true --set clusterRole.create=true
136136

137137
helm upgrade --install cloudbolt-collector ./ -f values.yaml --namespace cloudbolt-collector --create-namespace --set INGESTION_API_URL="https://c1i3z7ha68.execute-api.us-west-2.amazonaws.com/v1/data-ingest-api-dev-v1" --set DEBUG=true

templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ spec:
5151
secretKeyRef:
5252
name: cb-ingestion-token
5353
key: INGESTION_API_TOKEN
54-
{{- with .Values.prometheusBaseUrl }}
54+
{{- with .Values.PROMETHEUS_BASE_URL }}
5555
- name: PROMETHEUS_BASE_URL
5656
value: "{{ . }}"
5757
{{- end }}
58-
{{- with .Values.coreapiBaseUrl }}
58+
{{- with .Values.COREAPI_BASE_URL }}
5959
- name: COREAPI_BASE_URL
6060
value: "{{ . }}"
6161
{{- end }}

values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ IMAGE_VERSION: ""
77
INGESTION_API_URL: ""
88

99
# Optional: Base URL for Prometheus and CoreAPI (e.g. "http://prometheus.monitoring.svc.cluster.local:9090")
10-
prometheusBaseUrl: ""
11-
coreapiBaseUrl: ""
10+
PROMETHEUS_BASE_URL: ""
11+
COREAPI_BASE_URL: ""
1212

1313
clusterRole:
1414
# Set to true to create a ClusterRoles for the collector

0 commit comments

Comments
 (0)