...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/operator/config/gke-addon/manager_patch.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/operator/config/gke-addon

     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
    15- op: add
    16  path: /spec/template/spec/containers/0/volumeMounts
    17  value:
    18  - name: image-config-volume
    19    mountPath: /configconnector-operator/config/images
    20    readOnly: true
    21- op: add
    22  path: /spec/template/spec/volumes
    23  value:
    24    - name: image-config-volume
    25      configMap:
    26        name: config-images
    27- op: add
    28  path: /spec/template/spec/containers/0/lifecycle
    29  value:
    30    postStart:
    31      exec:
    32        command: ["./gke_addon_poststart"]

View as plain text