ad1e160c1a
By default every document is to be deployed to kubernetes however some documents may need to be skipped, because they serve only informational purposes and have no consumers in kubernetes cluster Change-Id: If2ea5659acb319c15cf3f55e9f3d9e86dc647e9f Relates-To: #130 Closes: #130
21 lines
730 B
Go
21 lines
730 B
Go
package document
|
|
|
|
const (
|
|
// Label Selectors
|
|
BaseAirshipSelector = "airshipit.org"
|
|
EphemeralHostSelector = BaseAirshipSelector + "/ephemeral-node in (True, true)"
|
|
EphemeralUserDataSelector = BaseAirshipSelector + "/ephemeral-user-data in (True, true)"
|
|
InitInfraSelector = BaseAirshipSelector + "/phase = initinfra"
|
|
|
|
// Annotation Selectors
|
|
// Please note that by default every document in the manifest is to be deployed to kubernetes cluster.
|
|
// so this selector simply checks that deploy-k8s label is not equal to true or True (string)
|
|
DeployToK8sSelector = "config.kubernetes.io/local-config notin (True, true)"
|
|
)
|
|
|
|
// Kinds
|
|
const (
|
|
SecretKind = "Secret"
|
|
BareMetalHostKind = "BareMetalHost"
|
|
)
|