mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 06:58:50 +08:00
[bitnami/external-dns] Allow ARNs from AWS China to validate properly (#4021)
* Allow ARNs from AWS China to validate properly * Bump chart version Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: external-dns
|
||||
version: 3.4.7
|
||||
version: 3.4.8
|
||||
appVersion: 0.7.4
|
||||
description: ExternalDNS is a Kubernetes addon that configures public DNS servers with information about exposed Kubernetes services to make them discoverable.
|
||||
keywords:
|
||||
|
||||
@@ -284,7 +284,7 @@ Validate values of External DNS:
|
||||
*/}}
|
||||
{{- define "external-dns.validateValues.aws" -}}
|
||||
{{- if and (eq .Values.provider "aws") .Values.aws.assumeRoleArn -}}
|
||||
{{- if not (regexMatch "^arn:(aws|aws-us-gov):iam::.*$" .Values.aws.assumeRoleArn) -}}
|
||||
{{- if not (regexMatch "^arn:(aws|aws-us-gov|aws-cn):iam::.*$" .Values.aws.assumeRoleArn) -}}
|
||||
external-dns: aws.assumeRoleArn
|
||||
The AWS Role to assume must follow ARN format: `arn:aws:iam::123455567:role/external-dns`
|
||||
Ref: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
||||
|
||||
Reference in New Issue
Block a user