Skip to content

Commit

Permalink
refactor: Apply suggestions from review
Browse files Browse the repository at this point in the history
Signed-off-by: Raphael Ludwig <[email protected]>
  • Loading branch information
Raffy23 committed Jul 5, 2022
1 parent 4316cac commit f4e2ac2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ instance:
#!/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 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 @@ -39,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 @@ -60,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 f4e2ac2

Please sign in to comment.