Site linking

Using kubectl to generate an access token from an access grant

kubectl -n sk1 get accessgrant/<grant-name> -o template --template '
apiVersion: skupper.io/v2alpha1
kind: AccessToken
metadata:
  name: <token-name>
spec:
  code: "{{ .status.code }}"
  ca: {{ printf "%q" .status.ca }}
  url: "{{ .status.url }}"
' > token.yaml