-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from tks98/trivy-sidecar
Refactoring, Documentation, Demo
- Loading branch information
Showing
23 changed files
with
257 additions
and
134 deletions.
There are no files selected for viewing
This file contains 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 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 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,6 @@ | ||
dependencies: | ||
- name: trivy | ||
repository: https://aquasecurity.github.io/helm-charts/ | ||
version: 0.4.17 | ||
digest: sha256:c4d6c7d1dd063f88c1726e417d3cf005af1d3a95c3d45b0b4036e7d1cce90cab | ||
generated: "2022-10-29T22:58:19.421851-05:00" |
This file contains 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 |
---|---|---|
@@ -1,6 +1,20 @@ | ||
apiVersion: v2 | ||
name: kube-sentry | ||
description: A Helm chart for Kubernetes | ||
description: Defend against high-risk workloads and gain visibility into vulnerable containers running on Kubernetes | ||
type: application | ||
version: 0.1.0 | ||
appVersion: "1.16.0" | ||
version: 1.0.0 | ||
appVersion: "1.0.0" | ||
sources: | ||
- https://github.com/tks98/kube-sentry | ||
maintainers: | ||
- name: Travis Smith | ||
email: [email protected] | ||
url: https://github.com/tks98 | ||
|
||
dependencies: | ||
- name: trivy | ||
version: "0.4.17" | ||
repository: https://aquasecurity.github.io/helm-charts/ | ||
condition: trivy.enabled | ||
tags: | ||
- trivy |
Binary file not shown.
This file contains 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 |
---|---|---|
@@ -1,24 +1,30 @@ | ||
{{- if .Values.webhook.caBundle.certmanager.enabled }} | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
name: self-signer | ||
name: {{ include "kube-sentry.fullname" . }} | ||
namespace: {{.Release.Namespace}} | ||
annotations: | ||
"helm.sh/hook": pre-install | ||
"helm.sh/hook-weight": "-3" | ||
labels: | ||
{{- include "kube-sentry.labels" . | nindent 4 }} | ||
spec: | ||
selfSigned: {} | ||
--- | ||
apiVersion: cert-manager.io/v1 | ||
kind: Certificate | ||
metadata: | ||
name: kube-sentry-cert | ||
name: {{ include "kube-sentry.fullname" . }}-cert | ||
namespace: {{ .Release.Namespace }} | ||
annotations: | ||
"helm.sh/hook": pre-install | ||
labels: | ||
{{- include "kube-sentry.labels" . | nindent 4 }} | ||
spec: | ||
secretName: {{.Values.webhook.caBundle.certmanager.secretName}} | ||
secretName: {{ include "kube-sentry.fullname" . }}-cert | ||
dnsNames: | ||
{{- toYaml .Values.webhook.caBundle.certmanager.dnsNames | nindent 4 }} | ||
- {{ include "kube-sentry.fullname" . }}.{{.Release.Namespace}}.svc | ||
issuerRef: | ||
name: self-signer | ||
name: {{ include "kube-sentry.fullname" . }} | ||
{{- end }} |
This file contains 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 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 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 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains 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,33 @@ | ||
Output demo.mp4 | ||
Output demo.gif | ||
|
||
Set FontSize 20 | ||
Set Width 1200 | ||
Set Height 600 | ||
|
||
Type "cd /Users/tks/Projects/kube-sentry/deploy/kube-sentry" | ||
Enter | ||
|
||
Sleep 1s | ||
Type "ls" | ||
Enter | ||
Sleep 1s | ||
|
||
Space | ||
Type "helm install kube-sentry -n kube-sentry . --wait" | ||
Enter | ||
Sleep 20s | ||
|
||
Space | ||
Type "clear" | ||
Enter | ||
Sleep 1s | ||
|
||
Type "kubectl get pods -n kube-sentry" | ||
Enter | ||
Sleep 5s | ||
|
||
Space | ||
Type "kubectl apply -f https://k8s.io/examples/pods/simple-pod.yaml -n kube-sentry" | ||
Enter | ||
Sleep 10s |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 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
Oops, something went wrong.