Hi Wad,

Thanks for  your suggestion.

We tried to export the secret as per your suggestion. But it throws error as 
below.

root@onap04-helper-vm:~# kubectl get secret dev-sdnc-secret-0 -export -o yaml > 
dev-sdnc-secret-0.yaml
Error: unknown shorthand flag: 'e' in -export
See 'kubectl get --help' for usage.
root@onap04-helper-vm:~#

So we tried directly with below command, but it is showing secret not found
root@onap04-helper-vm:~# kubectl get secret dev-sdnc-secret-0 -o yaml > 
dev-sdnc-secret-0.yaml
Error from server (NotFound): secrets "dev-sdnc-secret-0" not found
root@onap04-helper-vm:~#

But actually when we check secret is available only.
root@onap04-helper-vm:~# kubectl get secret dev-sdnc-secret-0 -n onap
NAME                TYPE                DATA   AGE
dev-sdnc-secret-0   kubernetes.io/tls   5      27h

Can you please advise.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24390): https://lists.onap.org/g/onap-discuss/message/24390
Mute This Topic: https://lists.onap.org/mt/97822023/21656
Mute #jakarta:https://lists.onap.org/g/onap-discuss/mutehashtag/jakarta
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to