Skip to content

[patch] Fix ibm-operator-catalog app attempting to render with invalid defaults#421

Merged
rbinns merged 2 commits intomainfrom
fix-ibm-catalog-operator-defaults
Mar 20, 2026
Merged

[patch] Fix ibm-operator-catalog app attempting to render with invalid defaults#421
rbinns merged 2 commits intomainfrom
fix-ibm-catalog-operator-defaults

Conversation

@tomklapiscak
Copy link
Contributor

@tomklapiscak tomklapiscak commented Mar 20, 2026

The defaults in ibm-mas-cluster-root/values.yaml:

ibm_operator_catalog:
  mas_catalog_version: xxx

cause the ibm-operator-catalog application to render even when there is no ibm-operator-catalog.yaml configuration file present in gitops-envs. Because the defaults do not represent a valid configuration, this results in ArgoCD attempting and failing to sync the application rather than mark it for deletion.

This PR resolves the issue by:

  • removing the default values
  • guarding references to the values to prevent issues when no value is present

ttps://jsw.ibm.com/browse/MASCORE-12837

Verified that the application still renders as expected when ibm-operator-catalog.yaml is present:
image

Verified that the application is now correctly marked for deletion when ibm-operator-catalog.yaml is absent, and the instance and sls appsets are still rendering correctly:
image

…provided

In the absence of any real ibm-operator-catalog.yaml file, the defaults from values.yaml were being used. This caused the application to attempt to render with invalid values and fail.
@tomklapiscak tomklapiscak requested a review from rbinns March 20, 2026 14:19
@rbinns rbinns merged commit dc1099e into main Mar 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants