Skip to content

Commit

Permalink
Fix registry credentials
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Oct 30, 2023
1 parent f1c87a2 commit 021a6eb
Show file tree
Hide file tree
Showing 7 changed files with 184 additions and 46 deletions.
36 changes: 32 additions & 4 deletions apis/core/v1alpha1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 32 additions & 4 deletions apis/management/v1alpha1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 32 additions & 4 deletions apis/meta/v1alpha1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions apis/shared/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,14 @@ type RegistryProxies struct {
AppsCode string `json:"appscode"`
}

type RepositoryCredential map[string]string

type RegistryInfo struct {
Credentials RepositoryCredential `json:"credentials"`
//+optional
Credentials map[string]Credentials `json:"credentials"`
}

type Credentials struct {
Username string `json:"username"`
Password string `json:"password"`
}

type HelmInfo struct {
Expand Down
36 changes: 32 additions & 4 deletions apis/shared/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 17 additions & 23 deletions apis/shared/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 021a6eb

Please sign in to comment.