Skip to content

Commit 12bf273

Browse files
committed
fix: minor cleanups to use OCI for hcp
1 parent a7a1f8d commit 12bf273

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
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 & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,35 +10,35 @@ 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.35.0
17-
RepositoryURL: registry.{{ .Release.Namespace }}.svc
17+
RepositoryURL: oci://mindthegap.{{ .Release.Namespace }}.svc
1818
metallb: |
1919
ChartName: metallb
2020
ChartVersion: v0.14.5
21-
RepositoryURL: registry.{{ .Release.Namespace }}.svc
21+
RepositoryURL: oci://mindthegap.{{ .Release.Namespace }}.svc
2222
nfd: |
2323
ChartName: node-feature-discovery
2424
ChartVersion: v0.15.2
25-
RepositoryURL: registry.{{ .Release.Namespace }}.svc
25+
RepositoryURL: oci://mindthegap.{{ .Release.Namespace }}.svc
2626
nutanix-ccm: |
2727
ChartName: nutanix-cloud-provider
2828
ChartVersion: 0.3.3
29-
RepositoryURL: registry.{{ .Release.Namespace }}.svc
29+
RepositoryURL: oci://mindthegap.{{ .Release.Namespace }}.svc
3030
nutanix-snapshot-csi: |
3131
ChartName: nutanix-csi-snapshot
3232
ChartVersion: 6.3.2
33-
RepositoryURL: registry.{{ .Release.Namespace }}.svc
33+
RepositoryURL: oci://mindthegap.{{ .Release.Namespace }}.svc
3434
nutanix-storage-csi: |
3535
ChartName: nutanix-csi-storage
3636
ChartVersion: v3.0.0-beta.1912
37-
RepositoryURL: registry.{{ .Release.Namespace }}.svc
37+
RepositoryURL: oci://mindthegap.{{ .Release.Namespace }}.svc
3838
tigera-operator: |
3939
ChartName: tigera-operator
4040
ChartVersion: v3.26.4
41-
RepositoryURL: registry.{{ .Release.Namespace }}.svc
41+
RepositoryURL: oci://mindthegap.{{ .Release.Namespace }}.svc
4242
kind: ConfigMap
4343
metadata:
4444
creationTimestamp: null

make/addons.mk

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

6666
.PHONY: replace-with-mindthegap ## this is used by gorealeaser to set the helm value to this.
6767
replace-with-mindthegap: generate-mindthegap-repofile
68-
sed -i 's/RepositoryURL:.*/RepositoryURL: registry.{{ .Release.Namespace }}.svc/g' "./charts/cluster-api-runtime-extensions-nutanix/templates/helm-config.yaml"
68+
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)