-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework vulnz chart, breaking changes.
- add persistence - use truechart as base
- Loading branch information
1 parent
3b8334a
commit cd0ab14
Showing
12 changed files
with
147 additions
and
150 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
charts |
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: common | ||
repository: oci://tccr.io/truecharts | ||
version: 18.0.3 | ||
digest: sha256:e3bff0d08d2e5708253799cfe7dadba5350dbaec235c7d7e42a5c4352903e69a | ||
generated: "2024-02-26T09:03:57.247150711+01: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,12 +1,24 @@ | ||
kubeVersion: ">=1.24.0-0" | ||
apiVersion: v2 | ||
description: NVD api mirror and cache | ||
name: vulnz-nvd-mirror | ||
home: https://github.com/jeremylong/Open-Vulnerability-Project/vulnz | ||
version: 0.0.4 | ||
version: 0.1.0 | ||
appVersion: 5.1.1 | ||
description: NVD api mirror and cache | ||
home: https://github.com/EugenMayer/helm-charts/tree/main/charts/vulnz-nvd-mirror | ||
deprecated: false | ||
keywords: | ||
- network | ||
- tools | ||
- development | ||
sources: | ||
- https://github.com/EugenMayer/helm-charts/tree/main/charts/vulnz-nvd-mirror | ||
- https://github.com/jeremylong/Open-Vulnerability-Project/vulnz | ||
dependencies: | ||
- name: common | ||
version: 18.0.3 | ||
repository: oci://tccr.io/truecharts | ||
condition: "" | ||
alias: "" | ||
tags: [] | ||
import-values: [] | ||
type: application |
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 @@ | ||
{{- include "tc.v1.common.lib.chart.notes" $ -}} |
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 @@ | ||
{{ include "tc.v1.common.loader.all" . }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
charts/vulnz-nvd-mirror/templates/vulnz-environment-configmap.yaml
This file was deleted.
Oops, something went wrong.
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,36 +1,77 @@ | ||
deployment: | ||
replicas: 1 | ||
|
||
image: | ||
# FIXME: cannot use the official repo until https://github.com/jeremylong/Open-Vulnerability-Project/pull/114 | ||
# has been merged | ||
# repository: ghcr.io/jeremylong/vulnz | ||
repository: ghcr.io/eugenmayer/vulnz | ||
# tag: "0.0.1" | ||
repository: ghcr.io/jeremylong/open-vulnerability-data-mirror | ||
pullPolicy: IfNotPresent | ||
tag: v5.1.2 | ||
|
||
|
||
persistence: | ||
mirror: | ||
enabled: true | ||
size: 1Gi | ||
mountPath: "/usr/local/apache2/htdocs" | ||
|
||
# set this to preseed your API key. the expected structure is | ||
# NVD_API_KEY=<key> | ||
nvd: | ||
secretName: | ||
# secretName: vulnz-nvd-secret | ||
securityContext: | ||
container: | ||
# currently supervisord is used and priv. dropped via gosu | ||
runAsNonRoot: false | ||
runAsGroup: 0 | ||
runAsUser: 0 | ||
readOnlyRootFilesystem: false | ||
|
||
vulnz: | ||
env: | ||
JAVA_OPT: -Xmx2g | ||
service: | ||
main: | ||
ports: | ||
main: | ||
port: 80 | ||
targetPort: 80 | ||
|
||
workload: | ||
main: | ||
replicas: 1 | ||
strategy: Recreate | ||
type: Deployment | ||
podSpec: | ||
containers: | ||
main: | ||
env: | ||
# set this to preseed your API key. the expected structure is | ||
#NVD_API_KEY: | ||
# secretKeyRef: | ||
# name: nvd-api-key | ||
# key: password | ||
JAVA_OPT: -Xmx2g | ||
probes: | ||
readiness: | ||
enabled: true | ||
type: http | ||
port: 80 | ||
path: / | ||
spec: | ||
initialDelaySeconds: 5 | ||
periodSeconds: 5 | ||
liveness: | ||
enabled: true | ||
type: http | ||
port: 80 | ||
path: / | ||
spec: | ||
initialDelaySeconds: 30 | ||
periodSeconds: 5 | ||
|
||
ingress: | ||
enabled: false | ||
className: | ||
annotations: {} | ||
# kubernetes.io/ingress.class: nginx | ||
# kubernetes.io/tls-acme: "true" | ||
hosts: | ||
- host: chart-example.local | ||
paths: | ||
- path: / | ||
pathType: ImplementationSpecific | ||
tls: [] | ||
# - secretName: chart-example-tls | ||
# hosts: | ||
# - chart-example.local | ||
main: | ||
enabled: false | ||
primary: true | ||
required: false | ||
ingressClassName: "" | ||
targetSelector: | ||
main: main | ||
hosts: | ||
- host: vulnz.local | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
|
||
portal: | ||
open: | ||
enabled: false |