Revert database pvc annotation changes

This commit is contained in:
Romain GERARD
2022-04-29 16:35:11 +02:00
parent e3439eff8e
commit ea6d0ecb44
9 changed files with 17 additions and 8 deletions

View File

@@ -344,9 +344,10 @@ persistence:
- ReadWriteOnce
size: {{ database_disk_size_in_gib }}Gi
annotations:
ownerId: {{ owner_id }}
envId: {{ environment_id }}
databaseId: {{ id }}
databaseLongId: {{ long_id }}
databaseName: {{ sanitized_name }}
## Configure the ingress resource that allows you to access the
## MongoDB installation. Set up the URL

View File

@@ -314,9 +314,10 @@ master:
## PVC annotations
##
annotations:
ownerId: {{ owner_id }}
envId: {{ environment_id }}
databaseId: {{ id }}
databaseLongId: {{ long_id }}
databaseName: {{ sanitized_name }}
## Persistent Volume Access Mode
##

View File

@@ -326,6 +326,7 @@ persistence:
- ReadWriteOnce
size: {{ database_disk_size_in_gib }}Gi
annotations:
ownerId: {{ owner_id }}
envId: {{ environment_id }}
databaseId: {{ id }}
databaseLongId: {{ long_id }}

View File

@@ -347,9 +347,10 @@ persistence:
- ReadWriteOnce
size: {{ database_disk_size_in_gib }}Gi
annotations:
ownerId: {{ owner_id }}
envId: {{ environment_id }}
databaseId: {{ id }}
databaseLongId: {{ long_id }}
databaseName: '{{ sanitized_name }}'
## Configure the ingress resource that allows you to access the
## MongoDB installation. Set up the URL

View File

@@ -314,9 +314,10 @@ master:
## PVC annotations
##
annotations:
ownerId: {{ owner_id }}
envId: {{ environment_id }}
databaseId: {{ id }}
databaseLongId: {{ long_id }}
databaseName: '{{ sanitized_name }}'
## Persistent Volume Access Mode
##

View File

@@ -328,9 +328,10 @@ persistence:
- ReadWriteOnce
size: {{ database_disk_size_in_gib }}Gi
annotations:
ownerId: {{ owner_id }}
envId: {{ environment_id }}
databaseId: {{ id }}
databaseLongId: {{ long_id }}
databaseName: '{{ sanitized_name }}'
## updateStrategy for PostgreSQL StatefulSet and its slaves StatefulSets
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies

View File

@@ -196,9 +196,10 @@ persistence:
- ReadWriteOnce
size: {{ database_disk_size_in_gib }}Gi
annotations:
ownerId: {{ owner_id }}
envId: {{ environment_id }}
databaseId: {{ id }}
databaseLongId: {{ long_id }}
databaseName: '{{ sanitized_name }}'
# volume.beta.kubernetes.io/storage-class=scw-sbv-ssd-0:
## Prometheus Exporter / Metrics

View File

@@ -292,9 +292,10 @@ master:
## PVC annotations
##
annotations:
ownerId: {{ owner_id }}
envId: {{ environment_id }}
databaseId: {{ id }}
databaseLongId: {{ long_id }}
databaseName: '{{ sanitized_name }}'
## Persistent Volume Access Mode
##

View File

@@ -169,9 +169,10 @@ persistence:
- ReadWriteOnce
size: {{ database_disk_size_in_gib }}Gi
annotations:
ownerId: {{ owner_id }}
envId: {{ environment_id }}
databaseId: {{ id }}
databaseLongId: {{ long_id }}
databaseName: '{{ sanitized_name }}'
##
## PostgreSQL Master parameters