...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/operator/config/samples/controller_resource_customization_sample.yaml

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

     1# Copyright 2023 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: customize.core.cnrm.cloud.google.com/v1alpha1
    16kind: ControllerResource
    17metadata:
    18  name: cnrm-controller-manager
    19spec:
    20  containers:
    21    - name: manager
    22      resources:
    23        limits:
    24          cpu: 200m
    25          memory: 512Mi
    26        requests:
    27          cpu: 100m
    28          memory: 256Mi
    29---
    30apiVersion: customize.core.cnrm.cloud.google.com/v1alpha1
    31kind: ControllerResource
    32metadata:
    33  name: cnrm-webhook-manager
    34spec:
    35  containers:
    36    - name: webhook
    37      resources:
    38        limits:
    39          memory: 512Mi
    40        requests:
    41          memory: 256Mi

View as plain text