Created
March 22, 2024 05:59
-
-
Save prembhaskal/77745d916d14df838969d217b1304f24 to your computer and use it in GitHub Desktop.
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
#@ load("@ytt:data", "data") | |
--- | |
top: #@ data.values | |
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
#! For best results, declare functions *before* the schema document. | |
#@ def default_dbs(): | |
- name: core | |
host: coredb | |
user: app1 | |
- name: audit | |
host: metrics.svc.local | |
user: observer | |
#@ end | |
#@data/values-schema | |
--- | |
#@schema/default ["apps.example.com", "gateway.example.com"] | |
app_domains: | |
- "" | |
#@schema/default default_dbs() | |
databases: | |
- name: "" | |
adapter: postgresql | |
host: "" | |
port: 5432 | |
user: admin | |
secretRef: | |
name: "" | |
#@schema/nullable | |
aws: | |
username: admin | |
password: "1234" | |
name: "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment