forked from joeferner/redis-commander
-
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.
update helm chart on creation of local config file from config map, j…
…oeferner#552 joeferner#543 Signed-off-by: Stefan Seide <account-github@seide.st>
- Loading branch information
Showing
13 changed files
with
148 additions
and
121 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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
# example definition of a more complex json configuration files to mount it into the docker container via | ||
# helm chart - everything from the "local_production_json" key is written into the configmap generated by helm | ||
# and mounted as a file into the container from the configmap | ||
# | ||
# The data are written as file "local-production-docker.json" to not overwrite the file "local-production.json" | ||
# that gets create from within the docker startup script. Redis commander first evaluates the "local-production.json" | ||
# and afterward "local-production-docker.json" - keys defined here overwrite settings from "local-production.json". | ||
# | ||
# this example defines all data to write into the "local_production.json" file as JSON - the | ||
# data are written as-is into the config file without any conversion | ||
connections: | ||
local_production_json: >- | ||
{ | ||
"noSave": false, | ||
"noLogData": false, | ||
"ui": { | ||
"foldingChar": "|" | ||
}, | ||
"redis": { | ||
"readOnly": true | ||
}, | ||
"server": { | ||
"clientMaxBodySize": "500kb", | ||
"httpAuth": { | ||
"username": "the-user", | ||
"password": "is-secret" | ||
} | ||
}, | ||
"connections": [ | ||
{ | ||
"label": "redis-sentinel-service-x", | ||
"sentinels": "19.94.12.11:26379, 19.94.12.12:26379", | ||
"sentinelName": "mymaster", | ||
"dbIndex": 0 | ||
}, | ||
{ | ||
"label": "redis-sentinel-service-y", | ||
"sentinels": "20.20.12.11:26379", | ||
"sentinelName": "mymaster", | ||
"dbIndex": 0 | ||
}, | ||
{ | ||
"label": "redis-server-service-xz", | ||
"host": "19.94.12.11", | ||
"port": "6379", | ||
"dbIndex": 0 | ||
} | ||
] | ||
} |
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,37 @@ | ||
--- | ||
# example definition of a more complex json configuration files to mount it into the docker container via | ||
# helm chart - everything from the "local_production_json" key is written into the configmap generated by helm | ||
# and mounted as a file into the container from the configmap | ||
# | ||
# The data are written as file "local-production-docker.json" to not overwrite the file "local-production.json" | ||
# that gets create from within the docker startup script. Redis commander first evaluates the "local-production.json" | ||
# and afterward "local-production-docker.json" - keys defined here overwrite settings from "local-production.json". | ||
# | ||
# this example defines all data to write into the "local-production-docker.json" file as YAML object | ||
# this YAML is converted into JSON before writing it into the docker container as JSON config file | ||
connections: | ||
local_production_json: | ||
noSave: false | ||
noLogData: false | ||
ui: | ||
foldingChar: "|" | ||
redis: | ||
readOnly: true | ||
server: | ||
clientMaxBodySize: "500kb" | ||
httpAuth: | ||
username: "the-user" | ||
password: "is-secret" | ||
connections: | ||
- label: "redis-sentinel-service-x" | ||
sentinels: "19.94.12.11:26379, 19.94.12.12:26379" | ||
sentinelName: "mymaster" | ||
dbIndex: 0 | ||
- label: "redis-sentinel-service-y" | ||
sentinels: "20.20.12.11:26379" | ||
sentinelName: "mymaster" | ||
dbIndex": 0 | ||
- label: "redis-server-service-xz" | ||
host: "19.94.12.11" | ||
port: "6379" | ||
dbIndex: 0 |
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