Fix use of on-premises terminology (#4413)

* Fix use of on-premises terminology

* Update ingress doc with on-premises term
This commit is contained in:
Luke Heidecke
2017-08-01 18:10:37 -04:00
committed by Andrew Chen
parent bd2c8cdd61
commit abd60bc4be
7 changed files with 9 additions and 13 deletions
+2 -2
View File
@@ -35,13 +35,13 @@ annotations["federation.kubernetes.io/replica-set-preferences"] = preferences {
#
# In English, the policy asserts that resources in the "production" namespace
# that are not annotated with "criticality=low" MUST be placed on clusters
# labelled with "on-premise=true".
# labelled with "on-premises=true".
annotations["federation.alpha.kubernetes.io/cluster-selector"] = selector {
input.metadata.namespace = "production"
not input.metadata.annotations.criticality = "low"
json.marshal([{
"operator": "=",
"key": "on-premise",
"key": "on-premises",
"values": "[true]",
}], selector)
}