@@ -625,9 +625,10 @@ func TestConfig_StructValidation(t *testing.T) {
625625 S3Prefix : "" ,
626626 MultipartArchive : true ,
627627 Restore : StackgraphRestoreConfig {
628- ScaleDownLabelSelector : "app=stackgraph" ,
629- LoggingConfigConfigMapName : "logging-config" ,
630- ZookeeperQuorum : "zookeeper:2181" ,
628+ ScaleDownLabelSelector : "app=stackgraph" ,
629+ LoggingConfigConfigMapName : "logging-config" ,
630+ StsBackupConfigConfigMapName : "backup-config" ,
631+ ZookeeperQuorum : "zookeeper:2181" ,
631632 Job : JobConfig {
632633 Image : "backup:latest" ,
633634 WaitImage : "wait:latest" ,
@@ -682,13 +683,14 @@ func TestConfig_StructValidation(t *testing.T) {
682683 Bucket : "settings-backup" ,
683684 S3Prefix : "" ,
684685 Restore : SettingsRestoreConfig {
685- ScaleDownLabelSelector : "app=settings" ,
686- LoggingConfigConfigMapName : "logging-config" ,
687- BaseURL : "http://server:7070" ,
688- ReceiverBaseURL : "http://receiver:7077" ,
689- PlatformVersion : "5.2.0" ,
690- ZookeeperQuorum : "zookeeper:2181" ,
691- PVC : "suse-observability-settings-backup-data" ,
686+ ScaleDownLabelSelector : "app=settings" ,
687+ LoggingConfigConfigMapName : "logging-config" ,
688+ StsBackupConfigConfigMapName : "backup-config" ,
689+ BaseURL : "http://server:7070" ,
690+ ReceiverBaseURL : "http://receiver:7077" ,
691+ PlatformVersion : "5.2.0" ,
692+ ZookeeperQuorum : "zookeeper:2181" ,
693+ PVC : "suse-observability-settings-backup-data" ,
692694 Job : JobConfig {
693695 Image : "settings-backup:latest" ,
694696 WaitImage : "wait:latest" ,
@@ -772,9 +774,10 @@ func TestConfig_StructValidation(t *testing.T) {
772774 S3Prefix : "" ,
773775 MultipartArchive : true ,
774776 Restore : StackgraphRestoreConfig {
775- ScaleDownLabelSelector : "app=stackgraph" ,
776- LoggingConfigConfigMapName : "logging-config" ,
777- ZookeeperQuorum : "zookeeper:2181" ,
777+ ScaleDownLabelSelector : "app=stackgraph" ,
778+ LoggingConfigConfigMapName : "logging-config" ,
779+ StsBackupConfigConfigMapName : "backup-config" ,
780+ ZookeeperQuorum : "zookeeper:2181" ,
778781 Job : JobConfig {
779782 Image : "backup:latest" ,
780783 WaitImage : "wait:latest" ,
@@ -829,12 +832,13 @@ func TestConfig_StructValidation(t *testing.T) {
829832 Bucket : "settings-backup" ,
830833 S3Prefix : "" ,
831834 Restore : SettingsRestoreConfig {
832- ScaleDownLabelSelector : "app=settings" ,
833- LoggingConfigConfigMapName : "logging-config" ,
834- BaseURL : "http://server:7070" ,
835- ReceiverBaseURL : "http://receiver:7077" ,
836- PlatformVersion : "5.2.0" ,
837- ZookeeperQuorum : "zookeeper:2181" ,
835+ ScaleDownLabelSelector : "app=settings" ,
836+ LoggingConfigConfigMapName : "logging-config" ,
837+ StsBackupConfigConfigMapName : "backup-config" ,
838+ BaseURL : "http://server:7070" ,
839+ ReceiverBaseURL : "http://receiver:7077" ,
840+ PlatformVersion : "5.2.0" ,
841+ ZookeeperQuorum : "zookeeper:2181" ,
838842 Job : JobConfig {
839843 Image : "settings-backup:latest" ,
840844 WaitImage : "wait:latest" ,
0 commit comments