Skip to content

Commit f7c62a2

Browse files
author
Maurice Faber
committed
fix: missing files
1 parent 2059aa7 commit f7c62a2

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

src/openapi/definitions.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,11 @@ secret:
400400
type: object
401401
secrets:
402402
description: A list of team secrets that will be mounted into the knative service as env vars.
403-
type: array
404403
items:
405404
type: string
405+
title: Secrets
406+
type: array
407+
uniqueItems: true
406408
subdomainType:
407409
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
408410
type: string

test/env/teams/secrets.dev.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
teamConfig:
2+
teams:
3+
dev:
4+
secrets:
5+
- type: generic
6+
id: f7f9def1-cc52-465b-9da2-87e9fec4cf9C
7+
name: dev-generic
8+
entries:
9+
- aa
10+
- bb
11+
- cc

test/env/teams/secrets.otomi.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
teamConfig:
2+
teams:
3+
otomi:
4+
secrets:
5+
- type: generic
6+
id: f7f9def1-cc52-465b-9da2-87e9fec4cf9A
7+
name: mysecret-generic
8+
entries:
9+
- dd
10+
- ee
11+
- ff

0 commit comments

Comments
 (0)