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

Add base agent-operator tanka config #1900

Merged
merged 4 commits into from
Jul 14, 2022
Merged

Add base agent-operator tanka config #1900

merged 4 commits into from
Jul 14, 2022

Conversation

hjet
Copy link
Contributor

@hjet hjet commented Jul 13, 2022

PR Description

This PR adds a library to generate the base agent-operator manifest found here. Subsequent PRs will cover the CRs (metrics, logs, etc.) in the custom resource quickstart.

Will investigate using the k8s library, which seems to generate the jsonnet libraries from the CRDs directly...

This work is to support the addition of generated agent-operator configs in Grafana Cloud K8s monitoring.

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

  • CHANGELOG updated
  • Documentation added
  • Tests updated

@hjet hjet changed the title Add operator tanka Add base agent-operator tanka config Jul 13, 2022
@hjet hjet requested review from captncraig and a team July 13, 2022 17:54
local this = self,

_images:: {
agent_operator: 'grafana/agent-operator:v0.26.0-rc.0',
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm a little worried this image is in a bad place, and will not be updated very easily. The agent libs import lib/version.libsonnet. Maybe make another operator version file, or I think preferably change version.libsonnet into a file like images.libsonnet and have both images in one place.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah i thought lib/version.libsonnet was deprecated since those manifests aren't generated anymore - was just matching the approach used in the agent tanka lib - happy to create a new version file though and use that in the agent, operator, etc. base libs

@rgeyer
Copy link
Contributor

rgeyer commented Jul 13, 2022

LGTM, besides Craig's feedback.

@hjet hjet enabled auto-merge (squash) July 14, 2022 14:57
@hjet hjet merged commit 4148c61 into main Jul 14, 2022
@hjet hjet deleted the add_operator_tanka branch July 14, 2022 15:08
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Mar 25, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants