Merge pull request #23 from small-hack/allow-setting-revision-history-limit
allow setting revisionHistoryLimit for the deployment
This commit is contained in:
@@ -15,7 +15,7 @@ type: application
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||
version: 0.8.2
|
||||
version: 0.9.0
|
||||
|
||||
# This is the version number of the application being deployed.
|
||||
# renovate:image=ghcr.io/mattlqx/docker-pixelfed
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# pixelfed
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
A Helm chart for deploying Pixelfed on Kubernetes
|
||||
|
||||
@@ -48,7 +48,7 @@ A Helm chart for deploying Pixelfed on Kubernetes
|
||||
| externalValkey.password | string | `"null"` | |
|
||||
| externalValkey.port | string | `"6379"` | |
|
||||
| externalValkey.scheme | string | `"tcp"` | |
|
||||
| fullnameOverride | string | `""` | |
|
||||
| fullnameOverride | string | `""` | This is to override the chart name, but used in more places |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | This sets the pull policy for images. |
|
||||
| image.registry | string | `"ghcr.io"` | |
|
||||
| image.repository | string | `"mattlqx/docker-pixelfed"` | |
|
||||
@@ -161,6 +161,7 @@ A Helm chart for deploying Pixelfed on Kubernetes
|
||||
| readinessProbe | object | `{}` | This is to setup the readiness probe more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ |
|
||||
| replicaCount | int | `1` | This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ |
|
||||
| resources | object | `{}` | set resource limits and requests for cpu, memory, and ephemeral storage |
|
||||
| revisionHistoryLimit | int | `10` | how many revisions of the deployment to keep for rollbacks |
|
||||
| securityContext | object | `{}` | |
|
||||
| service.port | int | `80` | This sets the ports more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports |
|
||||
| service.targetPort | int | `80` | Port to attach to on the pods. Also sets what port nginx listens on inside the container. |
|
||||
|
||||
@@ -11,6 +11,7 @@ spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "pixelfed.selectorLabels" . | nindent 6 }}
|
||||
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
|
||||
template:
|
||||
metadata:
|
||||
{{- with .Values.podAnnotations }}
|
||||
|
||||
@@ -16,10 +16,16 @@ image:
|
||||
|
||||
# -- This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
imagePullSecrets: []
|
||||
|
||||
# -- This is to override the chart name.
|
||||
nameOverride: ""
|
||||
|
||||
# -- This is to override the chart name, but used in more places
|
||||
fullnameOverride: ""
|
||||
|
||||
# -- how many revisions of the deployment to keep for rollbacks
|
||||
revisionHistoryLimit: 10
|
||||
|
||||
# This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
|
||||
serviceAccount:
|
||||
# -- Specifies whether a service account should be created
|
||||
|
||||
Reference in New Issue
Block a user