Skip to content

Commit

Permalink
fix(chart): update version to 1.0.1 and correct field types
Browse files Browse the repository at this point in the history
Updated the chart version from 1.0.0 to 1.0.1. The commit also involves changing the types of the `fsGroup` fields in the `securityContext` and `podSecurityContext` to ensure compliance with expected Kubernetes types. The corresponding documentation and schema files have also been updated to reflect these changes.
  • Loading branch information
obeone committed Dec 30, 2024
1 parent 9f578b7 commit 9a23ee0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions charts/fooocus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: latest
description: Fooocus is an image generating software
name: fooocus
version: 1.0.0
version: 1.0.1
kubeVersion: ">=1.16.0-0"
keywords:
- fooocus
Expand All @@ -22,5 +22,5 @@ annotations:
- name: obeone
email: obeone@obeone.org
artifacthub.io/changes: |
- kind: added
description: new chart
- kind: changed
description: Corrected type for securityContext and podSecurityContext fields to match the expected types in Kubernetes.
4 changes: 2 additions & 2 deletions charts/fooocus/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# fooocus

![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
![Version: 1.0.1](https://img.shields.io/badge/Version-1.0.1-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)

Fooocus is an image generating software

Expand All @@ -25,7 +25,7 @@ Kubernetes: `>=1.16.0-0`
| image.tag | string | chart.appVersion | image tag |
| ingress.main | object | See the [docs](https://github.com/k8s-at-home/library-charts/blob/1b8b81ceb368e378c01aaf826142cfd948a93042/charts/stable/common/values.yaml#L312) | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See the [docs](https://github.com/k8s-at-home/library-charts/blob/1b8b81ceb368e378c01aaf826142cfd948a93042/charts/stable/common/values.yaml#L362) | Configure persistence settings for the chart under this key. |
| securityContext.fsGroup | string | `"1000"` | |
| podSecurityContext.fsGroup | int | `1000` | |
| service | object | See the [docs](https://github.com/k8s-at-home/library-charts/blob/1b8b81ceb368e378c01aaf826142cfd948a93042/charts/stable/common/values.yaml#L250) | Configures service settings for the chart. |

----------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion charts/fooocus/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
}
},
"enableServiceLinks": { "type": "boolean" },
"podSecurityContext": { "type": "object", "additionalProperties": { "type": "string" } },
"podSecurityContext": { "type": "object", "additionalProperties": { "type": ["string", "integer"] } },
"securityContext": { "type": "object", "additionalProperties": { "type": "string" } },
"lifecycle": { "type": "object", "additionalProperties": { "type": "string" } },
"initContainers": { "type": "object", "additionalProperties": { "type": "object" } },
Expand Down
4 changes: 2 additions & 2 deletions charts/fooocus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ service:
http:
port: 7865

securityContext:
fsGroup: "1000"
podSecurityContext:
fsGroup: 1000

ingress:
# -- Enable and configure ingress settings for the chart under this key.
Expand Down

0 comments on commit 9a23ee0

Please sign in to comment.