-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from datainfrahq/basic-auth
add basic auth support in cp
- Loading branch information
Showing
24 changed files
with
832 additions
and
36 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,54 @@ | ||
### Getting Started With Auth Enabled Cluster | ||
|
||
- Control Plane supports basic auth only. | ||
|
||
#### Export your StorageClassName | ||
``` | ||
export STORAGE_CLASS_NAME=standard | ||
``` | ||
|
||
#### Install Pinot Control Plane | ||
``` | ||
make helm-install-pinot-control-plane | ||
``` | ||
|
||
#### Install Zookeeper Opoerator and CR | ||
``` | ||
make helm-install-zk-operator | ||
``` | ||
|
||
### Install Pinot Cluster | ||
|
||
``` | ||
envsubst < examples/04-pinot-auth/pinotauth-basic.yaml | kubectl apply -f - -n pinot | ||
``` | ||
|
||
### Create a K8 secret in the namespace where pinot cluster is deployed | ||
|
||
|
||
- add secrets to file, the following secrets needs to be same as mentioned | ||
in pinot controller properties. | ||
``` | ||
cat << EOF > pinot-control-plane-secret | ||
CONTROL_PLANE_USERNAME=controlplane | ||
CONTROL_PLANE_PASSWORD=controlplane | ||
EOF | ||
``` | ||
|
||
- create secret | ||
|
||
``` | ||
kubectl create secret generic pinot-control-plane-secret --from-env-file=pinot-control-plane-secret -n pinot | ||
``` | ||
|
||
### create schema | ||
|
||
``` | ||
kubectl apply -f examples/04-pinot-auth/pinotauth-schema.yaml -n pinot | ||
``` | ||
|
||
### create table | ||
|
||
``` | ||
kubectl apply -f examples/04-pinot-auth/pinotauth-table.yaml -n pinot | ||
``` |
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
Oops, something went wrong.