Any ideas how to address this issue - Authentication Issue?

I am using a managed cluster and running into this error when deploying using my pipeline:

This is an excerpt from my pipeline log.
Run if kubectl get secret ghcr-secret --namespace=buzzbrain-namespace; then
if kubectl get secret ghcr-secret --namespace=buzzbrain-namespace; then
kubectl delete secret ghcr-secret --namespace=buzzbrain-namespace
fi
shell: /usr/bin/bash -e {0}

E0726 22:20:17.871655 3215 memcache.go:265] couldn’t get current server API group list: the server has asked for the client to provide credentials
E0726 22:20:18.050997 3215 memcache.go:265] couldn’t get current server API group list: the server has asked for the client to provide credentials
E0726 22:20:18.226039 3215 memcache.go:265] couldn’t get current server API group list: the server has asked for the client to provide credentials
E0726 22:20:18.520933 3215 memcache.go:265] couldn’t get current server API group list: the server has asked for the client to provide credentials
E0726 22:20:18.669413 3215 memcache.go:265] couldn’t get current server API group list: the server has asked for the client to provide credentials
error: You must be logged in to the server (the server has asked for the client to provide credentials)

Have you tried the suggestions from stackoverflow?