mirror of
https://github.com/bitnami/charts.git
synced 2026-03-02 16:17:47 +08:00
[bitnami/metallb] Add priorityClassName support. (#6464)
* added metallb priority class support. * added metallb priority class support. Signed-off-by: christian beland <christian.beland@ca.thalesgroup.com> * fixed trailing spaces * increase version since new feature Co-authored-by: christian beland <christian.beland@ca.thalesgroup.com>
This commit is contained in:
@@ -30,4 +30,4 @@ sources:
|
||||
- https://github.com/metallb/metallb
|
||||
- https://github.com/bitnami/bitnami-docker-metallb
|
||||
- https://metallb.universe.tf
|
||||
version: 2.3.7
|
||||
version: 2.4.0
|
||||
|
||||
@@ -84,6 +84,7 @@ The following tables lists the configurable parameters of the metallb chart and
|
||||
| `controller.hostAliases` | Add deployment host aliases | `[]` |
|
||||
| `controller.rbac.create` | create specifies whether to install and use RBAC rules. | `true` |
|
||||
| `controller.psp.create` | create specifies whether to install Pod Security Policies. | `true` |
|
||||
| `controller.priorityClassName` | Set pod priorityClassName. | `null` |
|
||||
| `controller.resources.limits` | Specify resource limits which the container is not allowed to succeed. | `{}` (does not add resource limits to deployed pods) |
|
||||
| `controller.resources.requests` | Specify resource requests which the container needs to spawn. | `{}` (does not add resource limits to deployed pods) |
|
||||
| `controller.nodeSelector` | Node labels for controller pod assignment | `{}` |
|
||||
@@ -137,6 +138,7 @@ The following tables lists the configurable parameters of the metallb chart and
|
||||
| `speaker.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
|
||||
| `speaker.rbac.create` | create specifies whether to install and use RBAC rules. | `true` |
|
||||
| `speaker.psp.create` | create specifies whether to install Pod Security Policies. | `true` |
|
||||
| `speaker.priorityClassName` | Set pod priorityClassName. | `null` |
|
||||
| `speaker.resources.limits` | Specify resource limits which the container is not allowed to succeed. | `{}` (does not add resource limits to deployed pods) |
|
||||
| `speaker.resources.requests` | Specify resource requests which the container needs to spawn. | `{}` (does not add resource limits to deployed pods) |
|
||||
| `speaker.nodeSelector` | Node labels for speaker pod assignment | `{}` |
|
||||
|
||||
@@ -48,6 +48,9 @@ spec:
|
||||
{{- if .Values.controller.tolerations }}
|
||||
tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.controller.tolerations "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.controller.priorityClassName }}
|
||||
priorityClassName: {{ .Values.controller.priorityClassName | quote }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: metallb-controller
|
||||
image: {{ include "common.images.image" (dict "imageRoot" .Values.controller.image "global" .Values.global) }}
|
||||
|
||||
@@ -39,6 +39,9 @@ spec:
|
||||
initContainers:
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.speaker.initContainers "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.speaker.priorityClassName }}
|
||||
priorityClassName: {{ .Values.speaker.priorityClassName | quote }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: metallb-speaker
|
||||
image: {{ include "common.images.image" (dict "imageRoot" .Values.speaker.image "global" .Values.global) }}
|
||||
|
||||
@@ -121,6 +121,9 @@ controller:
|
||||
##
|
||||
create: true
|
||||
|
||||
## Set pod priorityClassName
|
||||
# priorityClassName: ""
|
||||
|
||||
## Controller container resource requests and limits
|
||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
@@ -307,6 +310,9 @@ speaker:
|
||||
##
|
||||
create: true
|
||||
|
||||
## Set pod priorityClassName
|
||||
# priorityClassName: ""
|
||||
|
||||
## Speaker container resource requests and limits
|
||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user