Skip to content

Commit

Permalink
Merge branch 'master' into es-security
Browse files Browse the repository at this point in the history
  • Loading branch information
pritamdas99 authored Nov 16, 2023
2 parents f2e1f92 + f5de4a2 commit 5d0b8ab
Show file tree
Hide file tree
Showing 18 changed files with 151 additions and 7 deletions.
2 changes: 2 additions & 0 deletions apis/catalog/v1alpha1/elasticsearch_version_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ type ElasticsearchVersionSpec struct {
SecurityContext ElasticsearchSecurityContext `json:"securityContext"`
// update constraints
UpdateConstraints UpdateConstraints `json:"updateConstraints,omitempty"`
// +optional
GitSyncer GitSyncer `json:"gitSyncer,omitempty"`
}

// ElasticsearchVersionDatabase is the Elasticsearch Database image
Expand Down
2 changes: 2 additions & 0 deletions apis/catalog/v1alpha1/etcd_version_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ type EtcdVersionSpec struct {
// Stash defines backup and restore task definitions.
// +optional
Stash appcat.StashAddonSpec `json:"stash,omitempty"`
// +optional
GitSyncer GitSyncer `json:"gitSyncer,omitempty"`
}

// EtcdVersionDatabase is the Etcd Database image
Expand Down
2 changes: 2 additions & 0 deletions apis/catalog/v1alpha1/mariadb_version_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ type MariaDBVersionSpec struct {
Stash appcat.StashAddonSpec `json:"stash,omitempty"`
// update constraints
UpdateConstraints UpdateConstraints `json:"updateConstraints,omitempty"`
// +optional
GitSyncer GitSyncer `json:"gitSyncer,omitempty"`
}

// MariaDBVersionDatabase is the mariadb image
Expand Down
2 changes: 2 additions & 0 deletions apis/catalog/v1alpha1/mongodb_version_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ type MongoDBVersionSpec struct {
Stash appcat.StashAddonSpec `json:"stash,omitempty"`
// update constraints
UpdateConstraints UpdateConstraints `json:"updateConstraints,omitempty"`
// +optional
GitSyncer GitSyncer `json:"gitSyncer,omitempty"`
}

// MongoDBVersionDatabase is the MongoDB Database image
Expand Down
56 changes: 49 additions & 7 deletions apis/catalog/v1alpha1/openapi_generated.go

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

2 changes: 2 additions & 0 deletions apis/catalog/v1alpha1/perconaxtradb_version_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ type PerconaXtraDBVersionSpec struct {
Stash appcat.StashAddonSpec `json:"stash,omitempty"`
// update constraints
UpdateConstraints UpdateConstraints `json:"updateConstraints,omitempty"`
// +optional
GitSyncer GitSyncer `json:"gitSyncer,omitempty"`
}

// PerconaXtraDBVersionDatabase is the perconaxtradb image
Expand Down
2 changes: 2 additions & 0 deletions apis/catalog/v1alpha1/postgres_version_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ type PostgresVersionSpec struct {
SecurityContext PostgresSecurityContext `json:"securityContext"`
// update constraints
UpdateConstraints UpdateConstraints `json:"updateConstraints,omitempty"`
// +optional
GitSyncer GitSyncer `json:"gitSyncer,omitempty"`
}

// PostgresVersionInitContainer is the Postgres init container image
Expand Down
2 changes: 2 additions & 0 deletions apis/catalog/v1alpha1/redis_version_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ type RedisVersionSpec struct {
Stash appcat.StashAddonSpec `json:"stash,omitempty"`
// update constraints
UpdateConstraints UpdateConstraints `json:"updateConstraints,omitempty"`
// +optional
GitSyncer GitSyncer `json:"gitSyncer,omitempty"`
}

// RedisVersionInitContainer is the Redis init container image
Expand Down
7 changes: 7 additions & 0 deletions apis/catalog/v1alpha1/zz_generated.deepcopy.go

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

8 changes: 8 additions & 0 deletions apis/kubedb/v1alpha2/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -691,3 +691,11 @@ var (
},
}
)

const (
InitFromGit = "init-from-git"
InitFromGitMountPath = "/git"
GitSecretVolume = "git-secret"
GitSecretMountPath = "/etc/git-secret"
GitSyncContainerName = "git-sync"
)
7 changes: 7 additions & 0 deletions crds/catalog.kubedb.com_elasticsearchversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ spec:
required:
- image
type: object
gitSyncer:
properties:
image:
type: string
required:
- image
type: object
initContainer:
properties:
image:
Expand Down
7 changes: 7 additions & 0 deletions crds/catalog.kubedb.com_etcdversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ spec:
required:
- image
type: object
gitSyncer:
properties:
image:
type: string
required:
- image
type: object
stash:
properties:
addon:
Expand Down
7 changes: 7 additions & 0 deletions crds/catalog.kubedb.com_mariadbversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ spec:
required:
- image
type: object
gitSyncer:
properties:
image:
type: string
required:
- image
type: object
initContainer:
properties:
image:
Expand Down
7 changes: 7 additions & 0 deletions crds/catalog.kubedb.com_mongodbversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ spec:
required:
- image
type: object
gitSyncer:
properties:
image:
type: string
required:
- image
type: object
initContainer:
properties:
image:
Expand Down
7 changes: 7 additions & 0 deletions crds/catalog.kubedb.com_perconaxtradbversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ spec:
required:
- image
type: object
gitSyncer:
properties:
image:
type: string
required:
- image
type: object
initContainer:
properties:
image:
Expand Down
7 changes: 7 additions & 0 deletions crds/catalog.kubedb.com_postgresversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ spec:
required:
- image
type: object
gitSyncer:
properties:
image:
type: string
required:
- image
type: object
initContainer:
properties:
image:
Expand Down
7 changes: 7 additions & 0 deletions crds/catalog.kubedb.com_redisversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ spec:
required:
- image
type: object
gitSyncer:
properties:
image:
type: string
required:
- image
type: object
initContainer:
properties:
image:
Expand Down
Loading

0 comments on commit 5d0b8ab

Please sign in to comment.