DSL Specification
In the values.yaml
file, under the dsl
field it is possible to configure both standard and pe (personalized) DSLs.
To define custom DSLs, a new element must be added to the dsl.pe
array.
The YAML spec for a custom DSL is the following:
# (required) the DSL name - must be unique
- name: kokos-dsl-smeupspa
# (required) the DSL repository URL
repo: https://github.com/smeup/kokos-dsl-smeupspa
# (required) the DSL repository branch - can also be a release tag
branch: develop
# (optional) Override the defaultAuthKey for this DSL repository
keyOverride:
# (optional) Override the directory name (default is $name-$branch)
dirNameOverride:
In the following example two custom DSLs are configured alongside the standard DSL. The first one uses the defaultApiKey
, while the second one has a specific APIKEY for that DSL only.
# -- Kokos DSL configurations
# @default -- See `values.yaml`
dsl:
# -- Default APIKey or PAT to authenticate to the DSL repositories
defaultApiKey: xxx-my-github-apikey-xxx
# -- Personal DSL repository configurations
# @default -- See `values.yaml`
pe:
- name: kokos-dsl-smeupspa
repo: https://github.com/smeup/kokos-dsl-smeupspa
branch: develop
- name: kokos-dsl-example
repo: https://github.com/example/kokos-dsl-example
branch: 1.0.0
keyOverride: xxx-override-api-key-xxx