...
1# Copyright 2020 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: compute.cnrm.cloud.google.com/v1beta1
16kind: ComputeForwardingRule
17metadata:
18 labels:
19 label-one: "value-one"
20 name: computerouterinterface-dep1
21spec:
22 description: "A regional forwarding rule"
23 target:
24 targetVPNGatewayRef:
25 name: computerouterinterface-dep
26 ipProtocol: "ESP"
27 location: us-central1
28 ipAddress:
29 addressRef:
30 name: computerouterinterface-dep
31---
32apiVersion: compute.cnrm.cloud.google.com/v1beta1
33kind: ComputeForwardingRule
34metadata:
35 labels:
36 label-one: "value-one"
37 name: computerouterinterface-dep2
38spec:
39 description: "A regional forwarding rule"
40 target:
41 targetVPNGatewayRef:
42 name: computerouterinterface-dep
43 ipProtocol: "UDP"
44 portRange: "500"
45 location: us-central1
46 ipAddress:
47 addressRef:
48 name: computerouterinterface-dep
49---
50apiVersion: compute.cnrm.cloud.google.com/v1beta1
51kind: ComputeForwardingRule
52metadata:
53 labels:
54 label-one: "value-one"
55 name: computerouterinterface-dep3
56spec:
57 description: "A regional forwarding rule"
58 target:
59 targetVPNGatewayRef:
60 name: computerouterinterface-dep
61 ipProtocol: "UDP"
62 portRange: "4500"
63 location: us-central1
64 ipAddress:
65 addressRef:
66 name: computerouterinterface-dep
View as plain text