Skip to content

Commit 6b5eaef

Browse files
committed
megre(addons): megre from upstream
2 parents 8ecd902 + d9ed106 commit 6b5eaef

236 files changed

Lines changed: 2648 additions & 628 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

addons/minio/2023/chart/minio/templates/distributed/statefulset.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,11 @@ spec:
298298
- name: data
299299
emptyDir: {}
300300
{{- else }}
301+
{{- if .Values.persistentVolumeClaimRetentionPolicy.enabled }}
302+
persistentVolumeClaimRetentionPolicy:
303+
whenDeleted: {{ .Values.persistentVolumeClaimRetentionPolicy.whenDeleted }}
304+
whenScaled: {{ .Values.persistentVolumeClaimRetentionPolicy.whenScaled }}
305+
{{- end }}
301306
volumeClaimTemplates:
302307
{{- if gt $drivesPerNode 1 }}
303308
{{- range $diskId := until $drivesPerNode }}

addons/minio/2023/chart/minio/values.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ podAffinityPreset: ""
417417
## @param podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
418418
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
419419
##
420-
podAntiAffinityPreset: soft
420+
podAntiAffinityPreset: hard
421421
## Node affinity preset
422422
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
423423
##
@@ -887,6 +887,15 @@ persistence:
887887
##
888888
existingClaim: ""
889889

890+
## persistentVolumeClaimRetentionPolicy
891+
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
892+
## @param persistentVolumeClaimRetentionPolicy.enabled Controls if and how PVCs are deleted during the lifecycle of a StatefulSet
893+
## @param persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
894+
## @param persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
895+
persistentVolumeClaimRetentionPolicy:
896+
enabled: true
897+
whenScaled: Deleted
898+
whenDeleted: Deleted
890899
## @section Volume Permissions parameters
891900

892901
## Init containers parameters:

addons/minio/2023/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tags: minio
1313
bindable: true
1414
instances_retrievable: true
1515
bindings_retrievable: true
16-
plan_updateable: false
16+
plan_updateable: true
1717
allow_parameters:
1818
- name: "networkPolicy.allowNamespaces"
1919
description: "networkPolicy allowNamespaces config for values.yaml"

addons/minio/2023/plans/standard-v4s1024/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
credential:
22
{{- if (eq .Values.service.type "LoadBalancer") }}
3-
- name: HOST
3+
- name: EXTERNAL_HOST
44
valueFrom:
55
serviceRef:
66
name: {{ include "common.names.fullname" . }}
77
jsonpath: '{ .status.loadBalancer.ingress[*].ip }'
8-
{{- else if (eq .Values.service.type "ClusterIP") }}
8+
{{- end }}
9+
910
- name: HOST
1011
valueFrom:
1112
serviceRef:
1213
name: {{ include "common.names.fullname" . }}
1314
jsonpath: '{ .spec.clusterIP }'
14-
{{- end }}
1515

1616
- name: API_PORT
1717
valueFrom:

addons/minio/2023/plans/standard-v4s128/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
credential:
22
{{- if (eq .Values.service.type "LoadBalancer") }}
3-
- name: HOST
3+
- name: EXTERNAL_HOST
44
valueFrom:
55
serviceRef:
66
name: {{ include "common.names.fullname" . }}
77
jsonpath: '{ .status.loadBalancer.ingress[*].ip }'
8-
{{- else if (eq .Values.service.type "ClusterIP") }}
8+
{{- end }}
9+
910
- name: HOST
1011
valueFrom:
1112
serviceRef:
1213
name: {{ include "common.names.fullname" . }}
1314
jsonpath: '{ .spec.clusterIP }'
14-
{{- end }}
1515

1616
- name: API_PORT
1717
valueFrom:

addons/minio/2023/plans/standard-v4s256/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
credential:
22
{{- if (eq .Values.service.type "LoadBalancer") }}
3-
- name: HOST
3+
- name: EXTERNAL_HOST
44
valueFrom:
55
serviceRef:
66
name: {{ include "common.names.fullname" . }}
77
jsonpath: '{ .status.loadBalancer.ingress[*].ip }'
8-
{{- else if (eq .Values.service.type "ClusterIP") }}
8+
{{- end }}
9+
910
- name: HOST
1011
valueFrom:
1112
serviceRef:
1213
name: {{ include "common.names.fullname" . }}
1314
jsonpath: '{ .spec.clusterIP }'
14-
{{- end }}
1515

1616
- name: API_PORT
1717
valueFrom:

addons/minio/2023/plans/standard-v4s32/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
credential:
22
{{- if (eq .Values.service.type "LoadBalancer") }}
3-
- name: HOST
3+
- name: EXTERNAL_HOST
44
valueFrom:
55
serviceRef:
66
name: {{ include "common.names.fullname" . }}
77
jsonpath: '{ .status.loadBalancer.ingress[*].ip }'
8-
{{- else if (eq .Values.service.type "ClusterIP") }}
8+
{{- end }}
9+
910
- name: HOST
1011
valueFrom:
1112
serviceRef:
1213
name: {{ include "common.names.fullname" . }}
1314
jsonpath: '{ .spec.clusterIP }'
14-
{{- end }}
1515

1616
- name: API_PORT
1717
valueFrom:

addons/minio/2023/plans/standard-v4s512/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
credential:
22
{{- if (eq .Values.service.type "LoadBalancer") }}
3-
- name: HOST
3+
- name: EXTERNAL_HOST
44
valueFrom:
55
serviceRef:
66
name: {{ include "common.names.fullname" . }}
77
jsonpath: '{ .status.loadBalancer.ingress[*].ip }'
8-
{{- else if (eq .Values.service.type "ClusterIP") }}
8+
{{- end }}
9+
910
- name: HOST
1011
valueFrom:
1112
serviceRef:
1213
name: {{ include "common.names.fullname" . }}
1314
jsonpath: '{ .spec.clusterIP }'
14-
{{- end }}
1515

1616
- name: API_PORT
1717
valueFrom:

addons/minio/2023/plans/standard-v4s64/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
credential:
22
{{- if (eq .Values.service.type "LoadBalancer") }}
3-
- name: HOST
3+
- name: EXTERNAL_HOST
44
valueFrom:
55
serviceRef:
66
name: {{ include "common.names.fullname" . }}
77
jsonpath: '{ .status.loadBalancer.ingress[*].ip }'
8-
{{- else if (eq .Values.service.type "ClusterIP") }}
8+
{{- end }}
9+
910
- name: HOST
1011
valueFrom:
1112
serviceRef:
1213
name: {{ include "common.names.fullname" . }}
1314
jsonpath: '{ .spec.clusterIP }'
14-
{{- end }}
1515

1616
- name: API_PORT
1717
valueFrom:

addons/mysql-cluster/8.0/chart/mysql-cluster/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{/*
2-
Copyright VMware, Inc.
2+
Copyright Drycc Community.
33
SPDX-License-Identifier: APACHE-2.0
44
*/}}
55

0 commit comments

Comments
 (0)