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