-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
4.16
-
None
-
Important
-
Yes
-
False
-
Description of problem:
For some reason the changing on the PR https://github.com/openshift/console/pull/11890 has been overrided Issue: Secret created for java Keystore changing its base64 value inside secret when we edit that secret from the console and saving it again without doing any changes
Version-Release number of selected component (if applicable):
4.16.0-0.nightly-2024-04-16-195622
How reproducible:
Always
Steps to Reproduce:
1.Create a dummy Java keystore for the test $ keytool -genkey -v -keystore original.jks -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 2.Create a secret on the test project using a java key-store file $ oc create secret generic test1 --from-file=data1=./original.jks 3. Check the secret, and take a backup. $ oc get secret test1 -o yaml > secret1.yaml 4. Open OCP console, Go to Workload-->Secret-->Select project-->Click on test1 secret-->Action-->Edit secret-->Save it without changing anything Or Go to the Scrects page -> Click the Kebab button of the test1 secret -> choose "Edit secret" -> Save without change anything 5. Check the secret again, and compare it with the original one. $ oc get secret test1 -o yaml > secret2.yaml 6. $diff secret1.yaml secret2.yaml
Actual results:
The value for key data1 is changing.
Expected results:
The value for key data1 should remain the same.
Additional info:
- is duplicated by
-
OCPBUGS-36173 Secret key with binary file changes when edited via Console
- POST