Chapter 3. Deprecated functionalities


This section lists deprecated functionalities in Red Hat Developer Hub 1.3.

3.1. spec.application.image, spec.application.replicas and spec.application.imagePullSecrets fields are deprecated

spec.application.image, spec.application.replicas and spec.application.imagePullSecrets fields are deprecated in v1alpha2 in favour of spec.deployment.

Procedure:

To update your Developer Hub Operation configuration:

  1. Remove the spec.application.image, spec.application.replicas and spec.application.imagePullSecrets fields from the Operator configuration:

    spec:
      application:
        replicas: 2 1
        imagePullSecrets: 2
          - my-secret-name
        image: quay.io/my/my-rhdh:latest 3
    1
    Replica count.
    2
    Array of image pull secrets names.
    3
    Image name.
  2. Replace the removed fields by new spec.deployment fields, such as:

    spec:
      deployment:
        patch:
          spec:
            replicas: 2 1
            imagePullSecrets: 2
              - name: my-secret-name
            template:
              metadata:
                labels:
                  my: true
              spec:
                containers:
                  - name: backstage-backend
                    image: quay.io/my/my-rhdh:latest 3
    1
    Replica count.
    2
    Array of image pull secrets names.
    3
    Image name.

Additional resources

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.