@@ -325,6 +325,9 @@ spec:
325
325
- name: backup-credentials
326
326
mountPath: /tmp/backup-credentials
327
327
readOnly: true
328
+ - name: encryption-key
329
+ mountPath: /tmp/encryption-key
330
+ readOnly: true
328
331
securityContext:
329
332
fsGroup: 4059
330
333
runAsGroup: 4059
@@ -339,6 +342,9 @@ spec:
339
342
- name: backup-credentials
340
343
secret:
341
344
secretName: {{ .BackupSecretName }}
345
+ - name: encryption-key
346
+ secret:
347
+ secretName: {{ .EncryptionKeySecretName }}
342
348
- name: fdb-certs
343
349
secret:
344
350
secretName: {{ .SecretName }}
@@ -459,6 +465,9 @@ spec:
459
465
- name: backup-credentials
460
466
mountPath: /tmp/backup-credentials
461
467
readOnly: true
468
+ - name: encryption-key
469
+ mountPath: /tmp/encryption-key
470
+ readOnly: true
462
471
securityContext:
463
472
fsGroup: 4059
464
473
runAsGroup: 4059
@@ -473,6 +482,9 @@ spec:
473
482
- name: backup-credentials
474
483
secret:
475
484
secretName: {{ .BackupSecretName }}
485
+ - name: encryption-key
486
+ secret:
487
+ secretName: {{ .EncryptionKeySecretName }}
476
488
- name: fdb-certs
477
489
secret:
478
490
secretName: {{ .SecretName }}
@@ -505,6 +517,8 @@ type operatorConfig struct {
505
517
SecretName string
506
518
// BackupSecretName represents the secret that should be used to communicate with the backup blobstore.
507
519
BackupSecretName string
520
+ // EncryptionKeySecretName represents the secret that contains the encryption key for backup operations.
521
+ EncryptionKeySecretName string
508
522
// SidecarVersions represents the sidecar configurations for different FoundationDB versions.
509
523
SidecarVersions []SidecarConfig
510
524
// Namespace represents the namespace for the Deployment and all associated resources
@@ -602,10 +616,11 @@ func (factory *Factory) getOperatorConfig(namespace string) *operatorConfig {
602
616
}
603
617
604
618
return & operatorConfig {
605
- OperatorImage : factory .GetOperatorImage (),
606
- SecretName : factory .GetSecretName (),
607
- BackupSecretName : factory .GetBackupSecretName (),
608
- Namespace : namespace ,
619
+ OperatorImage : factory .GetOperatorImage (),
620
+ SecretName : factory .GetSecretName (),
621
+ BackupSecretName : factory .GetBackupSecretName (),
622
+ EncryptionKeySecretName : factory .GetEncryptionKeySecretName (),
623
+ Namespace : namespace ,
609
624
SidecarVersions : factory .GetSidecarConfigs (),
610
625
ImagePullPolicy : factory .getImagePullPolicy (),
611
626
CPURequests : cpuRequests ,
0 commit comments