Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify the Lieutenant API Url in an argument to the operator #113

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

HappyTetrahedron
Copy link
Contributor

Requires lieutenant-operator v1.11 to be released

Checklist

  • The PR has a meaningful title. It will be used to auto-generate the
    changelog.
    The PR has a meaningful description that sums up the change. It will be
    linked in the changelog.
  • PR contains a single logical change (to build a better changelog).
  • Update the documentation.
  • Categorize the PR by adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog.
  • Link this PR to related issues or PRs.

@HappyTetrahedron HappyTetrahedron marked this pull request as draft July 25, 2024 09:23
@HappyTetrahedron HappyTetrahedron marked this pull request as ready for review July 26, 2024 07:36
@HappyTetrahedron HappyTetrahedron requested a review from a team July 26, 2024 07:38
@@ -18,6 +18,7 @@ parameters:
operator:
manifest_version: v${lieutenant:images:operator:version}
manifest_url: https://raw.githubusercontent.com/projectsyn/lieutenant-operator/${lieutenant:operator:manifest_version}/config
lieutenant_api_url: https://${lieutenant:api:ingress:host}
Copy link

@DebakelOrakel DebakelOrakel Jul 26, 2024

Choose a reason for hiding this comment

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

Is this ever different than ${lieutenant:api:ingress:host}?

If not, than you could compute the value of the ENV varibale from the api ingress config.

Copy link
Contributor Author

@HappyTetrahedron HappyTetrahedron Jul 26, 2024

Choose a reason for hiding this comment

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

Probably not. It still felt iffy to hardcode it.

Copy link

github-actions bot commented Jul 26, 2024

🚀 This PR has been released as v2.20.0

Triggering workflows Release

🛠️ Auto tagging enabled with label bump:minor

@HappyTetrahedron HappyTetrahedron merged commit 5b9dee6 into master Jul 26, 2024
8 checks passed
@HappyTetrahedron HappyTetrahedron deleted the feat/specify-api-url branch July 26, 2024 09:19
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