Customizing OpenShift Container Platform Eclipse Che ConsoleLink icon

This procedure describes how to customize Eclipse Che ConsoleLink icon.

Prerequisites
  • An active kubectl session with administrative permissions to the Kubernetes cluster. See Overview of kubectl.

Procedure
  1. Create a Secret:

    kubectl apply -f - <<EOF
    apiVersion: v1
    kind: Secret
    metadata:
      name: che-dashboard-customization
      namespace: eclipse-che
      annotations:
        che.eclipse.org/mount-as: subpath
        che.eclipse.org/mount-path: /public/dashboard/assets/branding
      labels:
        app.kubernetes.io/component: che-dashboard-secret
        app.kubernetes.io/part-of: che.eclipse.org
    data:
      loader.svg: <Base64_encoded_content_of_the_image> (1)
    type: Opaque
    EOF
    1 Base64 encoding with disabled line wrapping.
  2. Wait until the rollout of che-dashboard finishes.