Skip to content

Commit f23fa9d

Browse files
committed
fix: minor cleanups to use OCI for hcp
1 parent 069f906 commit f23fa9d

File tree

4 files changed

+12
-17
lines changed

4 files changed

+12
-17
lines changed

charts/cluster-api-runtime-extensions-nutanix/templates/helm-chart-svc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ spec:
6969
selector:
7070
app: mindthegap
7171
ports:
72-
- port: 80
72+
- port: 443
7373
targetPort: 5000
74-
type: NodePort
74+
type: ClusterIP

charts/cluster-api-runtime-extensions-nutanix/templates/helm-config.yaml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,44 +10,39 @@ data:
1010
cilium: |
1111
ChartName: cilium
1212
ChartVersion: 1.15.0
13-
RepositoryURL: registry.{{ .Release.Namespace }}.svc
13+
RepositoryURL: oci://mindthegap.{{ .Release.Namespace }}.svc
1414
cluster-autoscaler: |
1515
ChartName: cluster-autoscaler
1616
ChartVersion: 9.37.0
17-
RepositoryURL: registry.{{ .Release.Namespace }}.svc
17+
RepositoryURL: oci://mindthegap.{{ .Release.Namespace }}.svc
1818
local-path-provisioner-csi: |
1919
ChartName: local-path-provisioner
2020
ChartVersion: v0.0.29
2121
RepositoryURL: https://charts.containeroo.ch
2222
metallb: |
2323
ChartName: metallb
2424
ChartVersion: v0.14.5
25-
RepositoryURL: registry.{{ .Release.Namespace }}.svc
25+
RepositoryURL: oci://mindthegap.{{ .Release.Namespace }}.svc
2626
nfd: |
2727
ChartName: node-feature-discovery
2828
ChartVersion: v0.15.2
29-
RepositoryURL: registry.{{ .Release.Namespace }}.svc
29+
RepositoryURL: oci://mindthegap.{{ .Release.Namespace }}.svc
3030
nutanix-ccm: |
3131
ChartName: nutanix-cloud-provider
3232
ChartVersion: 0.3.3
33-
RepositoryURL: registry.{{ .Release.Namespace }}.svc
33+
RepositoryURL: oci://mindthegap.{{ .Release.Namespace }}.svc
3434
nutanix-snapshot-csi: |
3535
ChartName: nutanix-csi-snapshot
3636
ChartVersion: 6.3.2
37-
RepositoryURL: registry.{{ .Release.Namespace }}.svc
37+
RepositoryURL: oci://mindthegap.{{ .Release.Namespace }}.svc
3838
nutanix-storage-csi: |
3939
ChartName: nutanix-csi-storage
4040
ChartVersion: v3.0.0-beta.1912
41-
RepositoryURL: registry.{{ .Release.Namespace }}.svc
41+
RepositoryURL: oci://mindthegap.{{ .Release.Namespace }}.svc
4242
tigera-operator: |
4343
ChartName: tigera-operator
44-
<<<<<<< HEAD
4544
ChartVersion: v3.28.0
46-
RepositoryURL: https://docs.tigera.io/calico/charts
47-
=======
48-
ChartVersion: v3.26.4
49-
RepositoryURL: registry.{{ .Release.Namespace }}.svc
50-
>>>>>>> 3c3c0d8 (feat: self host helm charts with mindthegap)
45+
RepositoryURL: oci://mindthegap.{{ .Release.Namespace }}.svc
5146
kind: ConfigMap
5247
metadata:
5348
creationTimestamp: null

make/addons.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ generate-mindthegap-repofile: generate-helm-configmap ; $(info $(M) generating h
7878

7979
.PHONY: replace-with-mindthegap ## this is used by gorealeaser to set the helm value to this.
8080
replace-with-mindthegap: generate-mindthegap-repofile
81-
sed -i 's/RepositoryURL:.*/RepositoryURL: registry.{{ .Release.Namespace }}.svc/g' "./charts/cluster-api-runtime-extensions-nutanix/templates/helm-config.yaml"
81+
sed -i 's/RepositoryURL:.*/RepositoryURL: oci:\/\/mindthegap.{{ .Release.Namespace }}.svc/g' "./charts/cluster-api-runtime-extensions-nutanix/templates/helm-config.yaml"

pkg/handlers/generic/lifecycle/nfd/strategy_helmaddon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func (s helmAddonStrategy) apply(
6868

6969
values += fmt.Sprintf(`
7070
image:
71-
tag: v%s-minimal
71+
tag: %s-minimal
7272
`, s.helmChart.Version)
7373

7474
hcp := &caaphv1.HelmChartProxy{

0 commit comments

Comments
 (0)