diff --git a/README.md b/README.md index cb10f29..634652b 100644 --- a/README.md +++ b/README.md @@ -81,68 +81,68 @@ deletes the release. The following table lists the configurable parameters of the Verdaccio chart, and their default values. -| Parameter | Description | Default | Reference | -| ------------------------------------ | ----------------------------------------------------------------------------------------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------- | -| `affinity` | Affinity for pod assignment | `{}` | | -| `existingConfigMap` | Name of custom ConfigMap to use | `false` | | -| `image.pullPolicy` | Image pull policy | `IfNotPresent` | | -| `image.pullSecrets` | Image pull secrets | `[]` | | -| `image.repository` | Verdaccio container image repository | `verdaccio/verdaccio` | | -| `image.tag` | Verdaccio container image tag | `5.14.0` | | -| `nodeSelector` | Node labels for pod assignment | `{}` | | -| `tolerations` | List of node taints to tolerate | `[]` | | -| `persistence.accessMode` | PVC Access Mode for Verdaccio volume | `ReadWriteOnce` | | -| `persistence.enabled` | Enable persistence using PVC | `true` | | -| `persistence.existingClaim` | Use existing PVC | `nil` | | -| `persistence.mounts` | Additional mounts | `nil` | | -| `persistence.size` | PVC Storage Request for Verdaccio volume | `8Gi` | | -| `persistence.storageClass` | PVC Storage Class for Verdaccio volume | `nil` | | -| `persistence.selector` | Selector to match an existing Persistent Volume | `{}` (evaluated as a template) | | -| `persistence.volumes` | Additional volumes | `nil` | | -| `podLabels` | Additional pod labels | `{}` (evaluated as a template) | | -| `podAnnotations` | Annotations to add to each pod | `{}` | | -| `priorityClass.enabled` | Enable specifying pod priorityClassName | `false` | | -| `priorityClass.name` | PriorityClassName to be specified in pod spec | `""` | | -| `replicaCount` | Desired number of pods, has no effect when `autoscaler` is `enabled` | `1` | | -| `resources` | CPU/Memory resource requests/limits | `{}` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#resourcerequirements-v1-core) | -| `service.annotations` | Annotations to add to service | none | | -| `service.clusterIP` | IP address to assign to service | `""` | | -| `service.externalIPs` | Service external IP addresses | `[]` | | -| `service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `""` | | -| `service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | `[]` | | -| `service.port` | Service port to expose | `80` | | -| `service.targetPort` | Container port to target | `4873` | | -| `service.type` | Type of service to create | `ClusterIP` | | -| `serviceAccount.create` | Create service account | `false` | | -| `serviceAccount.name` | Service account Name | none | | -| `extraEnvVars` | Define environment variables to be passed to the container | `{}` | | -| `extraInitContainers` | Define additional initContainers to be added to the deployment | `[]` | | -| `securityContext` | Define Container Security Context | `{runAsUser=10001}` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#securitycontext-v1-core) | -| `podSecurityContext` | Define Pod Security Context | `{fsGroup=101}` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#podsecuritycontext-v1-core) | -| `nameOverride` | Set resource name override | `""` | | -| `fullnameOverride` | Set resource fullname override | `""` | | -| `ingress.enabled` | Enable/Disable Ingress | `false` | | -| `ingress.className` | Ingress Class Name (k8s `>=1.18` required) | `""` | | -| `ingress.annotations` | Ingress Annotations | `{}` | | -| `ingress.hosts` | List of Ingress Hosts | `[]` | | -| `ingress.paths` | List of Ingress Paths | `["/"]` | | -| `ingress.extraPaths` | List of extra Ingress Paths | `[]` | | -| `ingress.defaultBackend` | An `IngressBackend` that will handle requests that don't match any ingress rule | `nil` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#ingressspec-v1-networking-k8s-io) | -| `readinessProbe.initialDelaySeconds` | How long after startup before liveness probe is initiated | `5` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#probe-v1-core) | -| `readinessProbe.timeoutSeconds` | Number of seconds after which the probe times out | `1` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#probe-v1-core) | -| `readinessProbe.periodSeconds` | How often to perform the probe after startup | `10` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#probe-v1-core) | -| `readinessProbe.failureThreshold` | Min failures for the probe to be considered failed | `3` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#probe-v1-core) | -| `readinessProbe.successThreshold` | Min successes for the probe to be considered successful | `1` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#probe-v1-core) | -| `livenessProbe.initialDelaySeconds` | How long after startup before readiness probe is initiated | `5` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#probe-v1-core) | -| `livenessProbe.timeoutSeconds` | Number of seconds after which the probe times out | `1` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#probe-v1-core) | -| `livenessProbe.periodSeconds` | How often to perform the probe after startup | `10` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#probe-v1-core) | -| `livenessProbe.failureThreshold` | Min failures for the probe to be considered failed | `3` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#probe-v1-core) | -| `livenessProbe.successThreshold` | Min successes for the probe to be considered successful | `1` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#probe-v1-core) | -| `autoscaler.enabled` | Whether to enable the HorizontalPodAutoscaler | `false` | | -| `autoscaler.minReplicas` | Lower limit for the number of replicas when scaling down, overrides `replicaCount` when `autoscaler` is `enabled` | `1` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#horizontalpodautoscaler-v2-autoscaling) | -| `autoscaler.maxReplicas` | Upper limit for the number of replicas when scaling up | `1` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#horizontalpodautoscaler-v2-autoscaling) | -| `autoscaler.metrics` | List of `MetricSpec` objects to trigger scaling | `[]` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#metricspec-v2beta2-autoscaling) | -| `topologySpreadConstraints` | List of `TopologySpreadConstraint` objects to apply to the pod(s) | `[]` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#topologyspreadconstraint-v1-core) | +| Parameter | Description | Default | Reference | +| ------------------------------------ | ----------------------------------------------------------------------------------------------------------------- | ------------------------------ |------------------------------------------------------------------------------------------------------------------| +| `affinity` | Affinity for pod assignment | `{}` | | +| `existingConfigMap` | Name of custom ConfigMap to use | `false` | | +| `image.pullPolicy` | Image pull policy | `IfNotPresent` | | +| `image.pullSecrets` | Image pull secrets | `[]` | | +| `image.repository` | Verdaccio container image repository | `verdaccio/verdaccio` | | +| `image.tag` | Verdaccio container image tag | `5.14.0` | | +| `nodeSelector` | Node labels for pod assignment | `{}` | | +| `tolerations` | List of node taints to tolerate | `[]` | | +| `persistence.accessMode` | PVC Access Mode for Verdaccio volume | `ReadWriteOnce` | | +| `persistence.enabled` | Enable persistence using PVC | `true` | | +| `persistence.existingClaim` | Use existing PVC | `nil` | | +| `persistence.mounts` | Additional mounts | `nil` | | +| `persistence.size` | PVC Storage Request for Verdaccio volume | `8Gi` | | +| `persistence.storageClass` | PVC Storage Class for Verdaccio volume | `nil` | | +| `persistence.selector` | Selector to match an existing Persistent Volume | `{}` (evaluated as a template) | | +| `persistence.volumes` | Additional volumes | `nil` | | +| `podLabels` | Additional pod labels | `{}` (evaluated as a template) | | +| `podAnnotations` | Annotations to add to each pod | `{}` | | +| `priorityClass.enabled` | Enable specifying pod priorityClassName | `false` | | +| `priorityClass.name` | PriorityClassName to be specified in pod spec | `""` | | +| `replicaCount` | Desired number of pods, has no effect when `autoscaler` is `enabled` | `1` | | +| `resources` | CPU/Memory resource requests/limits | `{}` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core) | +| `service.annotations` | Annotations to add to service | none | | +| `service.clusterIP` | IP address to assign to service | `""` | | +| `service.externalIPs` | Service external IP addresses | `[]` | | +| `service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `""` | | +| `service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | `[]` | | +| `service.port` | Service port to expose | `80` | | +| `service.targetPort` | Container port to target | `4873` | | +| `service.type` | Type of service to create | `ClusterIP` | | +| `serviceAccount.create` | Create service account | `false` | | +| `serviceAccount.name` | Service account Name | none | | +| `extraEnvVars` | Define environment variables to be passed to the container | `{}` | | +| `extraInitContainers` | Define additional initContainers to be added to the deployment | `[]` | | +| `securityContext` | Define Container Security Context | `{runAsUser=10001}` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#podsecuritycontext-v1-core) | +| `podSecurityContext` | Define Pod Security Context | `{fsGroup=101}` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#podsecuritycontext-v1-core) | +| `nameOverride` | Set resource name override | `""` | | +| `fullnameOverride` | Set resource fullname override | `""` | | +| `ingress.enabled` | Enable/Disable Ingress | `false` | | +| `ingress.className` | Ingress Class Name (k8s `>=1.18` required) | `""` | | +| `ingress.annotations` | Ingress Annotations | `{}` | | +| `ingress.hosts` | List of Ingress Hosts | `[]` | | +| `ingress.paths` | List of Ingress Paths | `["/"]` | | +| `ingress.extraPaths` | List of extra Ingress Paths | `[]` | | +| `ingress.defaultBackend` | An `IngressBackend` that will handle requests that don't match any ingress rule | `nil` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#ingressspec-v1-networking-k8s-io) | +| `readinessProbe.initialDelaySeconds` | How long after startup before liveness probe is initiated | `5` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#probe-v1-core) | +| `readinessProbe.timeoutSeconds` | Number of seconds after which the probe times out | `1` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#probe-v1-core) | +| `readinessProbe.periodSeconds` | How often to perform the probe after startup | `10` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#probe-v1-core) | +| `readinessProbe.failureThreshold` | Min failures for the probe to be considered failed | `3` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#probe-v1-core) | +| `readinessProbe.successThreshold` | Min successes for the probe to be considered successful | `1` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#probe-v1-core) | +| `livenessProbe.initialDelaySeconds` | How long after startup before readiness probe is initiated | `5` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#probe-v1-core) | +| `livenessProbe.timeoutSeconds` | Number of seconds after which the probe times out | `1` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#probe-v1-core) | +| `livenessProbe.periodSeconds` | How often to perform the probe after startup | `10` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#probe-v1-core) | +| `livenessProbe.failureThreshold` | Min failures for the probe to be considered failed | `3` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#probe-v1-core) | +| `livenessProbe.successThreshold` | Min successes for the probe to be considered successful | `1` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#probe-v1-core) | +| `autoscaler.enabled` | Whether to enable the HorizontalPodAutoscaler | `false` | | +| `autoscaler.minReplicas` | Lower limit for the number of replicas when scaling down, overrides `replicaCount` when `autoscaler` is `enabled` | `1` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#horizontalpodautoscaler-v2-autoscaling) | +| `autoscaler.maxReplicas` | Upper limit for the number of replicas when scaling up | `1` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#horizontalpodautoscaler-v2-autoscaling) | +| `autoscaler.metrics` | List of `MetricSpec` objects to trigger scaling | `[]` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#horizontalpodautoscaler-v2-autoscaling) | +| `topologySpreadConstraints` | List of `TopologySpreadConstraint` objects to apply to the pod(s) | `[]` | [1](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#topologyspreadconstraint-v1-core) | Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, diff --git a/charts/verdaccio/templates/deployment.yaml b/charts/verdaccio/templates/deployment.yaml index ab5b88c..bead8e5 100644 --- a/charts/verdaccio/templates/deployment.yaml +++ b/charts/verdaccio/templates/deployment.yaml @@ -24,7 +24,7 @@ spec: rollingUpdate: # The maximum number of pods that can be unavailable during a rolling update. Setting this value higher than zero # seems to help trigger 502 errors from the GCP container native ingress load balancer. - # Refer to: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#rollingupdatedeployment-v1-apps + # Refer to: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#rollingupdatedeployment-v1-apps maxUnavailable: 0 {{- end }} template: