Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.10.x] Helm deployment pattern 2 #268

Merged
merged 16 commits into from
Nov 21, 2020
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion advanced/databases/mysql-is/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ apiVersion: v1
appVersion: "5.7"
description: A Helm chart for MySQL based deployment of WSO2 Identity And Access Management Datasources
name: mysql-is
version: 5.10.0-2
version: 5.10.0-3
icon: https://wso2.cachefly.net/wso2/sites/all/images/wso2logo.svg
13 changes: 12 additions & 1 deletion advanced/databases/mysql-is/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,26 @@ mysql:
DROP DATABASE IF EXISTS WSO2IS_IDENTITY_DB;
DROP DATABASE IF EXISTS WSO2IS_BPS_DB;
DROP DATABASE IF EXISTS WSO2IS_CONSENT_DB;
DROP DATABASE IF EXISTS WSO2_CLUSTER_DB;
DROP DATABASE IF EXISTS IS_ANALYTICS_DB;
DROP DATABASE IF EXISTS WSO2_PERSISTENCE_DB;

CREATE DATABASE WSO2IS_SHARED_DB;
CREATE DATABASE WSO2IS_IDENTITY_DB;
CREATE DATABASE WSO2IS_BPS_DB;
CREATE DATABASE WSO2IS_CONSENT_DB;
CREATE DATABASE WSO2_CLUSTER_DB;
CREATE DATABASE IS_ANALYTICS_DB;
CREATE DATABASE WSO2_PERSISTENCE_DB;

GRANT ALL ON WSO2IS_SHARED_DB.* TO 'wso2carbon'@'%' IDENTIFIED BY 'wso2carbon';
GRANT ALL ON WSO2IS_IDENTITY_DB.* TO 'wso2carbon'@'%' IDENTIFIED BY 'wso2carbon';
GRANT ALL ON WSO2IS_BPS_DB.* TO 'wso2carbon'@'%' IDENTIFIED BY 'wso2carbon';
GRANT ALL ON WSO2IS_CONSENT_DB.* TO 'wso2carbon'@'%' IDENTIFIED BY 'wso2carbon';

GRANT ALL ON WSO2_CLUSTER_DB.* TO 'wso2carbon'@'%' IDENTIFIED BY 'wso2carbon';
GRANT ALL ON IS_ANALYTICS_DB.* TO 'wso2carbon'@'%' IDENTIFIED BY 'wso2carbon';
GRANT ALL ON WSO2_PERSISTENCE_DB.* TO 'wso2carbon'@'%' IDENTIFIED BY 'wso2carbon';

USE WSO2IS_SHARED_DB;
CREATE TABLE IF NOT EXISTS REG_CLUSTER_LOCK (
REG_LOCK_NAME VARCHAR (20),
Expand Down
20 changes: 20 additions & 0 deletions advanced/is-pattern-2/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: v1
appVersion: "5.10.0"
description: A Helm chart for the deployment of WSO2 Identity And Access Management pattern 2
name: is-pattern-2
version: 5.10.0-3
icon: https://wso2.cachefly.net/wso2/sites/all/images/wso2logo.svg
285 changes: 285 additions & 0 deletions advanced/is-pattern-2/README.md

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions advanced/is-pattern-2/auth.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"auths": {
"reg.id": {
"username": "reg.username",
"password": "reg.password",
"email": "reg.email",
"auth": "reg.auth"
}
}
}
Loading