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

NETOBSERV-793 Change default loki CA configmap name #254

Merged
merged 2 commits into from
Feb 3, 2023

Conversation

jotak
Copy link
Member

@jotak jotak commented Jan 27, 2023

Changing to "loki-gateway-ca-bundle" so that it matches loki operator 5.6 name

JIRA: https://issues.redhat.com/browse/NETOBSERV-793

@jotak
Copy link
Member Author

jotak commented Jan 27, 2023

This will likely be needed in 1.1

Changing to "loki-gateway-ca-bundle" so that it matches loki
operator 5.6 name
@Amoghrd
Copy link
Contributor

Amoghrd commented Jan 31, 2023

/ok-to-test

@Amoghrd
Copy link
Contributor

Amoghrd commented Jan 31, 2023

/label ok-to-test

@jotak
Copy link
Member Author

jotak commented Feb 1, 2023

/ok-to-test

@openshift-ci openshift-ci bot added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Feb 1, 2023
@github-actions
Copy link

github-actions bot commented Feb 1, 2023

New image: ["quay.io/netobserv/network-observability-operator:b120adc"]. It will expire after two weeks.

@Amoghrd
Copy link
Contributor

Amoghrd commented Feb 2, 2023

/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved QE has approved this pull request label Feb 2, 2023
@jotak
Copy link
Member Author

jotak commented Feb 3, 2023

/approve

@openshift-ci
Copy link

openshift-ci bot commented Feb 3, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jotak

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Feb 3, 2023
@jotak jotak merged commit 103dbce into netobserv:main Feb 3, 2023
jotak added a commit to jotak/network-observability-operator that referenced this pull request Feb 3, 2023
Changing to "loki-gateway-ca-bundle" so that it matches loki
operator 5.6 name
openshift-merge-robot pushed a commit that referenced this pull request Feb 3, 2023
Changing to "loki-gateway-ca-bundle" so that it matches loki
operator 5.6 name
KalmanMeth pushed a commit to KalmanMeth/network-observability-operator that referenced this pull request Feb 13, 2023
* Confgen: init from options (avoid many globals)

* Use main model in confgen, use pipeline builder

Fixes netobserv#254

- Removed duplicated confgen model
- Use PipelineBuilder to simplify pipeline generation
- Make confgen easier to consume as a lib (e.g. for NOO)
  - Do not make it necessary to call "Run": parsing definition files
    should be sufficient
  - Do not make it necessary to work with files written on disk: work
    with []byte instead
- SkipWithTags should not result in an error when a file is skipped
- Add confgen tests

* Avoid using globals

A side-effect of removing globals in write_loki is that it changes how
the config is read, and set with defaults. Instead of unmarshaling a
second time to automatically get defaults, we now call an explicit function
that sets the default. Also, now removing loki URL default, it now has
to be set explicitely

* Update ConnTrack builder

* More defer cleanup in tests, and use ioutils / temp dir/files

Also fixed jsonnet dir actually used as filename prefix rather than
directory

* User ConfigFileStruct in confgen

* Update pkg/config/config.go

Co-authored-by: Ronen Schaffer <ronen.schaffer@ibm.com>

* Use config.ConfigFileStruct in tests

Co-authored-by: Ronen Schaffer <ronen.schaffer@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. qe-approved QE has approved this pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants