Skip to content

Commit

Permalink
fix(namespace): readd name in namespace response
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianGottinger committed Nov 28, 2023
1 parent d7fa2d3 commit 68348c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/adapters/kubernetes/cops_namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ package kubernetes
type CopsNamespaceResponse struct {
APIVersion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
Spec struct {
Metadata struct {
Name string `yaml:"name"`
} `yaml:"metadata"`
Spec struct {
NamespaceAdminUsers []string `yaml:"namespaceAdminUsers"`
NamespaceAdminServiceAccounts []CopsServiceAccount `yaml:"namespaceAdminServiceAccounts"`
Project struct {
Expand Down

0 comments on commit 68348c8

Please sign in to comment.