@@ -218,26 +218,21 @@ spec:
218
218
x-kubernetes-map-type : atomic
219
219
notSameLabels :
220
220
description : NotSameLabels is used to select a set
221
- of Namespaces that do not have a set of label(s).
222
- To be selected a Namespace must have none of the
223
- labels defined in NotSameLabels. If NotSameLabels
221
+ of Namespaces that do not have certain values for
222
+ a set of label(s). To be selected a Namespace must
223
+ have all of the labels defined in NotSameLabels,
224
+ AND at least one of them must have different values
225
+ than the subject of this policy. If NotSameLabels
224
226
is empty then nothing is selected.
225
227
items :
226
228
type : string
227
229
maxItems : 100
228
230
type : array
229
- related :
230
- description : Related provides a mechanism for selecting
231
- namespaces relative to the subject pod. A value
232
- of "Self" matches the subject pod's namespace, while
233
- a value of "NotSelf" matches namespaces other than
234
- the subject pod's namespace.
235
- type : string
236
231
sameLabels :
237
232
description : SameLabels is used to select a set of
238
233
Namespaces that share the same values for a set
239
234
of labels. To be selected a Namespace must have
240
- all of the labels defined in SameLabels, and they
235
+ all of the labels defined in SameLabels, AND they
241
236
must all have the same value as the subject of this
242
237
policy. If Samelabels is Empty then nothing is selected.
243
238
items :
@@ -311,27 +306,22 @@ spec:
311
306
x-kubernetes-map-type : atomic
312
307
notSameLabels :
313
308
description : NotSameLabels is used to select a
314
- set of Namespaces that do not have a set of
315
- label(s). To be selected a Namespace must have
316
- none of the labels defined in NotSameLabels.
317
- If NotSameLabels is empty then nothing is selected.
309
+ set of Namespaces that do not have certain values
310
+ for a set of label(s). To be selected a Namespace
311
+ must have all of the labels defined in NotSameLabels,
312
+ AND at least one of them must have different
313
+ values than the subject of this policy. If NotSameLabels
314
+ is empty then nothing is selected.
318
315
items :
319
316
type : string
320
317
maxItems : 100
321
318
type : array
322
- related :
323
- description : Related provides a mechanism for
324
- selecting namespaces relative to the subject
325
- pod. A value of "Self" matches the subject pod's
326
- namespace, while a value of "NotSelf" matches
327
- namespaces other than the subject pod's namespace.
328
- type : string
329
319
sameLabels :
330
320
description : SameLabels is used to select a set
331
321
of Namespaces that share the same values for
332
322
a set of labels. To be selected a Namespace
333
323
must have all of the labels defined in SameLabels,
334
- and they must all have the same value as the
324
+ AND they must all have the same value as the
335
325
subject of this policy. If Samelabels is Empty
336
326
then nothing is selected.
337
327
items :
@@ -501,26 +491,21 @@ spec:
501
491
x-kubernetes-map-type : atomic
502
492
notSameLabels :
503
493
description : NotSameLabels is used to select a set
504
- of Namespaces that do not have a set of label(s).
505
- To be selected a Namespace must have none of the
506
- labels defined in NotSameLabels. If NotSameLabels
494
+ of Namespaces that do not have certain values for
495
+ a set of label(s). To be selected a Namespace must
496
+ have all of the labels defined in NotSameLabels,
497
+ AND at least one of them must have different values
498
+ than the subject of this policy. If NotSameLabels
507
499
is empty then nothing is selected.
508
500
items :
509
501
type : string
510
502
maxItems : 100
511
503
type : array
512
- related :
513
- description : Related provides a mechanism for selecting
514
- namespaces relative to the subject pod. A value
515
- of "Self" matches the subject pod's namespace, while
516
- a value of "NotSelf" matches namespaces other than
517
- the subject pod's namespace.
518
- type : string
519
504
sameLabels :
520
505
description : SameLabels is used to select a set of
521
506
Namespaces that share the same values for a set
522
507
of labels. To be selected a Namespace must have
523
- all of the labels defined in SameLabels, and they
508
+ all of the labels defined in SameLabels, AND they
524
509
must all have the same value as the subject of this
525
510
policy. If Samelabels is Empty then nothing is selected.
526
511
items :
@@ -594,27 +579,22 @@ spec:
594
579
x-kubernetes-map-type : atomic
595
580
notSameLabels :
596
581
description : NotSameLabels is used to select a
597
- set of Namespaces that do not have a set of
598
- label(s). To be selected a Namespace must have
599
- none of the labels defined in NotSameLabels.
600
- If NotSameLabels is empty then nothing is selected.
582
+ set of Namespaces that do not have certain values
583
+ for a set of label(s). To be selected a Namespace
584
+ must have all of the labels defined in NotSameLabels,
585
+ AND at least one of them must have different
586
+ values than the subject of this policy. If NotSameLabels
587
+ is empty then nothing is selected.
601
588
items :
602
589
type : string
603
590
maxItems : 100
604
591
type : array
605
- related :
606
- description : Related provides a mechanism for
607
- selecting namespaces relative to the subject
608
- pod. A value of "Self" matches the subject pod's
609
- namespace, while a value of "NotSelf" matches
610
- namespaces other than the subject pod's namespace.
611
- type : string
612
592
sameLabels :
613
593
description : SameLabels is used to select a set
614
594
of Namespaces that share the same values for
615
595
a set of labels. To be selected a Namespace
616
596
must have all of the labels defined in SameLabels,
617
- and they must all have the same value as the
597
+ AND they must all have the same value as the
618
598
subject of this policy. If Samelabels is Empty
619
599
then nothing is selected.
620
600
items :
0 commit comments