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

docs: Update Quickstart #7

Merged
merged 2 commits into from
Jul 5, 2022
Merged
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
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,18 @@ in Gitea. This is done by utilizing the extension points for [automatic git prov
instance:
```bash
#!/bin/bash
VERSION=0.1.0
NAMESPACE=default
TannerGabriel marked this conversation as resolved.
Show resolved Hide resolved
GITEA_ENDPOINT="http://gitea-http.${NAMESPACE}:3000/"
GITEA_ADMIN_USERNAME=#Define a username for the admin
GITEA_ADMIN_PASSWORD=#Define a password for the admin

helm install -n ${NAMESPACE} keptn-gitea-provisioner-service chart/ \
--set admin.create=true \
--set admin.username=${GITEA_ADMIN_USERNAME} \
--set admin.password=${GITEA_ADMIN_PASSWORD}
helm install keptn-gitea-provisioner-service https://github.com/keptn-sandbox/keptn-gitea-provisioner-service/releases/download/${VERSION}/keptn-gitea-provisioner-service-${VERSION}.tgz \
Raffy23 marked this conversation as resolved.
Show resolved Hide resolved
--set gitea.admin.create=true \
--set gitea.admin.username=${GITEA_ADMIN_USERNAME} \
--set gitea.admin.password=${GITEA_ADMIN_PASSWORD} \
--set gitea.endpoint=${GITEA_ENDPOINT} \
--wait

```

Expand All @@ -37,7 +41,7 @@ instance:
* If there is no Gitea instance installed, an appropriate instance can be created with the following bash script:
```bash
#!/bin/bash
NAMESPACE=default
NAMESPACE=default #Should be configured to match the GITEA_ENDPOINT environment variable when installing the provisioner

# Add the gitea helm charts and install gitea to the cluster
helm repo add gitea-charts https://dl.gitea.io/charts/
Expand All @@ -58,7 +62,7 @@ instance:
#!/bin/bash
NAMESPACE=default

helm upgrade -n keptn keptn \
helm upgrade -n keptn keptn keptn/keptn \
--set "control-plane.features.automaticProvisioningURL=http://keptn-gitea-provisioner-service.${NAMESPACE}"
```

Expand Down