-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor env spec definitions loading from instead of hard-coding them.
- Loading branch information
1 parent
e7c0a6b
commit 4cc5606
Showing
22 changed files
with
1,176 additions
and
592 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
apiVersion: runme.stateful.com/v1beta1 | ||
kind: EnvSpecDefinitions | ||
metadata: | ||
name: runme | ||
namespace: stateful | ||
annotations: | ||
github.com/repo-url: https://github.com/stateful/runme | ||
spec: | ||
type: owl | ||
envSpecs: | ||
- name: Auth0 | ||
breaker: AUTH0 | ||
atomics: | ||
- key: AUDIENCE | ||
atomic: Plain | ||
rules: url | ||
required: true | ||
- key: CLIENT_ID | ||
atomic: Secret | ||
rules: alphanum,min=32,max=32 | ||
required: true | ||
- key: DOMAIN | ||
atomic: Secret | ||
rules: fqdn | ||
required: true | ||
- key: COOKIE_DOMAIN | ||
atomic: Secret | ||
rules: min=8 | ||
required: true | ||
- name: Auth0Mgmt | ||
breaker: AUTH0_MANAGEMENT | ||
atomics: | ||
- key: CLIENT_ID | ||
atomic: Plain | ||
rules: alphanum,min=32,max=32 | ||
required: true | ||
- key: CLIENT_SECRET | ||
atomic: Secret | ||
rules: ascii,min=64,max=64 | ||
required: true | ||
- key: AUDIENCE | ||
atomic: Plain | ||
rules: url | ||
required: true | ||
- name: DatabaseUrl | ||
breaker: DATABASE | ||
atomics: | ||
- key: URL | ||
atomic: Secret | ||
rules: database_url | ||
required: true | ||
- name: OpenAI | ||
breaker: OPENAI | ||
atomics: | ||
- key: ORG_ID | ||
atomic: Opaque | ||
rules: ascii,min=28,max=28,startswith=org- | ||
required: true | ||
- key: API_KEY | ||
atomic: Secret | ||
rules: ascii,min=34,startswith=sk- | ||
required: true | ||
- name: Redis | ||
breaker: REDIS | ||
atomics: | ||
- key: HOST | ||
atomic: Plain | ||
rules: ip|hostname | ||
required: true | ||
- key: PORT | ||
atomic: Plain | ||
rules: number | ||
required: true | ||
- key: PASSWORD | ||
atomic: Password | ||
rules: min=18,max=32 | ||
required: false | ||
- name: Slack | ||
breaker: SLACK | ||
atomics: | ||
- key: CLIENT_ID | ||
atomic: Plain | ||
rules: min=24,max=24 | ||
required: true | ||
- key: CLIENT_SECRET | ||
atomic: Secret | ||
rules: min=32,max=32 | ||
required: true | ||
- key: REDIRECT_URL | ||
atomic: Secret | ||
rules: url | ||
required: true | ||
- name: UserHub | ||
breaker: USERHUB | ||
atomics: | ||
- key: WEBHOOK_SECRET | ||
atomic: Secret | ||
rules: min=8,max=64 | ||
required: true | ||
- key: CONN_PROVIDER_ID | ||
atomic: Plain | ||
rules: | ||
required: true | ||
- key: SKIP_CONNECTION | ||
atomic: Plain | ||
rules: | ||
required: false | ||
- key: API_KEY | ||
atomic: Secret | ||
rules: min=16,max=64 | ||
required: true |
Oops, something went wrong.