Skip to content

Commit

Permalink
docs: Update Quickstart (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Raffy23 authored Jul 5, 2022
1 parent ca3b63e commit 47faa66
Showing 1 changed file with 10 additions and 6 deletions.
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
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 \
--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

0 comments on commit 47faa66

Please sign in to comment.