Skip to content

Commit

Permalink
fix: scraper version is now parsed from environment (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoL96 authored Jan 30, 2025
1 parent bb1f5c2 commit 4c33a50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chart/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "finops-operator-scraper-chart.fullname" . }}-repo-envvar
name: {{ include "finops-operator-scraper-chart.fullname" . }}
labels:
{{- include "finops-operator-scraper-chart.labels" . | nindent 4 }}
data:
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
value: {{ quote .Values.kubernetesClusterDomain }}
envFrom:
- configMapRef:
name: {{ include "finops-operator-scraper-chart.fullname" . }}-repo-envvar
name: {{ include "finops-operator-scraper-chart.fullname" . }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
Expand Down
1 change: 1 addition & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,6 @@ env:
REGISTRY: ghcr.io/krateoplatformops
REGISTRY_CREDENTIALS: registry-credentials
URL_DB_WEBSERVICE: http://finops-database-handler.finops:8088
SCRAPER_VERSION: 0.3.2
POLLING_INTERVAL: 300
MAX_RECONCILE_RATE: 1

0 comments on commit 4c33a50

Please sign in to comment.