File tree Expand file tree Collapse file tree 5 files changed +31
-3
lines changed
Expand file tree Collapse file tree 5 files changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : tuf
33description : A framework for securing software update systems - the scaffolding implementation
44type : application
5- version : 0.1.20
5+ version : 0.1.21
66appVersion : 0.7.15
77
88home : https://sigstore.dev/
Original file line number Diff line number Diff line change 11# tuf
22
3- ![ Version: 0.1.20 ] ( https://img.shields.io/badge/Version-0.1.20 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 0.7.15] ( https://img.shields.io/badge/AppVersion-0.7.15-informational?style=flat-square )
3+ ![ Version: 0.1.21 ] ( https://img.shields.io/badge/Version-0.1.21 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 0.7.15] ( https://img.shields.io/badge/AppVersion-0.7.15-informational?style=flat-square )
44
55A framework for securing software update systems - the scaffolding implementation
66
@@ -21,13 +21,16 @@ A framework for securing software update systems - the scaffolding implementatio
2121| Key | Type | Default | Description |
2222| -----| ------| ---------| -------------|
2323| deployment.affinity | object | ` {} ` | |
24+ | deployment.containerSecurityContext | object | ` {} ` | |
2425| deployment.imagePullPolicy | string | ` "IfNotPresent" ` | |
2526| deployment.name | string | ` "tuf" ` | |
2627| deployment.nodeSelector | object | ` {} ` | |
2728| deployment.port | int | ` 8080 ` | |
2829| deployment.registry | string | ` "ghcr.io" ` | |
2930| deployment.replicas | int | ` 1 ` | |
3031| deployment.repository | string | ` "sigstore/scaffolding/server" ` | |
32+ | deployment.resources | object | ` {} ` | |
33+ | deployment.securityContext | object | ` {} ` | |
3134| deployment.tolerations | list | ` [] ` | |
3235| deployment.version | string | ` "sha256:982c6173b6f2f976fd9f58eb543ca9ec5f0d1b7c1a6f7bb0c4b96cff1618c62e" ` | |
3336| enabled | bool | ` true ` | |
Original file line number Diff line number Diff line change @@ -39,11 +39,22 @@ spec:
3939 valueFrom :
4040 fieldRef :
4141 fieldPath : metadata.namespace
42-
4342 volumeMounts :
4443 - name : tuf-secrets
4544 mountPath : " /var/run/tuf-secrets"
4645 readOnly : true
46+ {{- if .Values.deployment.resources }}
47+ resources :
48+ {{ toYaml .Values.deployment.resources | indent 10 }}
49+ {{- end }}
50+ {{- if .Values.deployment.containerSecurityContext }}
51+ securityContext :
52+ {{ toYaml .Values.deployment.containerSecurityContext | indent 10 }}
53+ {{- end }}
54+ {{- if .Values.deployment.securityContext }}
55+ securityContext :
56+ {{ toYaml .Values.deployment.securityContext | indent 8 }}
57+ {{- end }}
4758 volumes :
4859 - name : tuf-secrets
4960 projected :
Original file line number Diff line number Diff line change 77 "properties" : {},
88 "type" : " object"
99 },
10+ "containerSecurityContext" : {
11+ "properties" : {},
12+ "type" : " object"
13+ },
1014 "imagePullPolicy" : {
1115 "type" : " string"
1216 },
2933 "repository" : {
3034 "type" : " string"
3135 },
36+ "resources" : {
37+ "type" : " object"
38+ },
39+ "securityContext" : {
40+ "properties" : {},
41+ "type" : " object"
42+ },
3243 "tolerations" : {
3344 "type" : " array"
3445 },
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ deployment:
1515 version : sha256:982c6173b6f2f976fd9f58eb543ca9ec5f0d1b7c1a6f7bb0c4b96cff1618c62e
1616 imagePullPolicy : IfNotPresent
1717 port : 8080
18+ resources : {}
19+ containerSecurityContext : {}
20+ securityContext : {}
1821 tolerations : []
1922 nodeSelector : {}
2023 affinity : {}
You can’t perform that action at this time.
0 commit comments