During testing, user may re-install Higress Standalone to the same Nacos instance. And all secrets stored in Nacos are encrypted using a key generated during installation.
Before the fix, we always re-generate the key during installation, which makes a secondly installed Higress fails to start due to unable decrypted existed configurations.
The fix removes the default key and skips the generation if the key is not empty.
During testing, user may re-install Higress Standalone to the same Nacos instance. And all secrets stored in Nacos are encrypted using a key generated during installation.
Before the fix, we always re-generate the key during installation, which makes a secondly installed Higress fails to start due to unable decrypted existed configurations.
The fix removes the default key and skips the generation if the key is not empty.