With the release of v0.7.0, there are incompatible changes you must address when migrating from previous versions.
Important: This version is intended for use with CAP Operator
v0.15.0or later. If you are using an older version (<= v0.6.0), it will still work seamlessly due to the CAP Operator’s migration support. But to take advantage of the new features and improvements, you should update the plugin tov0.7.0.
The app.domains.secondary field in values.yaml has been removed and replaced with app.domains.additionalDomainRefs. This update aligns with the improved domain management introduced in CAP Operator v0.15.0.
The new additionalDomainRefs field enables you to reference existing Domain or ClusterDomain resources, providing greater flexibility and control over networking, TLS, ingress routing, and DNS setup. For more details, see the CAP Operator documentation.
Follow the steps below based on your current chart setup:
- Force update the existing chart:
cds add cap-operator --force
- Accept all incoming changes in the
values.schema.jsonfile. - In your
values.yaml, rename thesecondaryfield toadditionalDomainRefs:app: domains: primary: myapp.example.com additionalDomainRefs: []
- Rebuild your chart:
cds build
-
Force update the existing chart:
cds add cap-operator --with-templates --force
-
Accept all incoming changes in:
values.schema.jsontemplates/_helpers.tpltemplates/domain.yamltemplates/cap-operator-cros.yamltemplates/service-instance.yaml
Note: If you have customized any of these files, review and merge changes manually to retain your modifications.
-
In your
values.yaml, rename thesecondaryfield toadditionalDomainRefs:app: domains: primary: myapp.example.com additionalDomainRefs: []
-
Force update the existing chart:
cds add cap-operator --with-configurable-templates --force
-
Accept all incoming changes in:
values.schema.jsontemplates/_helpers.tpltemplates/domain.yamltemplates/cap-operator-cros.yamltemplates/service-instance.yaml
Note: If you have customized any of these files, review and merge changes manually to retain your modifications.
-
In your
values.yaml, rename thesecondaryfield toadditionalDomainRefs:app: domains: primary: myapp.example.com additionalDomainRefs: []
If you encounter issues or need further assistance, please consult the official documentation or open an issue in the CAP Operator Plugin GitHub repository.