Skip to content

Commit de19e2d

Browse files
committed
fix copilot remarks
1 parent 273cb32 commit de19e2d

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

charts/linkurious-enterprise/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,23 +65,24 @@ helm upgrade --install my-release linkurious-enterprise-0.3.1.tgz -f chart-value
6565
| backup.litestream.resources.requests.cpu | string | `"100m"` | |
6666
| backup.litestream.resources.requests.memory | string | `"100Mi"` | |
6767
| backup.litestream.secretRef.name | string | `"litestream-lke-secret"` | |
68+
| backup.velero.enabled | bool | `false` | |
6869
| backup.velero.includedResources[0] | string | `"pvc"` | |
6970
| backup.velero.includedResources[1] | string | `"pv"` | |
7071
| backup.velero.instance | string | `"velero-preprod"` | |
7172
| backup.velero.labels."app.kubernetes.io/name" | string | `"linkurious-enterprise"` | |
7273
| backup.velero.labelsSelector."app.kubernetes.io/name" | string | `"linkurious-enterprise"` | |
7374
| backup.velero.name | string | `"velero"` | |
7475
| backup.velero.primaryBackup.defaultVolumesToFsBackup | bool | `false` | |
75-
| backup.velero.primaryBackup.enabled | bool | `false` | |
7676
| backup.velero.primaryBackup.schedule | string | `"55 3 * * *"` | |
77+
| backup.velero.primaryBackup.snapshotMoveData | bool | `false` | |
7778
| backup.velero.primaryBackup.snapshotVolume | bool | `true` | |
7879
| backup.velero.primaryBackup.ttl | string | `"168h"` | |
7980
| backup.velero.secondaryBackup.defaultVolumesToFsBackup | bool | `true` | |
8081
| backup.velero.secondaryBackup.enabled | bool | `false` | |
8182
| backup.velero.secondaryBackup.schedule | string | `"55 12 * * *"` | |
8283
| backup.velero.secondaryBackup.snapshotMoveData | bool | `true` | |
8384
| backup.velero.secondaryBackup.snapshotVolume | bool | `true` | |
84-
| backup.velero.secondaryBackup.storageLocation | string | `"nl-ams-backup-storage"` | |
85+
| backup.velero.secondaryBackup.storageLocation | string | `"velero-k8s-nl-ams-backup-storage"` | |
8586
| backup.velero.secondaryBackup.ttl | string | `"168h"` | |
8687
| backup.velero.skipImmediately | bool | `false` | |
8788
| backup.velero.veleroNamespace | string | `"backup"` | |

charts/linkurious-enterprise/templates/statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
{{- with .Values.podAnnotations }}
2020
{{- toYaml . | nindent 8 }}
2121
{{- end }}
22-
{{- if .Values.backup.velero.primaryBackup.enabled }}
22+
{{- if or (eq .Values.backup.velero.backup.enabled true) (eq .Values.backup.velero.secondaryBackup.enabled true) }}
2323
backup.velero.io/backup-volumes: lke-data
2424
{{- end }}
2525
labels:

charts/linkurious-enterprise/templates/velero-schedule.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.backup.velero.primaryBackup.enabled }}
1+
{{- if .Values.backup.velero.Backup.enabled }}
22
{{- if (not (.Capabilities.APIVersions.Has "velero.io/v1")) }}
33
{{- fail "ERROR: You have to deploy velero.io/v1 first or disable velero backup" }}
44
{{- end }}

charts/linkurious-enterprise/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ backup:
281281
282282
velero:
283283
## -- Enable backup for Linkurious server lke-data volume with velero
284+
enabled: false
284285
name: velero
285286
instance: velero-preprod
286287
veleroNamespace: backup
@@ -296,7 +297,6 @@ backup:
296297
# backup.velero.io/backup-volumes: lke-data
297298
app.kubernetes.io/name: linkurious-enterprise
298299
primaryBackup:
299-
enabled: false
300300
snapshotVolume: true
301301
snapshotMoveData: false
302302
defaultVolumesToFsBackup: false

0 commit comments

Comments
 (0)