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

fix: add kubeapi egress for neuvector enforcer #291

Merged
merged 2 commits into from
Mar 26, 2024

Conversation

rjferguson21
Copy link
Contributor

@rjferguson21 rjferguson21 commented Mar 26, 2024

Description

Give Neuvector enforcer kubeapi access. I noticed enforcer logs indicating it was attempting to get the K8s version on startup.

2024-03-26T14:03:31.003|ERRO|AGT|orchestration.GetK8sVersion: Get Version fail - error=Get "https://kubernetes.default/version": read tcp 10.42.0.36:36332->10.43.0.1:443: read: connection reset by peer
2024-03-26T14:03:31.005|ERRO|AGT|orchestration.GetK8sVersion: Get Version fail - error=Get "https://kubernetes.default/apis/config.openshift.io/v1/clusteroperators/openshift-apiserver": read tcp 10.42.0.36:36354->10.43.0.1:443: read: connection reset by peer

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Checklist before merging

@rjferguson21 rjferguson21 requested a review from a team March 26, 2024 14:39
@mjnagel mjnagel enabled auto-merge (squash) March 26, 2024 14:51
@mjnagel mjnagel merged commit 87fc886 into main Mar 26, 2024
9 checks passed
@mjnagel mjnagel deleted the neuvector-enforcer-kubeapi branch March 26, 2024 15:55
mjnagel pushed a commit that referenced this pull request Mar 29, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.18.0](v0.17.0...v0.18.0)
(2024-03-29)


### Features

* switch loki to simple scalable
([#156](#156))
([1661b15](1661b15))


### Bug Fixes

* add kubeapi egress for neuvector enforcer
([#291](#291))
([87fc886](87fc886))
* pepr ironbank renovate update
([#299](#299))
([287e40d](287e40d))
* unwanted exemption deletions
([#290](#290))
([50b0cd4](50b0cd4))


### Miscellaneous

* add debug output to release workflow
([#285](#285))
([5f96865](5f96865))
* **deps:** update dependency defenseunicorns/uds-common to v0.3.6
([#261](#261))
([1b5398b](1b5398b))
* **deps:** update githubactions
([#242](#242))
([1eb2e2c](1eb2e2c))
* **deps:** update pepr to v0.28.6
([#300](#300))
([86b43e4](86b43e4))
* **deps:** update prometheus-stack
([#190](#190))
([f9a605a](f9a605a))
* **deps:** update uds-k3d to v0.6.0
([#240](#240))
([6a26523](6a26523))
* **deps:** update velero
([#260](#260))
([f352008](f352008))
* support headless keycloak admin user
([#307](#307))
([a0e51b6](a0e51b6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
mjnagel pushed a commit that referenced this pull request Mar 29, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.18.0](v0.17.0...v0.18.0)
(2024-03-29)


### Features

* switch loki to simple scalable
([#156](#156))
([1661b15](1661b15))


### Bug Fixes

* add kubeapi egress for neuvector enforcer
([#291](#291))
([87fc886](87fc886))
* pepr ironbank renovate update
([#299](#299))
([287e40d](287e40d))
* release workflow k3d image
([#316](#316))
([e7835e0](e7835e0))
* unwanted exemption deletions
([#290](#290))
([50b0cd4](50b0cd4))


### Miscellaneous

* add debug output to release workflow
([#285](#285))
([5f96865](5f96865))
* **deps:** update dependency defenseunicorns/uds-common to v0.3.6
([#261](#261))
([1b5398b](1b5398b))
* **deps:** update githubactions
([#242](#242))
([1eb2e2c](1eb2e2c))
* **deps:** update pepr to v0.28.6
([#300](#300))
([86b43e4](86b43e4))
* **deps:** update prometheus-stack
([#190](#190))
([f9a605a](f9a605a))
* **deps:** update uds-k3d to v0.6.0
([#240](#240))
([6a26523](6a26523))
* **deps:** update velero
([#260](#260))
([f352008](f352008))
* **main:** release 0.18.0
([#286](#286))
([40e6b7b](40e6b7b))
* support headless keycloak admin user
([#307](#307))
([a0e51b6](a0e51b6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
robmcelvenny pushed a commit to owen-grady/uds-core-slim-dev that referenced this pull request Jun 3, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.18.0](defenseunicorns/uds-core@v0.17.0...v0.18.0)
(2024-03-29)


### Features

* switch loki to simple scalable
([#156](defenseunicorns/uds-core#156))
([1661b15](defenseunicorns/uds-core@1661b15))


### Bug Fixes

* add kubeapi egress for neuvector enforcer
([#291](defenseunicorns/uds-core#291))
([87fc886](defenseunicorns/uds-core@87fc886))
* pepr ironbank renovate update
([#299](defenseunicorns/uds-core#299))
([287e40d](defenseunicorns/uds-core@287e40d))
* unwanted exemption deletions
([#290](defenseunicorns/uds-core#290))
([50b0cd4](defenseunicorns/uds-core@50b0cd4))


### Miscellaneous

* add debug output to release workflow
([#285](defenseunicorns/uds-core#285))
([5f96865](defenseunicorns/uds-core@5f96865))
* **deps:** update dependency defenseunicorns/uds-common to v0.3.6
([#261](defenseunicorns/uds-core#261))
([1b5398b](defenseunicorns/uds-core@1b5398b))
* **deps:** update githubactions
([#242](defenseunicorns/uds-core#242))
([1eb2e2c](defenseunicorns/uds-core@1eb2e2c))
* **deps:** update pepr to v0.28.6
([#300](defenseunicorns/uds-core#300))
([86b43e4](defenseunicorns/uds-core@86b43e4))
* **deps:** update prometheus-stack
([#190](defenseunicorns/uds-core#190))
([f9a605a](defenseunicorns/uds-core@f9a605a))
* **deps:** update uds-k3d to v0.6.0
([#240](defenseunicorns/uds-core#240))
([6a26523](defenseunicorns/uds-core@6a26523))
* **deps:** update velero
([#260](defenseunicorns/uds-core#260))
([f352008](defenseunicorns/uds-core@f352008))
* support headless keycloak admin user
([#307](defenseunicorns/uds-core#307))
([a0e51b6](defenseunicorns/uds-core@a0e51b6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
robmcelvenny pushed a commit to owen-grady/uds-core-slim-dev that referenced this pull request Jun 3, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.18.0](defenseunicorns/uds-core@v0.17.0...v0.18.0)
(2024-03-29)


### Features

* switch loki to simple scalable
([#156](defenseunicorns/uds-core#156))
([1661b15](defenseunicorns/uds-core@1661b15))


### Bug Fixes

* add kubeapi egress for neuvector enforcer
([#291](defenseunicorns/uds-core#291))
([87fc886](defenseunicorns/uds-core@87fc886))
* pepr ironbank renovate update
([#299](defenseunicorns/uds-core#299))
([287e40d](defenseunicorns/uds-core@287e40d))
* release workflow k3d image
([#316](defenseunicorns/uds-core#316))
([e7835e0](defenseunicorns/uds-core@e7835e0))
* unwanted exemption deletions
([#290](defenseunicorns/uds-core#290))
([50b0cd4](defenseunicorns/uds-core@50b0cd4))


### Miscellaneous

* add debug output to release workflow
([#285](defenseunicorns/uds-core#285))
([5f96865](defenseunicorns/uds-core@5f96865))
* **deps:** update dependency defenseunicorns/uds-common to v0.3.6
([#261](defenseunicorns/uds-core#261))
([1b5398b](defenseunicorns/uds-core@1b5398b))
* **deps:** update githubactions
([#242](defenseunicorns/uds-core#242))
([1eb2e2c](defenseunicorns/uds-core@1eb2e2c))
* **deps:** update pepr to v0.28.6
([#300](defenseunicorns/uds-core#300))
([86b43e4](defenseunicorns/uds-core@86b43e4))
* **deps:** update prometheus-stack
([#190](defenseunicorns/uds-core#190))
([f9a605a](defenseunicorns/uds-core@f9a605a))
* **deps:** update uds-k3d to v0.6.0
([#240](defenseunicorns/uds-core#240))
([6a26523](defenseunicorns/uds-core@6a26523))
* **deps:** update velero
([#260](defenseunicorns/uds-core#260))
([f352008](defenseunicorns/uds-core@f352008))
* **main:** release 0.18.0
([#286](defenseunicorns/uds-core#286))
([40e6b7b](defenseunicorns/uds-core@40e6b7b))
* support headless keycloak admin user
([#307](defenseunicorns/uds-core#307))
([a0e51b6](defenseunicorns/uds-core@a0e51b6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
rjferguson21 added a commit that referenced this pull request Jul 11, 2024
## Description
Give Neuvector enforcer kubeapi access. I noticed enforcer logs
indicating it was attempting to get the K8s version on startup.

```
2024-03-26T14:03:31.003|ERRO|AGT|orchestration.GetK8sVersion: Get Version fail - error=Get "https://kubernetes.default/version": read tcp 10.42.0.36:36332->10.43.0.1:443: read: connection reset by peer
2024-03-26T14:03:31.005|ERRO|AGT|orchestration.GetK8sVersion: Get Version fail - error=Get "https://kubernetes.default/apis/config.openshift.io/v1/clusteroperators/openshift-apiserver": read tcp 10.42.0.36:36354->10.43.0.1:443: read: connection reset by peer
```

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [x] [Contributor Guide
Steps](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)(https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md#submitting-a-pull-request)
followed

Co-authored-by: Micah Nagel <micah.nagel@defenseunicorns.com>
rjferguson21 pushed a commit that referenced this pull request Jul 11, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.18.0](v0.17.0...v0.18.0)
(2024-03-29)


### Features

* switch loki to simple scalable
([#156](#156))
([1661b15](1661b15))


### Bug Fixes

* add kubeapi egress for neuvector enforcer
([#291](#291))
([87fc886](87fc886))
* pepr ironbank renovate update
([#299](#299))
([287e40d](287e40d))
* unwanted exemption deletions
([#290](#290))
([50b0cd4](50b0cd4))


### Miscellaneous

* add debug output to release workflow
([#285](#285))
([5f96865](5f96865))
* **deps:** update dependency defenseunicorns/uds-common to v0.3.6
([#261](#261))
([1b5398b](1b5398b))
* **deps:** update githubactions
([#242](#242))
([1eb2e2c](1eb2e2c))
* **deps:** update pepr to v0.28.6
([#300](#300))
([86b43e4](86b43e4))
* **deps:** update prometheus-stack
([#190](#190))
([f9a605a](f9a605a))
* **deps:** update uds-k3d to v0.6.0
([#240](#240))
([6a26523](6a26523))
* **deps:** update velero
([#260](#260))
([f352008](f352008))
* support headless keycloak admin user
([#307](#307))
([a0e51b6](a0e51b6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
rjferguson21 pushed a commit that referenced this pull request Jul 11, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.18.0](v0.17.0...v0.18.0)
(2024-03-29)


### Features

* switch loki to simple scalable
([#156](#156))
([1661b15](1661b15))


### Bug Fixes

* add kubeapi egress for neuvector enforcer
([#291](#291))
([87fc886](87fc886))
* pepr ironbank renovate update
([#299](#299))
([287e40d](287e40d))
* release workflow k3d image
([#316](#316))
([e7835e0](e7835e0))
* unwanted exemption deletions
([#290](#290))
([50b0cd4](50b0cd4))


### Miscellaneous

* add debug output to release workflow
([#285](#285))
([5f96865](5f96865))
* **deps:** update dependency defenseunicorns/uds-common to v0.3.6
([#261](#261))
([1b5398b](1b5398b))
* **deps:** update githubactions
([#242](#242))
([1eb2e2c](1eb2e2c))
* **deps:** update pepr to v0.28.6
([#300](#300))
([86b43e4](86b43e4))
* **deps:** update prometheus-stack
([#190](#190))
([f9a605a](f9a605a))
* **deps:** update uds-k3d to v0.6.0
([#240](#240))
([6a26523](6a26523))
* **deps:** update velero
([#260](#260))
([f352008](f352008))
* **main:** release 0.18.0
([#286](#286))
([40e6b7b](40e6b7b))
* support headless keycloak admin user
([#307](#307))
([a0e51b6](a0e51b6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants