mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 06:58:50 +08:00
feat: add priority class name for all harbor resources (#7986)
Signed-off-by: Cyril Corbon <corboncyril@gmail.com>
This commit is contained in:
@@ -34,4 +34,4 @@ sources:
|
||||
- https://github.com/bitnami/bitnami-docker-harbor-registry
|
||||
- https://github.com/bitnami/bitnami-docker-harbor-registryctl
|
||||
- https://goharbor.io/
|
||||
version: 11.0.8
|
||||
version: 11.1.0
|
||||
|
||||
@@ -242,6 +242,7 @@ Additionally, if `persistence.resourcePolicy` is set to `keep`, you should manua
|
||||
| `nginx.nodeAffinityPreset.key` | NGINX Node label key to match Ignored if `affinity` is set. | `""` |
|
||||
| `nginx.nodeAffinityPreset.values` | NGINX Node label values to match. Ignored if `affinity` is set. | `[]` |
|
||||
| `nginx.affinity` | NGINX Affinity for pod assignment | `{}` |
|
||||
| `nginx.priorityClassName` | NGINX pods Priority Class Name | `""` |
|
||||
| `nginx.nodeSelector` | NGINX Node labels for pod assignment | `{}` |
|
||||
| `nginx.tolerations` | NGINX Tolerations for pod assignment | `[]` |
|
||||
| `nginx.podLabels` | Add additional labels to the pod (evaluated as a template) | `{}` |
|
||||
@@ -296,6 +297,7 @@ Additionally, if `persistence.resourcePolicy` is set to `keep`, you should manua
|
||||
| `portal.nodeAffinityPreset.key` | Harbor Portal Node label key to match Ignored if `affinity` is set. | `""` |
|
||||
| `portal.nodeAffinityPreset.values` | Harbor Portal Node label values to match. Ignored if `affinity` is set. | `[]` |
|
||||
| `portal.affinity` | Harbor Portal Affinity for pod assignment | `{}` |
|
||||
| `portal.priorityClassName` | Portal pods Priority Class Name | `""` |
|
||||
| `portal.nodeSelector` | Harbor Portal Node labels for pod assignment | `{}` |
|
||||
| `portal.tolerations` | Harbor Portal Tolerations for pod assignment | `[]` |
|
||||
| `portal.podLabels` | Add additional labels to the pod (evaluated as a template) | `{}` |
|
||||
@@ -351,6 +353,7 @@ Additionally, if `persistence.resourcePolicy` is set to `keep`, you should manua
|
||||
| `core.nodeAffinityPreset.key` | Harbor core Node label key to match Ignored if `affinity` is set. | `""` |
|
||||
| `core.nodeAffinityPreset.values` | Harbor core Node label values to match. Ignored if `affinity` is set. | `[]` |
|
||||
| `core.affinity` | Harbor core Affinity for pod assignment | `{}` |
|
||||
| `core.priorityClassName` | Core pods Priority Class Name | `""` |
|
||||
| `core.nodeSelector` | Harbor core Node labels for pod assignment | `{}` |
|
||||
| `core.tolerations` | Harbor core Tolerations for pod assignment | `[]` |
|
||||
| `core.podLabels` | Add additional labels to the pod (evaluated as a template) | `{}` |
|
||||
@@ -416,6 +419,7 @@ Additionally, if `persistence.resourcePolicy` is set to `keep`, you should manua
|
||||
| `jobservice.nodeAffinityPreset.key` | Harbor Jobservice Node label key to match Ignored if `affinity` is set. | `""` |
|
||||
| `jobservice.nodeAffinityPreset.values` | Harbor Jobservice Node label values to match. Ignored if `affinity` is set. | `[]` |
|
||||
| `jobservice.affinity` | Harbor Jobservice Affinity for pod assignment | `{}` |
|
||||
| `jobservice.priorityClassName` | Jobservice pods Priority Class Name | `""` |
|
||||
| `jobservice.nodeSelector` | Harbor Jobservice Node labels for pod assignment | `{}` |
|
||||
| `jobservice.tolerations` | Harbor Jobservice Tolerations for pod assignment | `[]` |
|
||||
| `jobservice.podLabels` | Add additional labels to the pod (evaluated as a template) | `{}` |
|
||||
@@ -511,6 +515,7 @@ Additionally, if `persistence.resourcePolicy` is set to `keep`, you should manua
|
||||
| `registry.nodeAffinityPreset.key` | Harbor Registry Node label key to match Ignored if `affinity` is set. | `""` |
|
||||
| `registry.nodeAffinityPreset.values` | Harbor Registry Node label values to match. Ignored if `affinity` is set. | `[]` |
|
||||
| `registry.affinity` | Harbor Registry Affinity for pod assignment | `{}` |
|
||||
| `registry.priorityClassName` | Registry pods Priority Class Name | `""` |
|
||||
| `registry.nodeSelector` | Harbor Registry Node labels for pod assignment | `{}` |
|
||||
| `registry.tolerations` | Harbor Registry Tolerations for pod assignment | `[]` |
|
||||
| `registry.podLabels` | Add additional labels to the pod (evaluated as a template) | `{}` |
|
||||
@@ -582,6 +587,7 @@ Additionally, if `persistence.resourcePolicy` is set to `keep`, you should manua
|
||||
| `chartmuseum.nodeAffinityPreset.key` | ChartMuseum Node label key to match Ignored if `affinity` is set. | `""` |
|
||||
| `chartmuseum.nodeAffinityPreset.values` | ChartMuseum Node label values to match. Ignored if `affinity` is set. | `[]` |
|
||||
| `chartmuseum.affinity` | ChartMuseum Affinity for pod assignment | `{}` |
|
||||
| `chartmuseum.priorityClassName` | Chartmuseum pods Priority Class Name | `""` |
|
||||
| `chartmuseum.nodeSelector` | ChartMuseum Node labels for pod assignment | `{}` |
|
||||
| `chartmuseum.tolerations` | ChartMuseum Tolerations for pod assignment | `[]` |
|
||||
| `chartmuseum.podLabels` | Add additional labels to the pod (evaluated as a template) | `{}` |
|
||||
@@ -680,6 +686,7 @@ Additionally, if `persistence.resourcePolicy` is set to `keep`, you should manua
|
||||
| `clair.nodeAffinityPreset.key` | Harbor Clair Node label key to match Ignored if `affinity` is set. | `""` |
|
||||
| `clair.nodeAffinityPreset.values` | Harbor Clair Node label values to match. Ignored if `affinity` is set. | `[]` |
|
||||
| `clair.affinity` | Harbor Clair Affinity for pod assignment | `{}` |
|
||||
| `clair.priorityClassName` | Clair pods Priority Class Name | `""` |
|
||||
| `clair.nodeSelector` | Harbor Clair Node labels for pod assignment | `{}` |
|
||||
| `clair.tolerations` | Harbor Clair Tolerations for pod assignment | `[]` |
|
||||
| `clair.podLabels` | Add additional labels to the pod (evaluated as a template) | `{}` |
|
||||
@@ -739,6 +746,7 @@ Additionally, if `persistence.resourcePolicy` is set to `keep`, you should manua
|
||||
| `notary.server.nodeAffinityPreset.key` | Notary server Node label key to match Ignored if `affinity` is set. | `""` |
|
||||
| `notary.server.nodeAffinityPreset.values` | Notary server Node label values to match. Ignored if `affinity` is set. | `[]` |
|
||||
| `notary.server.affinity` | Notary server Affinity for pod assignment | `{}` |
|
||||
| `notary.server.priorityClassName` | Notary server pods Priority Class Name | `""` |
|
||||
| `notary.server.nodeSelector` | Notary server Node labels for pod assignment | `{}` |
|
||||
| `notary.server.tolerations` | Notary server Tolerations for pod assignment | `[]` |
|
||||
| `notary.server.podLabels` | Add additional labels to the pod (evaluated as a template) | `{}` |
|
||||
@@ -764,6 +772,7 @@ Additionally, if `persistence.resourcePolicy` is set to `keep`, you should manua
|
||||
| `notary.signer.nodeAffinityPreset.key` | Notary signer Node label key to match Ignored if `affinity` is set. | `""` |
|
||||
| `notary.signer.nodeAffinityPreset.values` | Notary signer Node label values to match. Ignored if `affinity` is set. | `[]` |
|
||||
| `notary.signer.affinity` | Notary signer Affinity for pod assignment | `{}` |
|
||||
| `notary.signer.priorityClassName` | Notary signer pods Priority Class Name | `""` |
|
||||
| `notary.signer.nodeSelector` | Notary signer Node labels for pod assignment | `{}` |
|
||||
| `notary.signer.tolerations` | Notary signer Tolerations for pod assignment | `[]` |
|
||||
| `notary.signer.podLabels` | Add additional labels to the pod (evaluated as a template) | `{}` |
|
||||
@@ -842,6 +851,7 @@ Additionally, if `persistence.resourcePolicy` is set to `keep`, you should manua
|
||||
| `trivy.nodeAffinityPreset.key` | Trivy Node label key to match Ignored if `affinity` is set. | `""` |
|
||||
| `trivy.nodeAffinityPreset.values` | Trivy Node label values to match. Ignored if `affinity` is set. | `[]` |
|
||||
| `trivy.affinity` | Trivy Affinity for pod assignment | `{}` |
|
||||
| `trivy.priorityClassName` | Trivy pods Priority Class Name | `""` |
|
||||
| `trivy.nodeSelector` | Trivy Node labels for pod assignment | `{}` |
|
||||
| `trivy.tolerations` | Trivy Tolerations for pod assignment | `[]` |
|
||||
| `trivy.podLabels` | Add additional labels to the pod (evaluated as a template) | `{}` |
|
||||
@@ -888,6 +898,7 @@ Additionally, if `persistence.resourcePolicy` is set to `keep`, you should manua
|
||||
| `redis.auth.password` | Redis password | `""` |
|
||||
| `redis.architecture` | Cluster settings | `standalone` |
|
||||
| `redis.master.persistence.enabled` | Enable persistence for master Redis | `true` |
|
||||
| `redis.master.priorityClassName` | Redis pods Priority Class Name | `""` |
|
||||
| `redis.replica.persistence.enabled` | Enable persistence for replica Redis | `true` |
|
||||
| `externalRedis.host` | Host of the external redis | `localhost` |
|
||||
| `externalRedis.port` | Port of the external redis | `6379` |
|
||||
|
||||
@@ -42,6 +42,9 @@ spec:
|
||||
spec:
|
||||
{{- include "harbor.imagePullSecrets" . | nindent 6 }}
|
||||
automountServiceAccountToken: {{ .Values.chartmuseum.automountServiceAccountToken }}
|
||||
{{- if .Values.chartmuseum.priorityClassName }}
|
||||
priorityClassName: {{ .Values.chartmuseum.priorityClassName | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.chartmuseum.affinity }}
|
||||
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.chartmuseum.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
|
||||
@@ -40,6 +40,9 @@ spec:
|
||||
spec:
|
||||
{{- include "harbor.imagePullSecrets" . | nindent 6 }}
|
||||
automountServiceAccountToken: {{ .Values.clair.automountServiceAccountToken }}
|
||||
{{- if .Values.clair.priorityClassName }}
|
||||
priorityClassName: {{ .Values.clair.priorityClassName | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.clair.affinity }}
|
||||
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.clair.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
|
||||
@@ -43,6 +43,9 @@ spec:
|
||||
spec:
|
||||
{{- include "harbor.imagePullSecrets" . | nindent 6 }}
|
||||
automountServiceAccountToken: {{ .Values.core.automountServiceAccountToken }}
|
||||
{{- if .Values.core.priorityClassName }}
|
||||
priorityClassName: {{ .Values.core.priorityClassName | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.core.affinity }}
|
||||
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.core.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
|
||||
@@ -46,6 +46,7 @@ spec:
|
||||
{{- if .Values.jobservice.affinity }}
|
||||
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.jobservice.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
priorityClassName: {{ .Values.jobservice.priorityClassName | quote }}
|
||||
affinity:
|
||||
podAffinity: {{- include "common.affinities.pods" (dict "type" .Values.jobservice.podAffinityPreset "component" "jobservice" "context" $) | nindent 10 }}
|
||||
podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.jobservice.podAntiAffinityPreset "component" "jobservice" "context" $) | nindent 10 }}
|
||||
|
||||
@@ -43,6 +43,9 @@ spec:
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- include "harbor.imagePullSecrets" . | nindent 6 }}
|
||||
{{- if .Values.nginx.priorityClassName }}
|
||||
priorityClassName: {{ .Values.nginx.priorityClassName | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.nginx.affinity }}
|
||||
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.nginx.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
|
||||
@@ -38,6 +38,9 @@ spec:
|
||||
spec:
|
||||
{{- include "harbor.imagePullSecrets" . | nindent 6 }}
|
||||
automountServiceAccountToken: {{ .Values.notary.server.automountServiceAccountToken }}
|
||||
{{- if .Values.notary.server.priorityClassName }}
|
||||
priorityClassName: {{ .Values.notary.server.priorityClassName | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.notary.server.affinity }}
|
||||
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.notary.server.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
|
||||
@@ -37,6 +37,9 @@ spec:
|
||||
spec:
|
||||
{{- include "harbor.imagePullSecrets" . | nindent 6 }}
|
||||
automountServiceAccountToken: {{ .Values.notary.signer.automountServiceAccountToken }}
|
||||
{{- if .Values.notary.signer.priorityClassName }}
|
||||
priorityClassName: {{ .Values.notary.signer.priorityClassName | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.notary.signer.affinity }}
|
||||
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.notary.signer.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
|
||||
@@ -38,6 +38,9 @@ spec:
|
||||
spec:
|
||||
{{- include "harbor.imagePullSecrets" . | nindent 6 }}
|
||||
automountServiceAccountToken: {{ .Values.portal.automountServiceAccountToken }}
|
||||
{{- if .Values.portal.priorityClassName }}
|
||||
priorityClassName: {{ .Values.portal.priorityClassName | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.portal.affinity }}
|
||||
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.portal.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
|
||||
@@ -42,6 +42,9 @@ spec:
|
||||
spec:
|
||||
{{- include "harbor.imagePullSecrets" . | nindent 6 }}
|
||||
automountServiceAccountToken: {{ .Values.registry.automountServiceAccountToken }}
|
||||
{{- if .Values.registry.priorityClassName }}
|
||||
priorityClassName: {{ .Values.registry.priorityClassName | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.registry.affinity }}
|
||||
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.registry.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
|
||||
@@ -40,6 +40,9 @@ spec:
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- include "harbor.imagePullSecrets" . | nindent 6 }}
|
||||
{{- if .Values.trivy.priorityClassName }}
|
||||
priorityClassName: {{ .Values.trivy.priorityClassName | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.trivy.affinity }}
|
||||
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.trivy.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
|
||||
@@ -606,6 +606,10 @@ nginx:
|
||||
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
||||
##
|
||||
affinity: {}
|
||||
## @param nginx.priorityClassName NGINX pods Priority Class Name
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
||||
##
|
||||
priorityClassName: ""
|
||||
## @param nginx.nodeSelector NGINX Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
@@ -810,6 +814,10 @@ portal:
|
||||
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
||||
##
|
||||
affinity: {}
|
||||
## @param portal.priorityClassName Portal pods Priority Class Name
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
||||
##
|
||||
priorityClassName: ""
|
||||
## @param portal.nodeSelector Harbor Portal Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
@@ -1017,6 +1025,10 @@ core:
|
||||
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
||||
##
|
||||
affinity: {}
|
||||
## @param core.priorityClassName Core pods Priority Class Name
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
||||
##
|
||||
priorityClassName: ""
|
||||
## @param core.nodeSelector Harbor core Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
@@ -1249,6 +1261,10 @@ jobservice:
|
||||
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
||||
##
|
||||
affinity: {}
|
||||
## @param jobservice.priorityClassName Jobservice pods Priority Class Name
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
||||
##
|
||||
priorityClassName: ""
|
||||
## @param jobservice.nodeSelector Harbor Jobservice Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
@@ -1597,6 +1613,10 @@ registry:
|
||||
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
||||
##
|
||||
affinity: {}
|
||||
## @param registry.priorityClassName Registry pods Priority Class Name
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
||||
##
|
||||
priorityClassName: ""
|
||||
## @param registry.nodeSelector Harbor Registry Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
@@ -1856,6 +1876,10 @@ chartmuseum:
|
||||
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
||||
##
|
||||
affinity: {}
|
||||
## @param chartmuseum.priorityClassName Chartmuseum pods Priority Class Name
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
||||
##
|
||||
priorityClassName: ""
|
||||
## @param chartmuseum.nodeSelector ChartMuseum Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
@@ -2212,6 +2236,10 @@ clair:
|
||||
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
||||
##
|
||||
affinity: {}
|
||||
## @param clair.priorityClassName Clair pods Priority Class Name
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
||||
##
|
||||
priorityClassName: ""
|
||||
## @param clair.nodeSelector Harbor Clair Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
@@ -2439,6 +2467,10 @@ notary:
|
||||
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
||||
##
|
||||
affinity: {}
|
||||
## @param notary.server.priorityClassName Notary server pods Priority Class Name
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
||||
##
|
||||
priorityClassName: ""
|
||||
## @param notary.server.nodeSelector Notary server Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
@@ -2559,6 +2591,10 @@ notary:
|
||||
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
||||
##
|
||||
affinity: {}
|
||||
## @param notary.signer.priorityClassName Notary signer pods Priority Class Name
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
||||
##
|
||||
priorityClassName: ""
|
||||
## @param notary.signer.nodeSelector Notary signer Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
@@ -2839,6 +2875,10 @@ trivy:
|
||||
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
||||
##
|
||||
affinity: {}
|
||||
## @param trivy.priorityClassName Trivy pods Priority Class Name
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
||||
##
|
||||
priorityClassName: ""
|
||||
## @param trivy.nodeSelector Trivy Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
@@ -2994,6 +3034,10 @@ redis:
|
||||
master:
|
||||
persistence:
|
||||
enabled: true
|
||||
## @param redis.master.priorityClassName Redis pods Priority Class Name
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
||||
##
|
||||
priorityClassName: ""
|
||||
## Redis™ Replica parameters
|
||||
## @param redis.replica.persistence.enabled Enable persistence for replica Redis
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user