Skip to content

Commit

Permalink
Log warning if Community License is used with non-demo namespace (#628)
Browse files Browse the repository at this point in the history
Signed-off-by: 1gtm <1gtm@appscode.com>
  • Loading branch information
1gtm committed Sep 21, 2021
1 parent 79ac24b commit 08a1699
Show file tree
Hide file tree
Showing 30 changed files with 6,450 additions and 689 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ require (
k8s.io/component-base v0.21.1
k8s.io/klog/v2 v2.8.0
k8s.io/kubectl v0.21.1
kmodules.xyz/client-go v0.0.0-20210909114628-15cac6c74063
kmodules.xyz/client-go v0.0.0-20210921150324-f005c6dfcb32
kmodules.xyz/custom-resources v0.0.0-20210829135624-c63be82e13c0
kmodules.xyz/monitoring-agent-api v0.0.0-20210902163558-0323c6034f70
kmodules.xyz/objectstore-api v0.0.0-20210829122106-d39859fc2d56 // indirect
kubedb.dev/apimachinery v0.21.0
kubedb.dev/apimachinery v0.21.1-0.20210915153024-84659c4a8fca
stash.appscode.dev/apimachinery v0.14.2-0.20210715200631-5399637188c0
)

Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1166,8 +1166,8 @@ kmodules.xyz/apiversion v0.2.0/go.mod h1:oPX8g8LvlPdPX3Yc5YvCzJHQnw3YF/X4/jdW0b1
kmodules.xyz/client-go v0.0.0-20210617233340-13d22e91512b/go.mod h1:A6GAK6xP5zBuWK6A/vUkkjKzcuywkms7fIxRf5wblO4=
kmodules.xyz/client-go v0.0.0-20210715065708-d4f0cc74ead1/go.mod h1:E/vGngai00UtVwP8R4PWpPUBF/EZa6Ub9WS5+tVcs4M=
kmodules.xyz/client-go v0.0.0-20210831030638-b1d662179991/go.mod h1:0gkPeALtYjB27OHt4rd6+ZmMgoVTHVLtEJQeU23/gtA=
kmodules.xyz/client-go v0.0.0-20210909114628-15cac6c74063 h1:u+/fmk4N1LsxeCU7q7vnNgaADK73UeyNWKzNtjFe3Bs=
kmodules.xyz/client-go v0.0.0-20210909114628-15cac6c74063/go.mod h1:0gkPeALtYjB27OHt4rd6+ZmMgoVTHVLtEJQeU23/gtA=
kmodules.xyz/client-go v0.0.0-20210921150324-f005c6dfcb32 h1:ZXVJStHHjppRoaUw5JQ5KzMjK+EiY1GkcPigPHfkvSg=
kmodules.xyz/client-go v0.0.0-20210921150324-f005c6dfcb32/go.mod h1:0gkPeALtYjB27OHt4rd6+ZmMgoVTHVLtEJQeU23/gtA=
kmodules.xyz/constants v0.0.0-20210218100002-2c304bfda278/go.mod h1:DbiFk1bJ1KEO94t1SlAn7tzc+Zz95rSXgyUKa2nzPmY=
kmodules.xyz/crd-schema-fuzz v0.0.0-20210618002152-fae23aef5fb4/go.mod h1:IIkUctlfoptoci0BOrsUf8ya+MOG5uaeh1PE4uzaIbA=
kmodules.xyz/custom-resources v0.0.0-20210618003440-c6bb400da153/go.mod h1:/NLuNSf299U0XVuNEh2swtw3EczWFRL3Sx24WhNoWCM=
Expand All @@ -1188,8 +1188,8 @@ kmodules.xyz/prober v0.0.0-20210618020259-5836fb959027 h1:rtSPsruEkoBOLcbJkxMQjn
kmodules.xyz/prober v0.0.0-20210618020259-5836fb959027/go.mod h1:H4NcvS1RQxeXtQONALbU6r9OT3Xa7cMhfamX/k9t9wo=
kmodules.xyz/resource-metadata v0.5.7/go.mod h1:Jdi7zBXRwwFTOR0CxwKxqJhsDVIilhrgNipPjnKLyrs=
kmodules.xyz/webhook-runtime v0.0.0-20210804101750-5c602fd5cf06/go.mod h1:MFZFmJk9IXNHwq8JlF/mukwBDbopFQj4swaB2MWHc/U=
kubedb.dev/apimachinery v0.21.0 h1:7scIdNB7NNcNLMVdNOTwt5Y08Bp0t1/U39v4dGV9JCk=
kubedb.dev/apimachinery v0.21.0/go.mod h1:FbzIcqyzHhTEZIlp2ndAhjr2qw/UcEvZEJKU1xicWPc=
kubedb.dev/apimachinery v0.21.1-0.20210915153024-84659c4a8fca h1:DTm46xXlvgbbZ/4O+XGaqUsv4pSRmU3nUT1PaBVe9jY=
kubedb.dev/apimachinery v0.21.1-0.20210915153024-84659c4a8fca/go.mod h1:FbzIcqyzHhTEZIlp2ndAhjr2qw/UcEvZEJKU1xicWPc=
modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw=
modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk=
modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k=
Expand Down
728 changes: 571 additions & 157 deletions vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/generated.pb.go

Large diffs are not rendered by default.

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

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

Original file line number Diff line number Diff line change
Expand Up @@ -52,25 +52,39 @@ type RedisVersion struct {
type RedisVersionSpec struct {
// Version
Version string `json:"version" protobuf:"bytes,1,opt,name=version"`
//init container image
InitContainer RedisVersionInitContainer `json:"initContainer,omitempty" protobuf:"bytes,2,opt,name=initContainer"`
// Database Image
DB RedisVersionDatabase `json:"db" protobuf:"bytes,2,opt,name=db"`
DB RedisVersionDatabase `json:"db" protobuf:"bytes,3,opt,name=db"`
// Exporter Image
Exporter RedisVersionExporter `json:"exporter" protobuf:"bytes,3,opt,name=exporter"`
Exporter RedisVersionExporter `json:"exporter" protobuf:"bytes,4,opt,name=exporter"`
// Coordinator Image
Coordinator RedisVersionCoordinator `json:"coordinator,omitempty" protobuf:"bytes,5,opt,name=coordinator"`
// Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded.
// +optional
Deprecated bool `json:"deprecated,omitempty" protobuf:"varint,4,opt,name=deprecated"`
Deprecated bool `json:"deprecated,omitempty" protobuf:"varint,6,opt,name=deprecated"`
// PSP names
PodSecurityPolicies RedisVersionPodSecurityPolicy `json:"podSecurityPolicies" protobuf:"bytes,5,opt,name=podSecurityPolicies"`
PodSecurityPolicies RedisVersionPodSecurityPolicy `json:"podSecurityPolicies" protobuf:"bytes,7,opt,name=podSecurityPolicies"`
// Stash defines backup and restore task definitions.
// +optional
Stash appcat.StashAddonSpec `json:"stash,omitempty" protobuf:"bytes,6,opt,name=stash"`
Stash appcat.StashAddonSpec `json:"stash,omitempty" protobuf:"bytes,8,opt,name=stash"`
}

// RedisVersionInitContainer is the Redis init container image
type RedisVersionInitContainer struct {
Image string `json:"image" protobuf:"bytes,1,opt,name=image"`
}

// RedisVersionDatabase is the Redis Database image
type RedisVersionDatabase struct {
Image string `json:"image" protobuf:"bytes,1,opt,name=image"`
}

// RedisVersionCoordinator is the Redis coordinator image
type RedisVersionCoordinator struct {
Image string `json:"image" protobuf:"bytes,1,opt,name=image"`
}

// RedisVersionExporter is the image for the Redis exporter
type RedisVersionExporter struct {
Image string `json:"image" protobuf:"bytes,1,opt,name=image"`
Expand Down

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

Loading

0 comments on commit 08a1699

Please sign in to comment.