Skip to content

Conversation

@daniel-butler-irl
Copy link
Contributor

@daniel-butler-irl daniel-butler-irl commented Jul 4, 2025

Description

Adding addon tests exposed we needed to map the existing kms crn in observability for flows where kms was disabled

Release required?

  • No release
  • Patch release (x.x.X)
  • Minor release (x.X.x)
  • Major release (X.x.x)
Release notes content

Run the pipeline

If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.

Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:

/run pipeline

Checklist for reviewers

  • If relevant, a test for the change is included or updated with this PR.
  • If relevant, documentation for the change is included or updated with this PR.

For mergers

  • Use a conventional commit message to set the release level. Follow the guidelines.
  • Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
  • Use the Squash and merge option.

@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

Copy link
Member

@rajatagarwal-ibm rajatagarwal-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think one more test case can be added:

  • accounts disabled, and others are enabled.

Wondering if there's a way to find all possible combinations of the tests? Maybe we could create a small tool or something?

@daniel-butler-irl
Copy link
Contributor Author

daniel-butler-irl commented Jul 4, 2025

Wondering if there's a way to find all possible combinations of the tests? Maybe we could create a small tool or something?

Yes this is on my TODO list already.

accounts disabled, and others are enabled.

I think this is the default behaviour

@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

1 similar comment
@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

1 similar comment
@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

SkipInfrastructureDeployment: true,
},
{
Name: "EN-With-KMS-Disabled",
Copy link
Contributor

@ocofaigh ocofaigh Jul 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test should not be passing. The current Observability monolith requires KMS. So if you remove KMS, the Observability DA has a required input thats shows like this:
image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this test case, we explicitly pass the key line 531, as we expect the user to do this in that flow. Or do you think we should raise the key up to the top level and never have them go to the lower level configurations?

Copy link
Contributor

@ocofaigh ocofaigh Jul 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think consumer should ever have to go to the lower level configurations to fill in a required value. Only if they want to override a value. The problem here is that KMS is required for current Observability DA. And until we add a "Full configurable" variation - I think we have to mark KMS as required in Observability DA

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually this is set at the top level which I think is the correct usage

@ocofaigh ocofaigh merged commit e3d2d6b into main Jul 11, 2025
2 checks passed
@ocofaigh ocofaigh deleted the adon_tests branch July 11, 2025 13:01
@terraform-ibm-modules-ops
Copy link
Contributor

🎉 This PR is included in version 2.4.15 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants