Skip to content

Create _metrics_utility_secret for metrics utility#1857

Merged
rooftopcellist merged 1 commit intoansible:develfrom
dhageman:utility-secret
May 16, 2024
Merged

Create _metrics_utility_secret for metrics utility#1857
rooftopcellist merged 1 commit intoansible:develfrom
dhageman:utility-secret

Conversation

@dhageman
Copy link
Copy Markdown
Contributor

@dhageman dhageman commented May 15, 2024

SUMMARY

The template for the metrics utility cronjobs references the variable _metrics_utility_secret. This variable is missing from the list of variables constructed for the utility.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change

Copy link
Copy Markdown
Member

@rooftopcellist rooftopcellist left a comment

Choose a reason for hiding this comment

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

Without this, the _metrics_utility_secret param would not be set from metrics_utility_secret.

It will fail if the metrics_utility_secret or default name for that secret does not exist. We could potentially add a preflight check for that in a follow-up PR. But not required.

@rooftopcellist rooftopcellist merged commit cf61205 into ansible:devel May 16, 2024
@dhageman dhageman deleted the utility-secret branch June 3, 2024 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants