initial commit
This commit is contained in:
commit
e72c46c195
20
network-namespace.yaml
Normal file
20
network-namespace.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Copyright 2024-2025 Google LLC
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: network
|
||||||
|
annotations:
|
||||||
|
cnrm.cloud.google.com/project-id: "dtwdemo2026"
|
||||||
29
network-repo-sync.yaml
Normal file
29
network-repo-sync.yaml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# Copyright 2024-2025 Google LLC
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
apiVersion: configsync.gke.io/v1beta1
|
||||||
|
kind: RepoSync
|
||||||
|
metadata:
|
||||||
|
name: repo-sync
|
||||||
|
namespace: network
|
||||||
|
spec:
|
||||||
|
sourceType: git
|
||||||
|
sourceFormat: unstructured
|
||||||
|
git:
|
||||||
|
repo: https://networkagent:Z!nkF0unDRy2o26@34.13.23.210:3000/networkagent/network
|
||||||
|
revision: HEAD
|
||||||
|
branch: master
|
||||||
|
auth: none
|
||||||
|
gcpServiceAccountEmail: networkagent@me.com
|
||||||
|
noSSLVerify: True
|
||||||
27
network-role.yaml
Normal file
27
network-role.yaml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# Copyright 2024-2025 Google LLC
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: RoleBinding
|
||||||
|
metadata:
|
||||||
|
name: network-rolebinding
|
||||||
|
namespace: network
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: cluster-admin
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: ns-reconciler-network
|
||||||
|
namespace: config-management-system
|
||||||
Loading…
Reference in New Issue
Block a user