Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-4345

[RN] Support ServiceAccount token volume projection

XMLWordPrintable

    • False
    • None
    • False
    • Release Notes
    • Hide
      = Supported ServiceAccount token volume projection

      With this update, administrators can configure the ServiceAccount token mounted in workspace Pods as a link:https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#serviceaccount-token-volume-projection[projected ServiceAccount token]. This enhancement enables administrators to set the `audience`, `mountPath`, and `expirationSeconds` of the token and enables federation such as link:https://cloud.google.com/iam/docs/workload-identity-federation[GCP workload identity federation]. Administrators can specify projected tokens properties in a `CheCluster` CR:

      [source,yaml,subs="+quotes"]
      ----
      spec:
        devEnvironments:
          serviceAccountTokens:
            - name: __<name>__
              mounthPath: __<absolute_path_in_the_container>__
              audience: __<audience>__
              expirationSeconds: __<positive_integer>__
              path: __<path_relative_to_the_mountpath>__
      ----
      Show
      = Supported ServiceAccount token volume projection With this update, administrators can configure the ServiceAccount token mounted in workspace Pods as a link: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#serviceaccount-token-volume-projection [projected ServiceAccount token]. This enhancement enables administrators to set the `audience`, `mountPath`, and `expirationSeconds` of the token and enables federation such as link: https://cloud.google.com/iam/docs/workload-identity-federation [GCP workload identity federation]. Administrators can specify projected tokens properties in a `CheCluster` CR: [source,yaml,subs="+quotes"] ---- spec:   devEnvironments:     serviceAccountTokens:       - name: __<name>__         mounthPath: __<absolute_path_in_the_container>__         audience: __<audience>__         expirationSeconds: __<positive_integer>__         path: __<path_relative_to_the_mountpath>__ ----
    • Enhancement
    • Done

            mloriedo Mario Loriedo
            rhn-support-mleonov Max Leonov
            Max Leonov Max Leonov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: