Skip to content

Commit

Permalink
Improve INSTALL.kind.md
Browse files Browse the repository at this point in the history
Co-authored-by: Georgi Sabev <[email protected]>
  • Loading branch information
gcapizzi and georgethebeatle committed Jul 19, 2023
1 parent 167d02a commit ae8ad1f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions INSTALL.kind.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ BASE_DOMAIN="apps-127-0-0-1.nip.io"
In order to access the Korifi API, we'll need to [expose the cluster ingress locally](https://kind.sigs.k8s.io/docs/user/ingress/). To do it, create your kind cluster using a command like this:

```sh
cat <<EOF | kind create cluster --config=-
cat <<EOF | kind create cluster --name korifi --config=-
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
Expand Down Expand Up @@ -57,7 +57,6 @@ Make sure you pass the following flags to the Metrics Server container (see [_Co

No changes here, follow the [common instructions](./INSTALL.md#pre-install-configuration).
For the container registry credentials `Secret`, we recommend you [create an access token](https://hub.docker.com/settings/security?generateToken=true) on DockerHub.
Remember to set `global.generateIngressCertificates` to `true` if you want to use self-signed TLS certificates.

## Install Korifi

Expand All @@ -67,6 +66,8 @@ If using DockerHub as recommended above, set the following values:
- `kpackImageBuilder.builderRepository`: `index.docker.io/<username>/kpack-builder`;
- `global.containerRepositoryPrefix`: `index.docker.io/<username>/`;

Remember to set `global.generateIngressCertificates` to `true` if you want to use self-signed TLS certificates.

If `$KORIFI_NAMESPACE` doesn't exist yet, you can add the `--create-namespace` flag to the `helm` invocation.

## Post-install Configuration
Expand All @@ -76,4 +77,4 @@ Yon can skip this section.
## Test Korifi

No changes here, follow the [common instructions](./INSTALL.md#test-korifi).
When running `cf login`, make sure you select the entry associated to your kind cluster (`kind-kind` by default).
When running `cf login`, make sure you select the entry associated to your kind cluster (`kind-korifi` in our case).

0 comments on commit ae8ad1f

Please sign in to comment.