Skip to content

Commit

Permalink
feat: release helm charts (#9)
Browse files Browse the repository at this point in the history
* feat: release helm charts

* bump chart version
  • Loading branch information
Richard87 authored Oct 11, 2024
1 parent d6f2225 commit 8d03462
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build Release Docker Image
on:
push:
tags:
- 'v*'
- 'v.*'

jobs:

Expand Down
4 changes: 2 additions & 2 deletions charts/radix-prometheus-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: radix-prometheus-proxy
icon: https://radix.equinor.com/images/logos/logo.svg
description: Simple Prometheus Proxy to expose a simple metric
version: 1.0.0
appVersion: 0.1.0 # appVersion should always be equal to version!
version: 1.1.0
appVersion: 0.0.0 # Not used!
kubeVersion: ">=1.24.0"
keywords:
- radix
Expand Down
4 changes: 2 additions & 2 deletions charts/radix-prometheus-proxy/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Common labels
{{- define "prometheus-proxy.labels" -}}
helm.sh/chart: {{ include "prometheus-proxy.chart" . }}
{{ include "prometheus-proxy.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- if .Chart.Version }}
app.kubernetes.io/version: {{ .Chart.Version | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/radix-prometheus-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
image: "{{ .Values.image.repository }}:{{ default .Chart.Version .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: 8000
Expand Down

0 comments on commit 8d03462

Please sign in to comment.