Uploaded image for project: 'OpenShift CFE'
  1. OpenShift CFE
  2. CFE-688

Update install-config CRD to support gcp userLabels.

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • 5
    • False
    • None
    • False
    • OCPSTRAT-169 - [Tech Preview] Apply user defined tags to all resources created by OpenShift (GCP)
    • 0

      Enhancement proposed for Azure tags support in OCP, requires install-config CRD to be updated to include gcp userLabels for user to configure, which will be referred by the installer to apply the list of labels on each resource created by it and as well make it available in the Infrastructure CR created.

      Below is the snippet of the change required in the CRD

      apiVersion: apiextensions.k8s.io/v1
      kind: CustomResourceDefinition
      metadata: 
        name: installconfigs.install.openshift.io
      spec: 
        versions: 
        - name: v1
          schema: 
            openAPIV3Schema: 
              properties: 
                platform: 
                  properties: 
                    gcp: 
                      properties: 
                        userLabels: 
                          additionalProperties: 
                            type: string
                          description: UserLabels additional keys and values that the installer
                            will add as labels to all resources that it creates. Resources
                            created by the cluster itself may not include these labels.
                        type: object
      

      This change is required for testing the changes of the feature, and should ideally get merged first.

      Acceptance Criteria

      • Code linting, validation and best practices adhered to
      • User should be able to configure gcp user defined labels in the install-config.yaml
      • Fields descriptions

            bhb@redhat.com Bharath B
            bhb@redhat.com Bharath B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: