Skip to content

Commit

Permalink
hardcoded updateStrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
yehielnetapp committed Oct 26, 2023
1 parent 96b5b67 commit a4887c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
6 changes: 3 additions & 3 deletions charts/ocean-network-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ helm install my-release spot/ocean-network-client
| image.pullPolicy | Optional | `"Always"` | Image pull policy. |
| image.pullSecrets | Optional | `[]` | Image pull secrets. |
| image.repository | Optional | `"public.ecr.aws/spotinst/spot-network-client"` | Image repository. |
| image.tag | Optional | `""` | Image tag. Defaults to `.Chart.AppVersion`. |
| image.tag | Optional | `""` | Image tag. Defaults to `.Chart.AppVersion`. |
| namespace | Optional | `"kube-system"` | Namespace where components should be installed. |
| oceanController.configMapName | Optional | `"spotinst-kubernetes-cluster-controller-config"` | ConfigMap name. |
| oceanController.secretName | Optional | `"spotinst-kubernetes-cluster-controller"` | Secret name. |
| resources | Optional | `{"limits":{"cpu":"300m","memory":"500Mi"},"requests":{"cpu":"10m","memory":"100Mi"}}` | Resource requests and limits. Ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| resources | Optional | `{"limits":{"cpu":"300m","memory":"500Mi"},"requests":{"cpu":"10m","memory":"100Mi"}}` | Resource requests and limits. Ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| tolerations | Optional | `[{"operator":"Exists"}]` | Tolerations - Enable pods to run an all nodes in cluster Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ |
| updateStrategy | Optional | `{"type":"RollingUpdate"},"rollingUpdate":{"maxSurge":"0","maxUnavailable":"10%"}}` | updateStrategy. Ref: https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/ |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
6 changes: 3 additions & 3 deletions charts/ocean-network-client/templates/daemon_set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ spec:
selector:
matchLabels:
{{- include "ocean-network-client.daemon-set.labels" . | nindent 6 }}
{{- with .Values.updateStrategy }}
updateStrategy:
{{- toYaml . | nindent 4 }}
{{- end }}
rollingUpdate:
maxSurge: 0
maxUnavailable: 10%
template:
metadata:
labels:
Expand Down
5 changes: 0 additions & 5 deletions charts/ocean-network-client/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,3 @@ resources:
tolerations:
- operator: "Exists"

Check failure on line 33 in charts/ocean-network-client/values.yaml

View workflow job for this annotation

GitHub Actions / lint

[empty-lines] too many blank lines (1 > 0)
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 0
maxUnavailable: 10%

0 comments on commit a4887c7

Please sign in to comment.