github.com/verrazzano/verrazzano@v1.7.0/application-operator/mcagent/testdata/multicluster-configmap-update.yaml (about)

     1  # Copyright (c) 2021, 2022, Oracle and/or its affiliates.
     2  # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  apiVersion: clusters.verrazzano.io/v1alpha1
     4  kind: MultiClusterConfigMap
     5  metadata:
     6    name: unit-mccm
     7    namespace: unit-mccm-namespace
     8    labels:
     9      label1: test1updated
    10      verrazzano-managed: "true"
    11  spec:
    12    template:
    13      metadata:
    14        name: myconfigmap
    15        namespace: myns
    16      data:
    17        simple.key: "simplevalue2"
    18        json.key: |
    19          {
    20            "testStrKey": "testValue",
    21            "testNumKey": 3
    22          }
    23        yaml.key: |
    24          testYamlKey1: testValue1
    25          testArrayKey:
    26          - arrayVal1
    27          - arrayVal2
    28    placement:
    29      clusters:
    30        - name: managed1