File tree Expand file tree Collapse file tree 8 files changed +87
-0
lines changed
charts/cluster-api-runtime-extensions-nutanix
addons/registry-mirror/distribution
registry-mirror/distribution
kustomize/distribution-registry-mirror Expand file tree Collapse file tree 8 files changed +87
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,8 @@ A Helm chart for cluster-api-runtime-extensions-nutanix
85
85
| hooks.nfd.crsStrategy.defaultInstallationConfigMap.name | string | ` "node-feature-discovery" ` | |
86
86
| hooks.nfd.helmAddonStrategy.defaultValueTemplateConfigMap.create | bool | ` true ` | |
87
87
| hooks.nfd.helmAddonStrategy.defaultValueTemplateConfigMap.name | string | ` "default-nfd-helm-values-template" ` | |
88
+ | hooks.registryMirror.distribution.defaultValueTemplateConfigMap.create | bool | ` true ` | |
89
+ | hooks.registryMirror.distribution.defaultValueTemplateConfigMap.name | string | ` "default-distribution-registry-mirror-helm-values-template" ` | |
88
90
| hooks.serviceLoadBalancer.metalLB.defaultValueTemplateConfigMap.create | bool | ` true ` | |
89
91
| hooks.serviceLoadBalancer.metalLB.defaultValueTemplateConfigMap.name | string | ` "default-metallb-helm-values-template" ` | |
90
92
| hooks.virtualIP.kubeVip.defaultTemplateConfigMap.create | bool | ` true ` | |
Original file line number Diff line number Diff line change
1
+ replicaCount : 2
2
+ persistence :
3
+ enabled : true
4
+ service :
5
+ type : ClusterIP
6
+ clusterIP : {{ .ServiceIP }}
7
+ port : 80
8
+ statefulSet :
9
+ enabled : true
10
+ syncer :
11
+ interval : 2m
Original file line number Diff line number Diff line change 27
27
ChartName: cosi
28
28
ChartVersion: 0.0.1-alpha.5
29
29
RepositoryURL: '{{ if .Values.helmRepository.enabled }}oci://helm-repository.{{ .Release.Namespace }}.svc/charts{{ else }}https://mesosphere.github.io/charts/stable/{{ end }}'
30
+ distribution-registry-mirror : |
31
+ ChartName: docker-registry
32
+ ChartVersion: 2.3.1
33
+ RepositoryURL: '{{ if .Values.helmRepository.enabled }}oci://helm-repository.{{ .Release.Namespace }}.svc/charts{{ else }}https://mesosphere.github.io/charts/staging/{{ end }}'
30
34
local-path-provisioner-csi : |
31
35
ChartName: local-path-provisioner
32
36
ChartVersion: 0.0.31
Original file line number Diff line number Diff line change
1
+ # Copyright 2025 Nutanix. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ {{- if .Values.hooks.registryMirror.distribution.defaultValueTemplateConfigMap.name }}
5
+ apiVersion : v1
6
+ kind : ConfigMap
7
+ metadata :
8
+ name : ' {{ .Values.hooks.registryMirror.distribution.defaultValueTemplateConfigMap.name }}'
9
+ data :
10
+ values.yaml : |-
11
+ {{- .Files.Get "addons/registry-mirror/distribution/values-template.yaml" | nindent 4 }}
12
+ {{- end -}}
Original file line number Diff line number Diff line change 504
504
},
505
505
"type" : " object"
506
506
},
507
+ "registryMirror" : {
508
+ "properties" : {
509
+ "distribution" : {
510
+ "properties" : {
511
+ "defaultValueTemplateConfigMap" : {
512
+ "properties" : {
513
+ "create" : {
514
+ "type" : " boolean"
515
+ },
516
+ "name" : {
517
+ "type" : " string"
518
+ }
519
+ },
520
+ "type" : " object"
521
+ }
522
+ },
523
+ "type" : " object"
524
+ }
525
+ },
526
+ "type" : " object"
527
+ },
507
528
"serviceLoadBalancer" : {
508
529
"properties" : {
509
530
"metalLB" : {
Original file line number Diff line number Diff line change @@ -111,6 +111,11 @@ hooks:
111
111
defaultValueTemplateConfigMap :
112
112
create : true
113
113
name : default-cosi-controller-helm-values-template
114
+ registryMirror :
115
+ distribution :
116
+ defaultValueTemplateConfigMap :
117
+ create : true
118
+ name : default-distribution-registry-mirror-helm-values-template
114
119
115
120
helmAddonsConfigMap : default-helm-addons-config
116
121
Original file line number Diff line number Diff line change @@ -31,6 +31,11 @@ repositories:
31
31
charts :
32
32
cosi :
33
33
- 0.0.1-alpha.5
34
+ docker-registry :
35
+ repoURL : https://mesosphere.github.io/charts/staging/
36
+ charts :
37
+ docker-registry :
38
+ - 2.3.1
34
39
local-path-provisioner :
35
40
repoURL : https://charts.containeroo.ch
36
41
charts :
Original file line number Diff line number Diff line change
1
+ # Copyright 2025 Nutanix. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # NOTE This file is used by the tool in `hack/tools/helm-cm` to add
5
+ # docker-registry chart metadata to the "helm-addons" ConfigMap. The tool takes
6
+ # a kustomization as input. We do not use this file with kustomize.
7
+
8
+ apiVersion: kustomize.config.k8s.io/v1beta1
9
+ kind: Kustomization
10
+
11
+ metadata:
12
+ name: registry-distribution
13
+
14
+ sortOptions:
15
+ order: fifo
16
+
17
+ helmCharts:
18
+ - name: docker-registry
19
+ repo: https://mesosphere.github.io/charts/staging/
20
+ releaseName: registry-mirror
21
+ version: 2.3.1
22
+ valuesFile: helm-values.yaml
23
+ includeCRDs: true
24
+ skipTests: true
25
+ namespace: registry-mirror-system
26
+
27
+ namespace: registry-mirror-system
You can’t perform that action at this time.
0 commit comments