diff --git a/charts/Feature.yaml b/charts/Feature.yaml index 59ee3a6a..348fc281 100644 --- a/charts/Feature.yaml +++ b/charts/Feature.yaml @@ -60,7 +60,7 @@ values: ignoreKind: - onprem tokendings.host: - description: Setting this overrides the mapping value (only needed for legacy/onprem environments) + description: Setting this overrides the default mapping value (i.e. `tokenx...cloud.nais.io`) required: true computed: template: '"{{ subdomain . "tokenx" }}"' diff --git a/charts/templates/netpol.yaml b/charts/templates/netpol.yaml index e9a0aadf..9b4c1a56 100644 --- a/charts/templates/netpol.yaml +++ b/charts/templates/netpol.yaml @@ -2,7 +2,9 @@ apiVersion: nais.io/v1 kind: ReplicationConfig metadata: - name: {{ .Release.Name }}-tokendings-egress + name: {{ .Release.Name }}-tokendings + labels: + {{- include "tokenx.tokendings.labels" . | nindent 4 }} spec: namespaceSelector: matchExpressions: @@ -13,7 +15,7 @@ spec: apiVersion: networking.gke.io/v1alpha3 kind: FQDNNetworkPolicy metadata: - name: {{ .Release.Name }}-tokendings-egress + name: {{ .Release.Name }}-tokendings-fqdn annotations: fqdnnetworkpolicies.networking.gke.io/aaaa-lookups: "skip" spec: