Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/spoolman/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "0.23.1"
description: Keep track of your inventory of 3D-printer filament spools.
name: spoolman
version: 0.1.5
version: 0.1.6
type: application
keywords:
- database
Expand All @@ -20,4 +20,4 @@ maintainers:
annotations:
artifacthub.io/changes: |-
- kind: changed
description: Update to Spoolman v0.23.1
description: Allow override of deployment strategy
6 changes: 4 additions & 2 deletions charts/spoolman/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# spoolman

![Version: 0.1.5](https://img.shields.io/badge/Version-0.1.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.23.1](https://img.shields.io/badge/AppVersion-0.23.1-informational?style=flat-square)
![Version: 0.1.6](https://img.shields.io/badge/Version-0.1.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.23.1](https://img.shields.io/badge/AppVersion-0.23.1-informational?style=flat-square)

Keep track of your inventory of 3D-printer filament spools.

Expand All @@ -23,7 +23,8 @@ Keep track of your inventory of 3D-printer filament spools.
| affinity | object | `{}` | |
| fullnameOverride | string | `""` | |
| httpRoute | object | `{"annotations":{},"enabled":false,"hostnames":["chart-example.local"],"parentRefs":[{"name":"gateway","sectionName":"http"}],"rules":[{"matches":[{"path":{"type":"PathPrefix","value":"/headers"}}]}]}` | Expose the service via gateway-api HTTPRoute Requires Gateway API resources and suitable controller installed within the cluster (see: https://gateway-api.sigs.k8s.io/guides/) |
| image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/donkie/spoolman","tag":""}` | image repository |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/donkie/spoolman"` | |
| image.tag | string | chart.appVersion | image tag |
| imagePullSecrets | list | `[]` | |
| ingress | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
Expand Down Expand Up @@ -52,6 +53,7 @@ Keep track of your inventory of 3D-printer filament spools.
| serviceAccount.automount | bool | `false` | Automatically mount a ServiceAccount's API credentials? |
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
| serviceAccount.name | string | a name is generated using the fullname template | The name of the service account to use. |
| strategy.type | string | `"Recreate"` | Specifies the strategy used to replace old Pods by new ones |
| tolerations | list | `[]` | |

----------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions charts/spoolman/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,5 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
strategy:
type: {{ .Values.strategy.type }}
14 changes: 13 additions & 1 deletion charts/spoolman/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@
"type": "object"
},
"image": {
"description": "image repository",
"properties": {
"pullPolicy": {
"default": "IfNotPresent",
Expand Down Expand Up @@ -442,6 +441,19 @@
"title": "serviceAccount",
"type": "object"
},
"strategy": {
"properties": {
"type": {
"default": "Recreate",
"description": "Specifies the strategy used to replace old Pods by new ones",
"title": "type",
"type": "string"
}
},
"required": [],
"title": "strategy",
"type": "object"
},
"tolerations": {
"items": {
"required": []
Expand Down
4 changes: 4 additions & 0 deletions charts/spoolman/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
# -- Number of replicas
replicaCount: 1

strategy:
# -- Specifies the strategy used to replace old Pods by new ones
type: Recreate

# -- image repository
image:
repository: ghcr.io/donkie/spoolman
Expand Down