Skip to content

Commit fb7c18a

Browse files
authored
fix: use same glob for oci registry upload and fix OCI issue (#38)
* fix: use same glob for oci registry upload * fix: removes Chart.Version which is problematic w/ flux
1 parent ea1e585 commit fb7c18a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,5 @@ jobs:
6565
--destination . \
6666
--version ${{ github.ref_name }} \
6767
--app-version ${{ github.ref_name }}
68-
devbox run -- echo "${GITHUB_TOKEN}" | helm registry login ghcr.io --username ${{ github.actor }} --password-stdin && helm push vgpu-token-operator-chart-${{ github.ref_name }}.tgz oci://ghcr.io/nutanix-cloud-native/vgpu-token-operator-charts
68+
devbox run -- echo "${GITHUB_TOKEN}" | helm registry login ghcr.io --username ${{ github.actor }} --password-stdin && helm push vgpu-token-operator-*.tgz oci://ghcr.io/nutanix-cloud-native/vgpu-token-operator-charts
6969
devbox run -- gh release upload ${{ github.ref_name }} vgpu-token-operator-*.tgz

charts/vgpu-token-operator/templates/_helpers.tpl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
{{- if .Chart.AppVersion -}}
1818
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
1919
{{- end }}
20-
{{- if .Chart.Version }}
21-
helm.sh/chart: {{ .Chart.Version | quote }}
22-
{{- end }}
2320
app.kubernetes.io/name: {{ include "chart.name" . }}
2421
app.kubernetes.io/instance: {{ .Release.Name }}
2522
app.kubernetes.io/managed-by: {{ .Release.Service }}

0 commit comments

Comments
 (0)