Skip to content

Commit

Permalink
fix(helm): minor fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Pinsel <dominik.pinsel@mercedes-benz.com>
  • Loading branch information
DominikPinsel committed Jan 18, 2024
1 parent 5bc81a5 commit 49b5530
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
9 changes: 5 additions & 4 deletions charts/managed-identity-wallet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,12 @@ See [helm upgrade](https://helm.sh/docs/helm/helm_upgrade/) for command document
| postgresql.auth.database | string | `"miw_app"` | Postgresql database to create |
| postgresql.auth.enablePostgresUser | bool | `false` | Enable postgresql admin user |
| postgresql.auth.password | string | `""` | Postgresql password to set (if empty one is generated) |
| postgresql.auth.postgresPassword | string | `""` | Postgresql admin user password |
| postgresql.auth.username | string | `"miw"` | Postgresql user to create |
| postgresql.backup.conjob.schedule | string | `"* */6 * * *"` | Backup schedule |
| postgresql.backup.conjob.storage.existingClaim | string | `""` | Name of an existing PVC to use |
| postgresql.backup.conjob.storage.resourcePolicy | string | `"keep"` | Set resource policy to "keep" to avoid removing PVCs during a helm delete operation |
| postgresql.backup.conjob.storage.size | string | `"8Gi"` | PVC Storage Request for the backup data volume |
| postgresql.backup.cronjob.schedule | string | `"* */6 * * *"` | Backup schedule |
| postgresql.backup.cronjob.storage.existingClaim | string | `""` | Name of an existing PVC to use |
| postgresql.backup.cronjob.storage.resourcePolicy | string | `"keep"` | Set resource policy to "keep" to avoid removing PVCs during a helm delete operation |
| postgresql.backup.cronjob.storage.size | string | `"8Gi"` | PVC Storage Request for the backup data volume |
| postgresql.backup.enabled | bool | `false` | Enable to create a backup cronjob |
| postgresql.enabled | bool | `true` | Enable to deploy Postgresql |
| readinessProbe | object | `{"enabled":true,"failureThreshold":3,"initialDelaySeconds":30,"periodSeconds":5,"successThreshold":1,"timeoutSeconds":5}` | Kubernetes [readiness-probe](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ tests:
- name: APPLICATION_PORT
value: "8080"
- name: VC_EXPIRY_DATE
value: 31-12-2023
value: 31-12-2024
- name: encryption-key
valueFrom:
secretKeyRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ tests:
- name: APPLICATION_PORT
value: "8080"
- name: VC_EXPIRY_DATE
value: 31-12-2023
value: 31-12-2024

- it: should have empty values
asserts:
Expand Down
4 changes: 3 additions & 1 deletion charts/managed-identity-wallet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ postgresql:
auth:
# -- Enable postgresql admin user
enablePostgresUser: false
# -- Postgresql admin user password
postgresPassword: ""
# -- Postgresql user to create
username: "miw"
# -- Postgresql password to set (if empty one is generated)
Expand All @@ -249,7 +251,7 @@ postgresql:
backup:
# -- Enable to create a backup cronjob
enabled: false
conjob:
cronjob:
# -- Backup schedule
schedule: "* */6 * * *"
storage:
Expand Down

0 comments on commit 49b5530

Please sign in to comment.