Skip to content

Commit

Permalink
feat(schema): Adjust values.schema.json and bump chart version (#10)
Browse files Browse the repository at this point in the history
The set values for the resource requests and limits are too high at the
moment. It was only possible to use an integer which is still to high.
That's why this merge requests enables the use of string values for the
cpu limits and requests to make values like this valid:

```
  resources:
    limits:
      cpu: 500m
      memory: 4Gi
    requests:
      cpu: 250m
      memory: 4Gi
```
  • Loading branch information
xom4ek authored Aug 14, 2024
2 parents c804899 + b329587 commit 0ef6b08
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/arpa/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 0.1.0
description: A Helm chart for Kubernetes
name: arpa
type: application
version: 0.1.2
version: 0.1.3
icon: https://avatars.githubusercontent.com/u/95603114?s=200&v=4
maintainers:
- name: xom4ek
Expand Down
4 changes: 2 additions & 2 deletions charts/arpa/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
"limits": {
"properties": {
"cpu": {
"type": "integer"
"type": ["integer", "string"]
},
"memory": {
"type": "string"
Expand All @@ -177,7 +177,7 @@
"requests": {
"properties": {
"cpu": {
"type": "integer"
"type": ["integer", "string"]
},
"memory": {
"type": "string"
Expand Down
2 changes: 1 addition & 1 deletion charts/openoracle/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 0.1.0
description: A Helm chart for Kubernetes
name: openoracle
type: application
version: 0.1.2
version: 0.1.3
maintainers:
- name: xom4ek
email: [email protected]
Expand Down
4 changes: 2 additions & 2 deletions charts/openoracle/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"limits": {
"properties": {
"cpu": {
"type": "integer"
"type": ["integer", "string"]
},
"memory": {
"type": "string"
Expand All @@ -133,7 +133,7 @@
"requests": {
"properties": {
"cpu": {
"type": "integer"
"type": ["integer", "string"]
},
"memory": {
"type": "string"
Expand Down

0 comments on commit 0ef6b08

Please sign in to comment.