Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

Document account variable and Minio endpoint warning #2183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions setup/install/providers/kubernetes-v2/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ CONTEXT=$(kubectl config current-context)
# This service account uses the ClusterAdmin role -- this is not necessary,
# more restrictive roles can by applied.
kubectl apply --context $CONTEXT \
-f https://www.spinnaker.io/downloads/kubernetes/service-account.yml
-f https://spinnaker.io/downloads/kubernetes/service-account.yml

TOKEN=$(kubectl get secret --context $CONTEXT \
$(kubectl get serviceaccount spinnaker-service-account \
Expand Down Expand Up @@ -206,8 +206,8 @@ Then add the account:

```bash
CONTEXT=$(kubectl config current-context)

hal config provider kubernetes account add my-k8s-account \
ACCOUNT="my-k8s-account"
hal config provider kubernetes account add $ACCOUNT \
--context $CONTEXT
```

Expand Down
4 changes: 3 additions & 1 deletion setup/install/storage/minio.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ hal config storage edit --type s3
```

## Notes
> :warning: Unless you've configured Minio to [support virtual-host-style requests](https://docs.min.io/docs/minio-server-configuration-guide.html#Domain), you need to enable the path-style access mode: `hal config storage s3 edit --path-style-access true`. Otherwise, Front50 will fail with `java.net.UnknownHostException: $BUCKET_NAME.localhost` exceptions.

> :warning: Unless you've configured Minio to [support virtual-host-style requests](https://docs.min.io/docs/minio-server-configuration-guide.html#Domain), you need to enable the path-style access mode: `hal config storage s3 edit --path-style-access true`. Otherwise, Front50 will fail with `java.net.UnknownHostException: $BUCKET_NAME.localhost` exceptions.
> :warning: If you use Distributed installation and Front50 is in the crash loop, please set the endpoint as a Minio address instead of localhost.

## Next steps

Expand Down