Skip to content

Commit

Permalink
fix: log warning url format
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen committed Dec 7, 2023
1 parent 10e38dc commit ed3e181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ func updateCluster(ctx context.Context, kube *kubernetes.Clientset, config *Conf
logrus.Warn("cluster is not verified")
logrus.Warn("to verify your cluster you need to update your cluster configuration")
logrus.Warn("please add the following arguments to your kube-apiserver")
logrus.Warn("--service-account-issuer=https://oidc.fides.ekristen.dev/c/%s", config.ClusterID)
logrus.Warn("--service-account-jwks-uri=https://oidc.fides.ekristen.dev/c/%s/jwks", config.ClusterID)
logrus.Warnf("--service-account-issuer=https://oidc.fides.ekristen.dev/c/%s", config.ClusterID)
logrus.Warnf("--service-account-jwks-uri=https://oidc.fides.ekristen.dev/c/%s/jwks", config.ClusterID)
}
default:
logrus.WithField("data", string(data)).WithField("status", res.StatusCode).Error("unknown status code")
Expand Down

0 comments on commit ed3e181

Please sign in to comment.