Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/apisix-ingress-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ keywords:
- nginx
- crd
type: application
version: 1.5.0
version: 1.6.0
appVersion: 2.2.0
sources:
- https://github.com/apache/apisix-helm-chart
Expand Down
1 change: 1 addition & 0 deletions charts/apisix-ingress-controller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ The same for container level, you need to set:
| deployment.imagePullSecrets | list | `[]` | |
| deployment.nodeSelector | object | `{}` | |
| deployment.podAnnotations | object | `{}` | |
| deployment.podLabels | object | `{}` | Additional labels with string values for ingress controller Pods. Keys already used by the selector are ignored. |
| deployment.podSecurityContext | object | `{"fsGroup":2000}` | Set security context for the pod fsGroup: 2000 ensures containers can share Unix socket files via a common group. |
| deployment.priorityClassName | string | `""` | Set the [priorityClassName](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#pod-priority) for the ingress controller pods |
| deployment.replicas | int | `1` | |
Expand Down
3 changes: 2 additions & 1 deletion charts/apisix-ingress-controller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ spec:
{{- end }}
{{- end }}
labels:
{{- include "apisix-ingress-controller-manager.selectorLabels" . | nindent 8 }}
{{- $selectorLabels := include "apisix-ingress-controller-manager.selectorLabels" . | fromYaml }}
{{- mergeOverwrite (dict) (.Values.deployment.podLabels | default dict) $selectorLabels | toYaml | nindent 8 }}
spec:
{{- with .Values.deployment.priorityClassName }}
priorityClassName: {{ . }}
Expand Down
2 changes: 2 additions & 0 deletions charts/apisix-ingress-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ deployment:
# -- Add annotations to Apache APISIX ingress controller resource
annotations: {}
podAnnotations: {}
# -- Additional labels with string values for ingress controller Pods. Keys already used by the selector are ignored.
podLabels: {}
# -- Set the [priorityClassName](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#pod-priority) for the ingress controller pods
priorityClassName: ""
replicas: 1
Expand Down
Loading