Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self hosted documentation changes #12689

Merged
merged 2 commits into from
Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions install/infra/single-cluster/gcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,20 @@ gcloud auth activate-service-account --key-file=/path/to/account/key.json
gcloud container clusters get-credentials <cluster_name> --region <region> --zone <zone> --project <project>
```

### Failed to install helm charts to the cluster

If you see errors like:

```
Error: clusterroles.rbac.authorization.k8s.io is forbidden: User "xxxxx@developer.gserviceaccount.com" cannot create resource "clusterroles" in API group "rbac.authorization.k8s.io" at the cluster scope: requires one of ["container.clusterRoles.create"] permission(s).
│ with module.certmanager.helm_release.cert,
│ on ../../modules/tools/cert-manager/main.tf line 17, in resource "helm_release" "cert":
│ 17: resource "helm_release" "cert" {
```
After running `make apply`, ensure that the service account you are using has the `Kubernetes Engine Admin` role. See the [GCP IAM documentation](https://cloud.google.com/iam/docs/granting-changing-revoking-access) to learn how to associate roles with a service account.

## Cleanup

Make sure you first delete the `gitpod` resources in the cluster so things like load balancer created by the k8s `service` gets deleted. Otherwise terraform will not be able to delete the VPC.
Expand Down
2 changes: 1 addition & 1 deletion install/kots/manifests/kots-preflight.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ spec:
when: == openshift
message: OpenShift is not supported
- pass:
message: The cluster is using a support distribution
message: The cluster is using a supported distribution
- nodeResources:
checkName: At least one node must "gitpod.io/workload_meta" label
filters:
Expand Down