Skip to content

Commit ab9224d

Browse files
committed
megre(addons): megre upstream
2 parents b47a2be + 68a7e38 commit ab9224d

25 files changed

Lines changed: 70 additions & 58 deletions

File tree

addons/airflow/2/chart/airflow/templates/web/tls-secrets.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ data:
2424
{{- end }}
2525
{{- if and .Values.ingress.tls .Values.ingress.selfSigned }}
2626
{{- $secretName := printf "%s-tls" .Values.ingress.hostname }}
27-
{{- $ca := genCA "airflow-ca" 365 }}
28-
{{- $cert := genSignedCert .Values.ingress.hostname nil (list .Values.ingress.hostname) 365 $ca }}
27+
{{- $ca := genCA "airflow-ca" 36500 }}
28+
{{- $cert := genSignedCert .Values.ingress.hostname nil (list .Values.ingress.hostname) 36500 $ca }}
2929
apiVersion: v1
3030
kind: Secret
3131
metadata:

addons/airflow/2/chart/airflow/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1293,7 +1293,7 @@ ingress:
12931293
## NOTE: 'key' and 'certificate' are expected in PEM format
12941294
## NOTE: 'name' should line up with a 'secretName' set further up
12951295
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
1296-
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
1296+
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 36500 days
12971297
## It is also possible to create and manage the certificates outside of this helm chart
12981298
## Please see README.md for more information
12991299
## e.g:

addons/cloudbeaver/23/chart/cloudbeaver/templates/tls-secrets.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ data:
2121
{{- end }}
2222
{{- end }}
2323
{{- if and .Values.ingress.tls .Values.ingress.selfSigned }}
24-
{{- $ca := genCA "node-ca" 365 }}
25-
{{- $cert := genSignedCert .Values.ingress.hostname nil (list .Values.ingress.hostname) 365 $ca }}
24+
{{- $ca := genCA "node-ca" 36500 }}
25+
{{- $cert := genSignedCert .Values.ingress.hostname nil (list .Values.ingress.hostname) 36500 $ca }}
2626
apiVersion: v1
2727
kind: Secret
2828
metadata:

addons/grafana/10/chart/grafana/templates/tls-secret.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ data:
2222
{{- end }}
2323
{{- end }}
2424
{{- if and .Values.ingress.tls .Values.ingress.selfSigned }}
25-
{{- $ca := genCA "grafana-ca" 365 }}
26-
{{- $cert := genSignedCert .Values.ingress.hostname nil (list .Values.ingress.hostname) 365 $ca }}
25+
{{- $ca := genCA "grafana-ca" 36500 }}
26+
{{- $cert := genSignedCert .Values.ingress.hostname nil (list .Values.ingress.hostname) 36500 $ca }}
2727
apiVersion: v1
2828
kind: Secret
2929
metadata:

addons/kafka/3.6/chart/kafka/templates/tls-secret.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ SPDX-License-Identifier: APACHE-2.0
2323
{{- $altNames = append $altNames (printf "%s.%s" $replicaHost $releaseNamespace) }}
2424
{{- $altNames = append $altNames $replicaHost }}
2525
{{- end }}
26-
{{- $ca := genCA "kafka-ca" 365 }}
27-
{{- $cert := genSignedCert $fullname nil $altNames 365 $ca }}
26+
{{- $ca := genCA "kafka-ca" 36500 }}
27+
{{- $cert := genSignedCert $fullname nil $altNames 36500 $ca }}
2828
apiVersion: v1
2929
kind: Secret
3030
metadata:

addons/kafka/3.6/meta.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ allow_parameters:
1818
- name: "extraEnvVars"
1919
required: false
2020
description: "extraEnvVars config for values.yaml"
21+
- name: "extraConfig"
22+
required: false
23+
description: "extraConfig config for values.yaml"
24+
- name: "controller.extraConfig"
25+
required: false
26+
description: "controller.extraConfig config for values.yaml"
27+
- name: "broker.extraConfig"
28+
required: false
29+
description: "broker.extraConfig config for values.yaml"
2130
- name: "listeners.client.protocol"
2231
required: false
2332
description: "listeners client protocol config for values.yaml"

addons/minio/2023/chart/minio/templates/tls-secrets.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ data:
2121
{{- end }}
2222
{{- end }}
2323
{{- if and .Values.ingress.tls .Values.ingress.selfSigned }}
24-
{{- $ca := genCA "minio-ca" 365 }}
25-
{{- $cert := genSignedCert .Values.ingress.hostname nil (list .Values.ingress.hostname) 365 $ca }}
24+
{{- $ca := genCA "minio-ca" 36500 }}
25+
{{- $cert := genSignedCert .Values.ingress.hostname nil (list .Values.ingress.hostname) 36500 $ca }}
2626
apiVersion: v1
2727
kind: Secret
2828
metadata:
@@ -43,14 +43,14 @@ data:
4343
{{- end }}
4444
{{- end }}
4545
{{- if (include "minio.createTlsSecret" .) }}
46-
{{- $ca := genCA "minio-ca" 365 }}
46+
{{- $ca := genCA "minio-ca" 36500 }}
4747
{{- $releaseNamespace := .Release.Namespace }}
4848
{{- $clusterDomain := .Values.clusterDomain }}
4949
{{- $fullname := include "common.names.fullname" . }}
5050
{{- $serviceName := include "common.names.fullname" . }}
5151
{{- $headlessServiceName := printf "%s-headless" (include "common.names.fullname" .) }}
5252
{{- $altNames := list (printf "*.%s.%s.svc.%s" $serviceName $releaseNamespace $clusterDomain) (printf "%s.%s.svc.%s" $serviceName $releaseNamespace $clusterDomain) (printf "*.%s.%s.svc.%s" $headlessServiceName $releaseNamespace $clusterDomain) (printf "%s.%s.svc.%s" $headlessServiceName $releaseNamespace $clusterDomain) "127.0.0.1" "localhost" $fullname }}
53-
{{- $crt := genSignedCert $fullname nil $altNames 365 $ca }}
53+
{{- $crt := genSignedCert $fullname nil $altNames 36500 $ca }}
5454
---
5555
apiVersion: v1
5656
kind: Secret

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ ingress:
698698
## name should line up with a secretName set further up
699699
##
700700
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
701-
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
701+
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 36500 days
702702
## It is also possible to create and manage the certificates outside of this helm chart
703703
## Please see README.md for more information
704704
##
@@ -807,7 +807,7 @@ apiIngress:
807807
## name should line up with a secretName set further up
808808
##
809809
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
810-
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
810+
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 36500 days
811811
## It is also possible to create and manage the certificates outside of this helm chart
812812
## Please see README.md for more information
813813
##

addons/minio/2023/meta.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ allow_parameters:
2121
- name: "service.type"
2222
required: false
2323
description: "service type config for values.yaml"
24+
- name: "auth.rootPassword"
25+
required: false
26+
description: "auth rootPassword config for values.yaml"
2427
- name: "metrics.enabled"
2528
required: false
2629
description: "metrics enabled or not config for values.yaml"

addons/mongodb/7.0/chart/mongodb/templates/common-scripts-cm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ data:
9393
#Create the client/server cert
9494
openssl req -new -key /certs/mongo.key -out /certs/mongo.csr -subj "/C=US/O=My Organisations/OU=IT/CN=$my_hostname" -config /certs/openssl.cnf
9595
#Signing the server cert with the CA cert and key
96-
openssl x509 -req -in /certs/mongo.csr -CA /certs/mongodb-ca-cert -CAkey /certs/mongodb-ca-key -CAcreateserial -out /certs/mongo.crt -days 3650 -extensions v3_req -extfile /certs/openssl.cnf
96+
openssl x509 -req -in /certs/mongo.csr -CA /certs/mongodb-ca-cert -CAkey /certs/mongodb-ca-key -CAcreateserial -out /certs/mongo.crt -days 36500 -extensions v3_req -extfile /certs/openssl.cnf
9797
rm /certs/mongo.csr
9898
#Concatenate to a pem file for use as the client PEM file which can be used for both member and client authentication.
9999
cat /certs/mongo.crt /certs/mongo.key > /certs/mongodb.pem

0 commit comments

Comments
 (0)