Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(platform):support deploy clusternet app #2013

Merged
merged 1 commit into from
Jul 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat(platform): support deploy clusternet app
  • Loading branch information
leonarliu committed Jul 5, 2022
commit b542e2ba832afcf253c85fd29d64abea1938e6bb
10 changes: 10 additions & 0 deletions api/platform/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,16 @@ const (
const (
// RegistrationCommandAnno contains base64 registration command of cluster net
RegistrationCommandAnno = "tkestack.io/registration-command"
// AnywhereEdtionLabel describe which anywhere edition will be deployed
AnywhereEdtionLabel = "tkestack.io/anywhere-edtion"
// AnywhereSubscriptionNameAnno describe sub name
AnywhereSubscriptionNameAnno = "tkestack.io/anywhere-subscription-name"
// AnywhereSubscriptionNameAnno describe sub namespace
AnywhereSubscriptionNamespaceAnno = "tkestack.io/anywhere-subscription-namespace"
// AnywhereLocalizationsAnno contains base64 localizations json data
AnywhereLocalizationsAnno = "tkestack.io/anywhere-localizations"
// AnywhereMachinesAnno contains base64 machines json data
AnywhereMachinesAnno = "tkestack.io/anywhere-machines"
)

// KubeVendorType describe the kubernetes provider of the cluster
Expand Down
10 changes: 10 additions & 0 deletions api/platform/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,16 @@ const (
const (
// RegistrationCommandAnno contains base64 registration command of cluster net
RegistrationCommandAnno = "tkestack.io/registration-command"
// AnywhereEdtionLabel describe which anywhere edition will be deployed
AnywhereEdtionLabel = "tkestack.io/anywhere-edtion"
// AnywhereSubscriptionNameAnno describe sub name
AnywhereSubscriptionNameAnno = "tkestack.io/anywhere-subscription-name"
// AnywhereSubscriptionNameAnno describe sub namespace
AnywhereSubscriptionNamespaceAnno = "tkestack.io/anywhere-subscription-namespace"
// AnywhereLocalizationsAnno contains base64 localizations json data
AnywhereLocalizationsAnno = "tkestack.io/anywhere-localizations"
// AnywhereMachinesAnno contains base64 machines json data
AnywhereMachinesAnno = "tkestack.io/anywhere-machines"
)

// KubeVendorType describe the kubernetes provider of the cluster
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ require (
github.com/casbin/casbin/v2 v2.2.1
github.com/chartmuseum/helm-push v0.9.0
github.com/chartmuseum/storage v0.11.0
github.com/clusternet/apis v0.6.0
github.com/clusternet/clusternet v0.6.0 // indirect
github.com/coreos/go-oidc v2.2.1+incompatible
github.com/coreos/prometheus-operator v0.38.1-0.20200506070354-4231c1d4b313
github.com/cyphar/filepath-securejoin v0.2.2
Expand Down
Loading