Skip to content

Adding conditional Log Detective variables to configuration templates#687

Open
jpodivin wants to merge 1 commit intopackit:mainfrom
jpodivin:logdetective
Open

Adding conditional Log Detective variables to configuration templates#687
jpodivin wants to merge 1 commit intopackit:mainfrom
jpodivin:logdetective

Conversation

@jpodivin
Copy link
Contributor

I've used the same approach as utilized by other secrets. Both URL and token will be stored in bitwarden and rendered into template only if the URL is present. Log Detective interface server will always require authentication. Therefore, any configuration when URL is set, but the token is missing, is not viable.

Since removing the fields from configuration can be accomplished by just renaming, or removing, the variables in bitwarden, the fields were added to both prod and stage configuration templates.

RELEASE NOTES BEGIN

Log Detective URL and token are now conditional part of the service configuration.

RELEASE NOTES END

@centosinfra-prod-github-app
Copy link
Contributor

@centosinfra-prod-github-app
Copy link
Contributor

@centosinfra-prod-github-app
Copy link
Contributor

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
@centosinfra-prod-github-app
Copy link
Contributor

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

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant