Skip to content

Commit 843ad11

Browse files
author
otomi
committed
fix: schema
1 parent 4cea482 commit 843ad11

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

src/openapi/apps/argocd.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ AppArgocd:
44
x-short: Declarative GitOps CD for Kubernetes
55
description: Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes.
66
x-info: |
7-
Argo CD is configured by Otomi to use the SSO provided by keycloak, and maps otomi groups to ArgoCD roles:
8-
- Group otomi-admin is made super admin within ArgoCD.
7+
Argo CD is configured by Otomi to use the SSO provided by keycloak, and maps otomi groups to Argo CD roles:
8+
- Group otomi-admin is made super admin within Argo CD.
99
- Group team-admin has access to, and is admin of all team projects.
1010
- Team members are only allowed access to, and administer their own projects.
1111
12-
When Gitea is enabled (default) teams will each be given a git repo named "team-$teamId", for which ArgoCD is configured access.
12+
When Gitea is enabled (default) teams will each be given a git repo named "team-$teamId", for which Argo CD is configured access.
1313
All that is left to do is for a team-admin (or team member with self-service rights) to fill their repo with intended state, commit, and automation takes care of the rest.
14-
title: ArgoCD
14+
title: Argo CD
1515
type: object
1616
properties:
1717
id:

src/openapi/definitions.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,8 @@ dns:
402402
serviceAccountKey:
403403
description: A service account key for managing a DNS zone.
404404
type: string
405+
x-secret: true
406+
x-formtype: textarea
405407
project:
406408
type: string
407409
required:
@@ -480,6 +482,8 @@ googleAccountJson:
480482
description: Enter GCP account JSON for authentication.
481483
title: Account JSON
482484
type: string
485+
x-secret: ''
486+
x-formtype: textarea
483487
googleProject:
484488
description: Enter GCP project.
485489
title: GCP Project

src/openapi/team.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Team:
4646
type: string
4747
writeOnly: true
4848
x-acl:
49-
admin: []
49+
admin: [read-any, update-any]
5050
team: []
5151
alerts:
5252
$ref: definitions.yaml#/alerts

0 commit comments

Comments
 (0)