mvdheijkant
Dabbler
- Joined
- Feb 19, 2023
- Messages
- 10
I'm trying to follow the upgrade plan for CNPG Operator on this page https://truecharts.org/manual/SCALE/guides/cnpg-migration-guide
I'm not that experienced with truenas and consider myself a beginner.
So I wanted to try and follow the guide and do only the first nondestructive actions, to gain a bit more confidence to follow through.
But already after running bash tcdbinfo.sh I get the error below.
Is this a common issue when running this script, and how can I resolve this.
admin@truenas[/mnt/tank/appconfig/pgadmin]$ bash tcdbinfo.sh
WARN[0000] Unable to read /etc/rancher/k3s/k3s.yaml, please start server with --write-kubeconfig-mode to modify kube config permissions
error: error loading config file "/etc/rancher/k3s/k3s.yaml": open /etc/rancher/k3s/k3s.yaml: permission denied
WARN[0000] Unable to read /etc/rancher/k3s/k3s.yaml, please start server with --write-kubeconfig-mode to modify kube config permissions
error: error loading config file "/etc/rancher/k3s/k3s.yaml": open /etc/rancher/k3s/k3s.yaml: permission denied
Application Username Password Address Port
..svc.cluster.local
I'm not that experienced with truenas and consider myself a beginner.
So I wanted to try and follow the guide and do only the first nondestructive actions, to gain a bit more confidence to follow through.
But already after running bash tcdbinfo.sh I get the error below.
Is this a common issue when running this script, and how can I resolve this.
admin@truenas[/mnt/tank/appconfig/pgadmin]$ bash tcdbinfo.sh
WARN[0000] Unable to read /etc/rancher/k3s/k3s.yaml, please start server with --write-kubeconfig-mode to modify kube config permissions
error: error loading config file "/etc/rancher/k3s/k3s.yaml": open /etc/rancher/k3s/k3s.yaml: permission denied
WARN[0000] Unable to read /etc/rancher/k3s/k3s.yaml, please start server with --write-kubeconfig-mode to modify kube config permissions
error: error loading config file "/etc/rancher/k3s/k3s.yaml": open /etc/rancher/k3s/k3s.yaml: permission denied
Application Username Password Address Port
..svc.cluster.local