...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/config/installbundle/releases/scopes/namespaced/shared-components/kustomization.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/config/installbundle/releases/scopes/namespaced/shared-components

     1# Copyright 2022 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
    15namePrefix: cnrm-
    16namespace: cnrm-system
    17commonLabels:
    18  cnrm.cloud.google.com/system: "true"
    19commonAnnotations:
    20  cnrm.cloud.google.com/version: 0.0.0-dev
    21resources:
    22  - ../../../../base
    23  - ../../../../components/unmanageddetector
    24  # Grant unmanageddetector permissions to list StatefulSets, create events, etc.
    25  - unmanageddetector_clusterrole.yaml
    26  - unmanageddetector_clusterrolebindings.yaml
    27patchesJson6902:
    28  # Grant unmanageddetector read/update permissions on KCC resources
    29  - target:
    30      group: rbac.authorization.k8s.io
    31      version: v1
    32      kind: ClusterRoleBinding
    33      name: admin-binding
    34    path: cnrm_admin_binding_unmanageddetector_patch.yaml

View as plain text