Skip to content

Commit

Permalink
feat: update charts to respect resources
Browse files Browse the repository at this point in the history
Signed-off-by: Zufar Dhiyaullhaq <[email protected]>
  • Loading branch information
zufardhiyaulhaq committed Sep 29, 2024
1 parent fac997a commit f178f70
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea/
.env
values.yaml
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ helm install my-istio-upgrade-worker istio-upgrade-worker/istio-upgrade-worker -
| cronjob.tag | string | `"master"` | |
| cronjob.timeZone | string | `"Asia/Jakarta"` | |
| podLabels | object | `{}` | |
| resources.limits.cpu | string | `"200m"` | |
| resources.limits.memory | string | `"100Mi"` | |
| resources.requests.cpu | string | `"100m"` | |
| resources.requests.memory | string | `"20Mi"` | |
| resources.limits.cpu | string | `"1024m"` | |
| resources.limits.memory | string | `"1024Mi"` | |
| resources.requests.cpu | string | `"256m"` | |
| resources.requests.memory | string | `"256Mi"` | |
| serviceAccount.automountServiceAccountToken | bool | `true` | |
| serviceAccount.imagePullSecrets | list | `[]` | |

8 changes: 4 additions & 4 deletions charts/istio-upgrade-worker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ helm install my-istio-upgrade-worker istio-upgrade-worker/istio-upgrade-worker -
| cronjob.tag | string | `"master"` | |
| cronjob.timeZone | string | `"Asia/Jakarta"` | |
| podLabels | object | `{}` | |
| resources.limits.cpu | string | `"200m"` | |
| resources.limits.memory | string | `"100Mi"` | |
| resources.requests.cpu | string | `"100m"` | |
| resources.requests.memory | string | `"20Mi"` | |
| resources.limits.cpu | string | `"1024m"` | |
| resources.limits.memory | string | `"1024Mi"` | |
| resources.requests.cpu | string | `"256m"` | |
| resources.requests.memory | string | `"256Mi"` | |
| serviceAccount.automountServiceAccountToken | bool | `true` | |
| serviceAccount.imagePullSecrets | list | `[]` | |

1 change: 1 addition & 0 deletions charts/istio-upgrade-worker/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ spec:
- secretMapRef:
name: {{ .Values.configuration.slackWebhookSecretName }}
{{ end }}
resources: {{ .Values.resources | toYaml | nindent 14 }}
8 changes: 4 additions & 4 deletions charts/istio-upgrade-worker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ cronjob:

resources:
limits:
cpu: 200m
memory: 100Mi
cpu: 1024m
memory: 1024Mi
requests:
cpu: 100m
memory: 20Mi
cpu: 256m
memory: 256Mi

serviceAccount:
imagePullSecrets: []
Expand Down
6 changes: 3 additions & 3 deletions charts/releases/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ entries:
istio-upgrade-worker:
- apiVersion: v2
appVersion: 1.0.0
created: "2024-09-29T09:34:30.919047+07:00"
digest: c3a9312df86fe0c152094b36817613cc9eae8d227264dc095b6090f9730e0410
created: "2024-09-29T09:42:32.218603+07:00"
digest: 81ce8d6f329a1828afeb92b1784f6b781cbd39aef96d8b6dad7f0c6f7d49f4c7
home: https://github.com/gopaytech/istio-upgrade-worker
maintainers:
- email: [email protected]
Expand All @@ -15,4 +15,4 @@ entries:
urls:
- istio-upgrade-worker-1.0.0.tgz
version: 1.0.0
generated: "2024-09-29T09:34:30.918581+07:00"
generated: "2024-09-29T09:42:32.217991+07:00"
Binary file modified charts/releases/istio-upgrade-worker-1.0.0.tgz
Binary file not shown.

0 comments on commit f178f70

Please sign in to comment.