-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: helm deploy for initial mongodb script
- Loading branch information
Showing
32 changed files
with
368 additions
and
137 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
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
Submodule rengine-ui
updated
from 8ced30 to 5955e6
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 |
---|---|---|
|
@@ -31,6 +31,7 @@ spring: | |
## see:org.springframework.boot.autoconfigure.data.mongo.MongoDatabaseFactoryDependentConfiguration | ||
## see:org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration | ||
## see:org.springframework.data.mongodb.config.AbstractMongoClientConfiguration#mongoTemplate | ||
## see:https://www.mongodb.com/community/forums/t/mongodb-authentication-failed-with-spring-data-uri/109256/13 | ||
mongodb: | ||
#uri: ${RENGINE_DB_URI:mongodb+srv://rengine:[email protected]/rengine} | ||
uri: ${RENGINE_DB_URI:mongodb://localhost:27017/rengine} | ||
|
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,34 @@ | ||
## Copyright 2017 ~ 2025 the original authors James Wong<[email protected]>. | ||
## | ||
## 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. | ||
## | ||
|
||
FROM busybox:1.28 | ||
|
||
LABEL maintainer="James Wong<[email protected]>" \ | ||
description="Rengine is a cloud native, distributed, generic rule engine platform." \ | ||
repoName=${REPO_NAME} \ | ||
branch=${BRANCH} \ | ||
pr=${PR} \ | ||
tag=${TAG} \ | ||
commit=${COMMIT_ID} \ | ||
buildTime=${BUILD_TIME} \ | ||
buildURL=${BUILD_URL} | ||
|
||
ARG APP_VERSION | ||
ENV APP_VERSION=${APP_VERSION} | ||
|
||
## Note: It should be placed in the initdb dir, because the standard k8s pod volumeMount is the mount directory by default. | ||
COPY tools/db/rengine_init.js /initdb/rengine_init.js | ||
|
||
ENTRYPOINT [ "/bin/sh", "-c" ] |
Oops, something went wrong.