Skip to content

Commit

Permalink
fix: add ingress create boolean (#550)
Browse files Browse the repository at this point in the history
* add ingress create boolean

Signed-off-by: Noel Cortes <[email protected]>

* bump tuf chart patch version

Signed-off-by: Noel Cortes <[email protected]>

* remove helm-docs autogenerated comment

Signed-off-by: Noel Cortes <[email protected]>

---------

Signed-off-by: Noel Cortes <[email protected]>
  • Loading branch information
cortesnoel-lm authored Jun 23, 2023
1 parent 02d85ac commit 42ad0b6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/tuf/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: tuf
description: A framework for securing software update systems - the scaffolding implementation
type: application
version: 0.1.4
version: 0.1.5
appVersion: "0.4.6"

home: https://sigstore.dev/
Expand Down
1 change: 1 addition & 0 deletions charts/tuf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ A framework for securing software update systems - the scaffolding implementatio
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.className | string | `"nginx"` | |
| ingress.create | bool | `true` | |
| ingress.http.hosts[0].host | string | `"tuf.localhost"` | |
| ingress.http.hosts[0].path | string | `"/"` | |
| ingress.name | string | `"tuf-server"` | |
Expand Down
2 changes: 2 additions & 0 deletions charts/tuf/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.ingress.create }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
Expand Down Expand Up @@ -32,3 +33,4 @@ spec:
secretName: {{ .secretName }}
{{- end }}
{{- end -}}
{{- end -}}
7 changes: 7 additions & 0 deletions charts/tuf/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,12 @@
"ingress": {
"type": "object",
"properties": {
"create": {
"type": "boolean",
"examples": [
true
]
},
"name": {
"type": "string",
"examples": [
Expand Down Expand Up @@ -386,6 +392,7 @@
}
},
"ingress": {
"create": true,
"name": "tuf-server",
"className": "nginx",
"annotations": {},
Expand Down
1 change: 1 addition & 0 deletions charts/tuf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ secrets:
path: ctlog-pubkey

ingress:
create: true
name: tuf-server
className: nginx
annotations: {}
Expand Down

0 comments on commit 42ad0b6

Please sign in to comment.