Hi

Just an observation but on your second command you have not referred to the 
namespace. Should probably be:

kubectl get secret -n onap dev-sdnc-secret-0 -o yaml > dev-sdnc-secret-0.yaml

For the first command I would assume it needs to be --export not -export.

Regards
________________________________
From: [email protected] <[email protected]> on behalf of 
Sundara R. K (Nokia) via lists.onap.org <[email protected]>
Sent: Tuesday, April 11, 2023 5:18 PM
To: Wad <[email protected]>; [email protected] 
<[email protected]>
Subject: Re: [onap-discuss] [Post Configuration Issue] ONAP Jakarta release - 
Netconf deployment issue #jakarta

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 (#24392): https://lists.onap.org/g/onap-discuss/message/24392
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