Skip to content

Commit

Permalink
charts: rename repconf and fqdnnetpol for consistency, add missing la…
Browse files Browse the repository at this point in the history
…bels
  • Loading branch information
tronghn committed Jan 7, 2025
1 parent d61a8b6 commit 14a04b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/Feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.<cluster>.<tenant>.cloud.nais.io`)
required: true
computed:
template: '"{{ subdomain . "tokenx" }}"'
Expand Down
6 changes: 4 additions & 2 deletions charts/templates/netpol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 14a04b1

Please sign in to comment.