-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RORDEV-616] simplified ECK example (#1036)
- Loading branch information
Showing
10 changed files
with
140 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
#!/bin/bash -e | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
cd "$(dirname "$0")" | ||
|
||
kind delete cluster --name ror-eck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
#!/bin/bash -e | ||
|
||
kubectl create -f https://download.elastic.co/downloads/eck/2.10.0/crds.yaml | ||
kubectl apply -f https://download.elastic.co/downloads/eck/2.10.0/operator.yaml | ||
cd "$(dirname "$0")" | ||
|
||
if [[ -z "$ECK_VERSION" ]]; then | ||
echo "ECK_VERSION is not defined" | ||
exit 1 | ||
fi | ||
|
||
kubectl create -f "https://download.elastic.co/downloads/eck/$ECK_VERSION/crds.yaml" | ||
kubectl apply -f "https://download.elastic.co/downloads/eck/$ECK_VERSION/operator.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: admin-password-secret | ||
type: Opaque | ||
data: | ||
ADMIN_PASSWORD: YWRtaW4= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
# README | ||
|
||
0. Requirements: | ||
* docker installed | ||
* kind tool installed (https://github.com/kubernetes-sigs/kind) | ||
|
||
1. Running the ECK+ROR PoC: `$ ./eck-ror-bootstrap.sh` | ||
## Requirements: | ||
* docker installed | ||
* kind tool installed (https://github.com/kubernetes-sigs/kind) | ||
|
||
## RUNNING | ||
1. Running the ECK+ROR PoC: `$ ./eck-ror-bootstrap.sh --es <ES_VESION> --kbn <KBN_VERSION>` | ||
(you can pick ECK version by adding optional --eck <ECK_VERSION> param) | ||
|
||
2. Log into Kibana `https://localhost:15601` using given credentials: | ||
* `admin:admin` (admin user) | ||
* `user1:test` (RO user) | ||
|
||
3. Clean after playing with the PoC: `$ ./eck-ror-cleanup.sh` | ||
|
||
## CUSTOMIZING | ||
* if you have a PRO or ENTERPRISE ROR license (you can obtain one in [Customer Portal](https://readonlyrest.com/customer)) you | ||
can set it in `kind-cluster/ror/kbn.yml` | ||
* initial ROR settings (when you have a PRO or ENTERPRISE ROR license you can change the ROR settings in the Admin UI) | ||
can be changed in `kind-cluster/ror/ror-initial-config.yml` |