Skip to content

Commit

Permalink
re-add lost commit from #88
Browse files Browse the repository at this point in the history
  • Loading branch information
bakito committed Nov 23, 2022
1 parent 4e45c50 commit b2e10d9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ helm install sealed-secrets-web bakito/sealed-secrets-web
| rbac.create | bool | `true` | Specifies whether rbac should be created |
| replicaCount | int | `1` | The number of pods to run |
| resources | object | `{}` | Resource limits and requests for the pods. |
| revisionHistoryLimit | int | `10` | Max number of old replicasets to retain |
| sealedSecrets.certURL | string | `""` | URL sealed secrets certificate (required if sealed secrets is not reachable with in cluster service) |
| sealedSecrets.namespace | string | `"sealed-secrets"` | Namespace of the sealed secrets service |
| sealedSecrets.serviceName | string | `"sealed-secrets"` | Name of the sealed secrets service |
Expand Down
3 changes: 3 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
{{- include "sealed-secrets-web.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
{{- with .Values.revisionHistoryLimit }}
revisionHistoryLimit: {{ . }}
{{- end }}
selector:
matchLabels:
app.kubernetes.io/name: {{ include "sealed-secrets-web.name" . }}
Expand Down
4 changes: 4 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# -- The number of pods to run
replicaCount: 1

# -- Max number of old replicasets to retain
revisionHistoryLimit: 10

# -- If set to true, the application has only the permission to view sealed secrets in the current namespace
includeLocalNamespaceOnly: false

Expand Down

0 comments on commit b2e10d9

Please sign in to comment.