-
Notifications
You must be signed in to change notification settings - Fork 3
fix(chart): resolve kubernetes security scan violations for compliance #96
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
2ffab6f
feat(ci): add Checkov security scanning workflow
780ab52
fix(ci) checkov only in chart dir
7e0c7b3
fix(chart): add skyhook namespace for CKV_K8S_21
423c8c7
fix(chart) cpu/memory limits for BC_K8S_[9-12]
1eb42ec
fix(chart): update security context for admission BC_K8S_[22,27,34]
65f354b
fix(chart): update security context for CKV_K8S_[19,37]
874b0fe
fix(chart): image issues for BC_K8S_[13,14,39]
8a7a1a0
fix(chart): add livenessProbe for BC_K8S_7
861e54f
fix(chart): updates for BC_K8S_[7,8,29,35]
2c3c9d2
fix(chart): update security context for BC_K8S_[28,43]
b1b21e3
fix(chart): fixes for ci tests
c79e21e
chore(chart): update digest
5c48e70
fix(chart): using multi-arch digests
c56f292
fix(chart): update tests
602464b
fix(chart): probes
6054382
test
1594b8c
add manifest list digest for cleanup
3aee5a0
fix web secret checkov issue
t0mmylam 974a2ce
use tag and digest
t0mmylam 8599364
template caBundle and update field for webhooks to minimize rbac
t0mmylam 2042d83
Merge branch 'checkov' into helm-chart-security-scan-checks
t0mmylam d315477
test
t0mmylam c41cedc
fix checkov
t0mmylam 2790927
cli output
t0mmylam c372cfa
fix license symlink
t0mmylam 7fb1180
address comments
t0mmylam 5a50017
move all validations in deployment to specific file
t0mmylam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| apiVersion: networking.k8s.io/v1 | ||
| kind: NetworkPolicy | ||
| metadata: | ||
| name: {{ include "chart.fullname" . }}-controller-manager-allow-all | ||
| namespace: "{{ .Release.Namespace }}" | ||
| labels: | ||
| {{- include "chart.labels" . | nindent 4 }} | ||
| spec: | ||
| podSelector: | ||
| matchLabels: | ||
| control-plane: controller-manager | ||
| {{- include "chart.selectorLabels" . | nindent 6 }} | ||
| policyTypes: | ||
| - Ingress | ||
| - Egress | ||
| ingress: | ||
| - {} | ||
| egress: | ||
| - {} | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| {{- if eq .Release.Namespace "default" }} | ||
| {{- fail "Deployment to 'default' namespace is not allowed for security reasons. Please specify a different namespace." }} | ||
| {{- end }} | ||
lockwobr marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.