Skip to content

Commit

Permalink
add resource handlers in chart
Browse files Browse the repository at this point in the history
Signed-off-by: hanenMizouni <[email protected]>
  • Loading branch information
outscale-hmi committed Dec 20, 2024
1 parent 69c0930 commit d4224e3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/k8s-osc-ccm/templates/osc-ccm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ spec:
- --cloud-provider=osc
- -v={{ .Values.verbose }}
{{- if .Values.caBundle.name }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- name: ca-bundle
mountPath: /etc/ssl/certs
Expand Down
3 changes: 3 additions & 0 deletions deploy/k8s-osc-ccm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ caBundle:
httpsProxy: ''
# -- Value used to create environment variable NO_PROXY
noProxy: ''

# resources -- Pod resource requests and limits.
resources: {}
1 change: 1 addition & 0 deletions docs/helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Kubernetes: `>=1.20.0-0`
| oscSecretName | string | `"osc-secret"` | Secret name containing cloud credentials |
| podLabels | object | `{}` | Labels for pod |
| replicaCount | int | `1` | Number of replicas to deploy |
| resources | object | `{}` | Pod resource requests and limits. |
| tolerations | list | `[]` | Pod tolerations (see [kubernetes doc](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)) |
| verbose | int | `5` | Verbosity level of the plugin |

Expand Down

0 comments on commit d4224e3

Please sign in to comment.