ambitious-air-47430
03/05/2024, 2:32 PM{"json":{"src":"controller.go:602"},"level":"warning","msg":"Failed to create cluster resources for namespace [flytesnacks-production] with err: Failed to create kubernetes object from config template [002_serviceaccount.yaml] for namespace [flytesnacks-production] with err: serviceaccounts is forbidden: User \"sys
tem:serviceaccount:flyte:flyte-backend-flyte-binary\" cannot create resource \"serviceaccounts\" in API group \"\" in the namespace \"flytesnacks-production\"","ts":"2024-03-05T14:11:44Z"}inline:
        tasks:
          task-plugins:
            enabled-plugins:
              - container
              - sidecar
              - K8S-ARRAY
            default-for-task-types:
              - container: container
              - container_array: k8s-array
        cluster_resources:
          customData:
          - production:
            - gsa:
                value: <mailto:cool-gcp-sa@gke-foo-bar.iam.gserviceaccount.com|cool-gcp-sa@gke-foo-bar.iam.gserviceaccount.com>
          - staging:
            - gsa:
                value: <mailto:cool-gcp-sa@gke-foo-bar.iam.gserviceaccount.com|cool-gcp-sa@gke-foo-bar.iam.gserviceaccount.com>
          - development:
            - gsa:
                value: <mailto:cool-gcp-sa@gke-foo-bar.iam.gserviceaccount.com|cool-gcp-sa@gke-foo-bar.iam.gserviceaccount.com>
    clusterResourceTemplates:
      inline:
        001_namespace.yaml: |
          apiVersion: v1
          kind: Namespace
          metadata:
            name: '{{ namespace }}'
        002_serviceaccount.yaml: |
          apiVersion: v1
          kind: ServiceAccount
          metadata:
            name: default
            namespace: '{{ namespace }}'
            annotations:
              <http://iam.gke.io/gcp-service-account|iam.gke.io/gcp-service-account>: '{{ gsa }}'average-finland-92144
03/05/2024, 3:14 PMcustomDataambitious-air-47430
03/06/2024, 10:37 AM