Skip to content

Commit

Permalink
feat: distinct VPC host prep examples (#894)
Browse files Browse the repository at this point in the history
  • Loading branch information
alaincormier-ssc authored Mar 12, 2024
1 parent ffeaa5e commit bd3a614
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ kind: DNSRecordSet
metadata:
name: workload-name-client-name-standard-core-public-dns-a-rset # kpt-set: workload-name-${client-name}-standard-core-public-dns-a-rset
annotations:
cnrm.cloud.google.com/project-id: host-project-id # kpt-set: ${host-project-id}
cnrm.cloud.google.com/project-id: dns-project-id # kpt-set: ${dns-project-id}
spec:
name: "dns-name" # kpt-set: ${dns-name}
type: "A"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ spec:
disabled: false
# AU-12
enableLogging: true
# edit reference to nonp or pbmm folder accordingly
firewallPolicyRef:
name: client-name-standard-applications-infrastructure-fwpol # kpt-set: ${client-name}-standard-applications-infrastructure-fwpol
name: client-name-standard-app-infra-nonp-fwpol # kpt-set: ${client-name}-standard-app-infra-nonp-fwpol
namespace: client-name-networking # kpt-set: ${client-name}-networking
match:
# edit protocol and ports accordingly
layer4Configs:
- ipProtocol: "tcp"
ports:
Expand All @@ -41,5 +43,5 @@ spec:
# add a list of destination fqdns below
destFqdns:
- "example.com"
# IMPORTANT to set a proper priority, each project should have a reserved range
# IMPORTANT to set a proper priority, no duplicates allowed on the same policy, each project should have a reserved range
priority: 5050

0 comments on commit bd3a614

Please sign in to comment.