Pretty massive overhaul so that generated charts follow better current iterations (including making use of subcharts etc...)
This commit is contained in:
parent
826b9a7198
commit
37baf7e410
17 changed files with 2240 additions and 735 deletions
1
test/.gitignore
vendored
Normal file
1
test/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
real-values
|
||||
97
test/non-input-json/random.json
Normal file
97
test/non-input-json/random.json
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
{
|
||||
"chart": {
|
||||
"apiVersion": "v2",
|
||||
"appVersion": "1.0.0",
|
||||
"description": "A Helm chart for deploying <service name>.",
|
||||
"homepage": "<Helm Chart Homepage>",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "<Author Name>",
|
||||
"email": "<Author Email>"
|
||||
}
|
||||
],
|
||||
"name": "<Helm Chart Name>",
|
||||
"sources": [
|
||||
"<Helm Chart Source>"
|
||||
],
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"image": {
|
||||
"repository": "<Registry URL (if applicable)>/<Image Name>",
|
||||
"pullPolicy": "IfNotPresent"
|
||||
},
|
||||
"ingress": {
|
||||
"hostname": "<DNS Name Where The App Will Be Hosted>"
|
||||
},
|
||||
"db": {
|
||||
"name": "<Database Name>",
|
||||
"host": "<Database Host>",
|
||||
"user": "<Database User>",
|
||||
"password": "<Database Password>"
|
||||
},
|
||||
"vault": {
|
||||
"image": {
|
||||
"repository": "<Vault Image Repository>",
|
||||
"tag": "<Vault Image Tag>"
|
||||
},
|
||||
"hostname": "<DNS Name where the vault will be hosted>",
|
||||
"storageClass": "<Storage Class Name>",
|
||||
"policyCapabilities": [
|
||||
"create",
|
||||
"read",
|
||||
"update",
|
||||
"delete",
|
||||
"list"
|
||||
]
|
||||
},
|
||||
"nosql": {
|
||||
"dbName": "<NoSQL Database Name>",
|
||||
"user": "<NoSQL Database User>",
|
||||
"password": "<NoSQL Database Password>",
|
||||
"groupings": {
|
||||
"<Table Environment Variable Name>": {
|
||||
"name": "<Table Intermediate Name (used in Helm template files)>",
|
||||
"value": "<Actual Table Name>"
|
||||
}
|
||||
}
|
||||
},
|
||||
"cache": {
|
||||
"password": "<Cache Password>"
|
||||
},
|
||||
"logging": {
|
||||
"username": "<Log Aggregator Username>",
|
||||
"password": "<Log Aggregator Password>"
|
||||
},
|
||||
"oauth": {
|
||||
"baseAppUrl": "<Base URL of the App>",
|
||||
"appAbbreviation": "<App Abbreviation>",
|
||||
"appName": "<App Name>",
|
||||
"serviceName": "<Service Name>",
|
||||
"devPort": "<Dev Port>",
|
||||
"clientId": "",
|
||||
"clientSecret": ""
|
||||
},
|
||||
"thirdPartyServices": {
|
||||
"<service-name>": {
|
||||
"<key>": "<value>"
|
||||
}
|
||||
},
|
||||
"extraEnvVars": {
|
||||
"<Sensitive Environment Variable Name>": {
|
||||
"type": "Secret",
|
||||
"name": "{{ .Release.Name }}-<Sensitive Value Name (ex. private-token, etc...)>",
|
||||
"key": "<Key Used Within The Secret (ex. token, etc...)>",
|
||||
"description": "<Description Of The Environment Variable>",
|
||||
"value": "<Value for the Environment Variable>"
|
||||
},
|
||||
"<Configurable Environment Variable Name>": {
|
||||
"type": "ConfigMap",
|
||||
"name": "{{ .Release.Name }}-<Configurable Value Name (ex. external-service-host, etc...)>",
|
||||
"key": "<Key Used Within The ConfigMap (ex. extern-host, etc...)>",
|
||||
"description": "<Description Of The Environment Variable>",
|
||||
"value": "<Value for the Environment Variable>"
|
||||
},
|
||||
"<Environment Variable Name>": "'<Quoted Value>'"
|
||||
},
|
||||
"registry": "<Helm Registry URL to publish to (if applicable)>"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue