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

Helm: add cilium networkpolicies #11425

Merged
merged 11 commits into from
Dec 13, 2023

Conversation

QuantumEnigmaa
Copy link
Contributor

What this PR does / why we need it:

This PR adds ciliumnetworkpolicies that are equivalent to the standard networkpolicies already present in the templates. As cilium usage as a CNI is rising and the usage of ciliumnetworkpolicies is more and more widespread, having the possibility to deploy those directly from a setting in the values would be a time-saving option for a lot of deployments.

Special notes for your reviewer:

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • CHANGELOG.md updated
    • If the change is worth mentioning in the release notes, add add-to-release-notes label
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/setup/upgrade/_index.md
  • For Helm chart changes bump the Helm chart version in production/helm/loki/Chart.yaml and update production/helm/loki/CHANGELOG.md and production/helm/loki/README.md. Example PR
  • If the change is deprecating or removing a configuration option, update the deprecated-config.yaml and deleted-config.yaml files respectively in the tools/deprecated-config-checker directory. Example PR

@QuantumEnigmaa QuantumEnigmaa requested a review from a team as a code owner December 11, 2023 09:49
Copy link
Contributor

Trivy scan found the following vulnerabilities:

@QuantumEnigmaa
Copy link
Contributor Author

@MichelHollands pinging you as you reviewed my last PR :)

@MichelHollands
Copy link
Contributor

@QuantumEnigmaa Another release came in earlier. Can you use version 5.41.2? Once the other PR is in I'll merge this one.

@QuantumEnigmaa
Copy link
Contributor Author

Can you use version 5.41.2

Done @MichelHollands

@MichelHollands
Copy link
Contributor

@QuantumEnigmaa Sorry, 2 more things. Can rebase or merge main into your branch. Also please run the command make -C docs sources/setup/install/helm/reference.md as mentioned in the failing CI step. This will update the reference.md file.

@github-actions github-actions bot added the type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories label Dec 12, 2023
@QuantumEnigmaa
Copy link
Contributor Author

Its done @MichelHollands :)

@MichelHollands MichelHollands merged commit f0ec743 into grafana:main Dec 13, 2023
10 checks passed
rhnasc pushed a commit to inloco/loki that referenced this pull request Apr 12, 2024
**What this PR does / why we need it**:

This PR adds `ciliumnetworkpolicies` that are equivalent to the standard
`networkpolicies` already present in the templates. As `cilium` usage as
a CNI is rising and the usage of `ciliumnetworkpolicies` is more and
more widespread, having the possibility to deploy those directly from a
setting in the values would be a time-saving option for a lot of
deployments.

**Special notes for your reviewer**:

**Checklist**
- [x] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)
- [ ] Documentation added
- [ ] Tests updated
- [x] `CHANGELOG.md` updated
- [ ] If the change is worth mentioning in the release notes, add
`add-to-release-notes` label
- [ ] Changes that require user attention or interaction to upgrade are
documented in `docs/sources/setup/upgrade/_index.md`
- [x] For Helm chart changes bump the Helm chart version in
`production/helm/loki/Chart.yaml` and update
`production/helm/loki/CHANGELOG.md` and
`production/helm/loki/README.md`. [Example
PR](grafana@d10549e)
- [ ] If the change is deprecating or removing a configuration option,
update the `deprecated-config.yaml` and `deleted-config.yaml` files
respectively in the `tools/deprecated-config-checker` directory.
[Example
PR](grafana@0d4416a)

---------

Signed-off-by: QuantumEnigmaa <[email protected]>
mraboosk pushed a commit to mraboosk/loki that referenced this pull request Oct 7, 2024
**What this PR does / why we need it**:

This PR adds `ciliumnetworkpolicies` that are equivalent to the standard
`networkpolicies` already present in the templates. As `cilium` usage as
a CNI is rising and the usage of `ciliumnetworkpolicies` is more and
more widespread, having the possibility to deploy those directly from a
setting in the values would be a time-saving option for a lot of
deployments.

**Special notes for your reviewer**:

**Checklist**
- [x] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)
- [ ] Documentation added
- [ ] Tests updated
- [x] `CHANGELOG.md` updated
- [ ] If the change is worth mentioning in the release notes, add
`add-to-release-notes` label
- [ ] Changes that require user attention or interaction to upgrade are
documented in `docs/sources/setup/upgrade/_index.md`
- [x] For Helm chart changes bump the Helm chart version in
`production/helm/loki/Chart.yaml` and update
`production/helm/loki/CHANGELOG.md` and
`production/helm/loki/README.md`. [Example
PR](grafana@2cef71e)
- [ ] If the change is deprecating or removing a configuration option,
update the `deprecated-config.yaml` and `deleted-config.yaml` files
respectively in the `tools/deprecated-config-checker` directory.
[Example
PR](grafana@0d4416a)

---------

Signed-off-by: QuantumEnigmaa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm size/L type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants