Skip to content

Commit

Permalink
fix: Add more vars
Browse files Browse the repository at this point in the history
  • Loading branch information
dadav committed Jun 30, 2024
1 parent 6507fd5 commit c748b5e
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 8 deletions.
33 changes: 26 additions & 7 deletions helm/gorge/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,36 +49,56 @@
"properties": {
"pullPolicy": {
"default": "IfNotPresent",
"description": "Sets the pull policy.",
"title": "pullPolicy",
"type": "string"
},
"registry": {
"default": "ghcr.io",
"description": "Registry to use.",
"title": "registry",
"type": "string"
},
"repository": {
"default": "dadav/gorge",
"description": "Repo to use.",
"title": "repository",
"type": "string"
},
"tag": {
"default": "0.4.1-alpha",
"default": "",
"description": "Image tag to use. If unset, latest will be used.",
"title": "tag",
"type": "string"
}
},
"title": "image",
"type": "object",
"required": [
"registry",
"repository",
"pullPolicy",
"tag"
"repository"
]
},
"imagePullSecrets": {
"items": {},
"items": {
"properties": {
"password": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object",
"required": [
"url",
"username",
"password"
]
},
"description": "Optional pullsecrets required to get the gorge image.",
"title": "imagePullSecrets",
"type": "array"
},
Expand Down Expand Up @@ -340,7 +360,6 @@
"required": [
"replicaCount",
"image",
"imagePullSecrets",
"serviceAccount",
"podAnnotations",
"podLabels",
Expand Down
35 changes: 34 additions & 1 deletion helm/gorge/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,44 @@
replicaCount: 1

image:
# @schema
# type: string
# @schema
# -- Registry to use.
registry: ghcr.io
# @schema
# type: string
# required: true
# @schema
# -- Repo to use.
repository: dadav/gorge
# @schema
# type: string
# @schema
# -- Sets the pull policy.
pullPolicy: IfNotPresent
tag: "0.4.1-alpha"
# @schema
# type: string
# @schema
# -- Image tag to use. If unset, latest will be used.
tag: ""

# @schema
# type: array
# items:
# type: object
# properties:
# url:
# type: string
# required: true
# username:
# type: string
# required: true
# password:
# type: string
# required: true
# @schema
# -- Optional pullsecrets required to get the gorge image.
imagePullSecrets: []

serviceAccount:
Expand Down

0 comments on commit c748b5e

Please sign in to comment.