Skip to content

Commit

Permalink
OpenCost 1.109.0, which moved the default container registry to GHCR.io
Browse files Browse the repository at this point in the history
appVersion bump to 1.109.0, version bump to 0.1.2
Registry moved from quay.io -> ghcr.io
Renamed container to "opencost" from legacy "kubecost-cost-model"
Removed "prod-" tag prefix, no longer used in ghcr.io
Synced the internal Prometheus defaults to match the documentation defaults

Signed-off-by: Matt Ray <[email protected]>
  • Loading branch information
mattray committed Apr 24, 2024
1 parent 5d209c7 commit 9cc618b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions charts/prometheus-opencost-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
appVersion: 1.108.0
version: 0.1.1
appVersion: 1.109.0
version: 0.1.2
description: Prometheus OpenCost Exporter
home: https://github.com/opencost/opencost
name: prometheus-opencost-exporter
Expand All @@ -11,6 +11,7 @@ keywords:
- opencost
- prometheus
- exporter
- finops
maintainers:
- email: [email protected]
name: mattray
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
{{- end }}
containers:
- name: {{ include "prometheus-opencost-exporter.fullname" . }}
image: "{{ .Values.opencost.exporter.image.registry }}/{{ .Values.opencost.exporter.image.repository }}:{{ .Values.opencost.exporter.image.tag | default (printf "prod-%s" .Chart.AppVersion) }}"
image: "{{ .Values.opencost.exporter.image.registry }}/{{ .Values.opencost.exporter.image.repository }}:{{ .Values.opencost.exporter.image.tag | default (printf "%s" .Chart.AppVersion) }}"
imagePullPolicy: {{ .Values.opencost.exporter.image.pullPolicy }}
ports:
- containerPort: 9003
Expand Down
10 changes: 5 additions & 5 deletions charts/prometheus-opencost-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ opencost:
defaultClusterId: 'default-cluster'
image:
# -- Exporter container image registry
registry: quay.io
registry: ghcr.io
# -- Exporter container image name
repository: kubecost1/kubecost-cost-model
repository: opencost/opencost
# -- Exporter container image tag
# @default -- `""` (use appVersion in Chart.yaml)
tag: ""
Expand Down Expand Up @@ -170,8 +170,8 @@ opencost:
# -- Use in-cluster Prometheus
enabled: true
# -- Service name of in-cluster Prometheus
serviceName: my-prometheus
serviceName: prometheus-server
# -- Namespace of in-cluster Prometheus
namespaceName: opencost
namespaceName: prometheus-system
# -- Service port of in-cluster Prometheus
port: 9090
port: 80

0 comments on commit 9cc618b

Please sign in to comment.