Skip to content

Commit

Permalink
Allow extraVolumes and extraVolumeMounts
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusfcr committed Oct 6, 2023
1 parent a1d67a6 commit 1b49a8e
Show file tree
Hide file tree
Showing 19 changed files with 412 additions and 243 deletions.
7 changes: 7 additions & 0 deletions examples/aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,13 @@ ui:
tag: tag-vulcan-ui
imagePullSecrets:
- name: pullsecretname
extraVolumes:
- name: cache-volume
emptyDir:
sizeLimit: 500Mi
extraVolumeMounts:
- name: cache-volume
mountPath: /cache
ingress:
annotations:
certmanager.k8s.io/cluster-issuer: letsencrypt
Expand Down
44 changes: 44 additions & 0 deletions examples/templates/aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-api-proxy
Expand Down Expand Up @@ -1219,7 +1222,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-crontinuous-proxy
Expand Down Expand Up @@ -1318,6 +1324,8 @@ spec:
- name: private
containerPort: 8080
protocol: TCP
volumeMounts:

- name: insights-public

image: "pottava/s3-proxy:2.0"
Expand Down Expand Up @@ -1361,7 +1369,10 @@ spec:
- name: public
containerPort: 8081
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-insights-proxy
Expand Down Expand Up @@ -1464,9 +1475,12 @@ spec:
envFrom:
- secretRef:
name: myrelease-vulcan-metrics
volumeMounts:

volumes:



imagePullSecrets:
- name: pullsecretname
---
Expand Down Expand Up @@ -1596,7 +1610,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-persistence-proxy
Expand Down Expand Up @@ -1793,7 +1810,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-reportsgenerator-proxy
Expand Down Expand Up @@ -1907,7 +1927,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-results-proxy
Expand Down Expand Up @@ -2063,7 +2086,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-scanengine-proxy
Expand Down Expand Up @@ -2237,7 +2263,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-stream-proxy
Expand Down Expand Up @@ -2372,7 +2401,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-tracker-proxy
Expand Down Expand Up @@ -2477,7 +2509,13 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:
- mountPath: /cache
name: cache-volume
volumes:
- emptyDir:
sizeLimit: 500Mi
name: cache-volume
- name: config-proxy
configMap:
name: myrelease-vulcan-ui-proxy
Expand Down Expand Up @@ -2577,9 +2615,12 @@ spec:
envFrom:
- secretRef:
name: myrelease-vulcan-vulndb
volumeMounts:

volumes:



imagePullSecrets:
- name: pullsecretname
---
Expand Down Expand Up @@ -2702,7 +2743,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-vulndbapi-proxy
Expand Down
36 changes: 36 additions & 0 deletions examples/templates/local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1562,7 +1562,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-api-proxy
Expand Down Expand Up @@ -1682,7 +1685,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-crontinuous-proxy
Expand Down Expand Up @@ -1827,6 +1833,8 @@ spec:
- name: private
containerPort: 8080
protocol: TCP
volumeMounts:

- name: insights-public

image: "pottava/s3-proxy:2.0"
Expand Down Expand Up @@ -1882,7 +1890,10 @@ spec:
- name: public
containerPort: 8081
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-insights-proxy
Expand Down Expand Up @@ -1985,6 +1996,8 @@ spec:
envFrom:
- secretRef:
name: myrelease-vulcan-metrics
volumeMounts:

volumes:
---
# Source: vulcan/templates/persistence/deployment.yaml
Expand Down Expand Up @@ -2129,7 +2142,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-persistence-proxy
Expand Down Expand Up @@ -2315,7 +2331,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-reportsgenerator-proxy
Expand Down Expand Up @@ -2439,7 +2458,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-results-proxy
Expand Down Expand Up @@ -2588,7 +2610,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-scanengine-proxy
Expand Down Expand Up @@ -2752,7 +2777,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-stream-proxy
Expand Down Expand Up @@ -2852,7 +2880,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-ui-proxy
Expand Down Expand Up @@ -2951,6 +2982,8 @@ spec:
envFrom:
- secretRef:
name: myrelease-vulcan-vulndb
volumeMounts:

volumes:
---
# Source: vulcan/templates/vulndbapi/deployment.yaml
Expand Down Expand Up @@ -3060,7 +3093,10 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
volumeMounts:

volumes:

- name: config-proxy
configMap:
name: myrelease-vulcan-vulndbapi-proxy
Expand Down
Loading

0 comments on commit 1b49a8e

Please sign in to comment.