Skip to content

Commit

Permalink
Add helm registry cert option (#360)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha authored Apr 15, 2024
1 parent bf71017 commit 42385c7
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apis/installer/v1alpha1/ace_options_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ type RegistrySpec struct {
//+optional
Credentials RepositoryCredential `json:"credentials"`
//+optional
Certs RepositoryCertificates `json:"certs"`
//+optional
Helm HelmOptions `json:"helm"`
//+optional
AllowNondistributableArtifacts bool `json:"allowNondistributableArtifacts"`
Expand All @@ -107,6 +109,12 @@ type RepositoryCredential struct {
Password string `json:"password"`
}

type RepositoryCertificates struct {
CACert string `json:"caCert,omitempty"`
ClientCert string `json:"clientCert,omitempty"`
ClientKey string `json:"clientKey,omitempty"`
}

type HelmOptions struct {
// +optional
CreateNamespace bool `json:"createNamespace,omitempty"`
Expand Down
16 changes: 16 additions & 0 deletions apis/installer/v1alpha1/zz_generated.deepcopy.go

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

9 changes: 9 additions & 0 deletions schema/ace-options/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1396,6 +1396,15 @@ properties:
properties:
allowNondistributableArtifacts:
type: boolean
certs:
properties:
caCert:
type: string
clientCert:
type: string
clientKey:
type: string
type: object
credentials:
properties:
password:
Expand Down

0 comments on commit 42385c7

Please sign in to comment.