Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Commit 986466b

Browse files
committed
Add examples
1 parent 0add5e0 commit 986466b

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

.env.example

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Base domain
2+
DOMAIN=mygitpod.example.com
3+
4+
# Set the name of the GCP Project. If the project does not exists, it will create a new one.
5+
# https://cloud.google.com/resource-manager/docs/creating-managing-projects
6+
PROJECT_NAME=gitpod
7+
# Set details about the billing account
8+
# https://cloud.google.com/billing/docs/concepts
9+
BILLING_ACCOUNT=XXXXX-XXXXX-XXXXX
10+
11+
# Set the region of the cluster's control plane and nodes
12+
# https://cloud.google.com/kubernetes-engine/docs/concepts/regional-clusters
13+
REGION=us-central1
14+
# Set the zones in the region.
15+
# By default (empty value) it will distribute the nodes in the region (at least three zones)
16+
# https://cloud.google.com/compute/docs/regions-zones#available
17+
ZONES=
18+
19+
# The name of the GKE cluster
20+
CLUSTER_NAME=gitpod
21+
# Set if we wan to use Preemptible nodes
22+
# Preemptible VMs are Compute Engine VM instances that last a maximum of 24 hours in general.
23+
# https://cloud.google.com/kubernetes-engine/docs/how-to/preemptible-vms
24+
PREEMPTIBLE=false
25+
26+
# The email address for cert-manager wildcard SSL certificate
27+
LETSENCRYPT_EMAIL=my@email
28+
# Set if we want to use Cloud DNS to manage the DNS service.
29+
# https://cloud.google.com/dns
30+
SETUP_MANAGED_DNS=true
31+
32+
# The name of the Cloud SQL - Mysql instance for Gitpod.
33+
# If the instance already exists, we will create a new Gitpod database and user.
34+
# https://cloud.google.com/sql
35+
MYSQL_INSTANCE_NAME=gitpod
36+
37+
# The name of the GCS bucket where the container images that gitpod creates are stored
38+
# If there is no value we create a new bucket with the name "container-registry-<cluster name>-<account ID>"
39+
CONTAINER_REGISTRY_BUCKET=
40+
41+
# The path to the file containing the credentials to pull images from private container registries.
42+
# https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
43+
IMAGE_PULL_SECRET_FILE=
44+
45+
# List of registries (hostnames) that users get access to by default allowed to be used in base images.
46+
# Default: only images from docker.io
47+
IMAGE_REGISTRY_WHITELIST=

auth-providers-patch.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
data:
2+
# Please check the documentation for details the expected format
3+
# https://www.gitpod.io/docs/self-hosted/0.5.0/install/oauth
4+
auth-providers.json: |
5+
[
6+
{
7+
"id": "Public-GitHub",
8+
"host": "github.com",
9+
"type": "GitHub",
10+
"oauth": {
11+
"clientId": "XXXXXXXXXXXXXXXXXX",
12+
"clientSecret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
13+
"callBackUrl": "https://aws.<my domain>/auth/github/callback",
14+
"settingsUrl": "https://mygithub.com/settings/applications/<application ID>"
15+
},
16+
"description": "",
17+
"icon": ""
18+
}
19+
]

0 commit comments

Comments
 (0)