Skip to content

Commit 608c589

Browse files
committed
schema: expand hnc
1 parent c2d77d1 commit 608c589

File tree

1 file changed

+116
-2
lines changed

1 file changed

+116
-2
lines changed

config/schemas/config.yaml

Lines changed: 116 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,8 +500,122 @@ properties:
500500
hnc:
501501
additionalProperties: false
502502
properties:
503-
enabled:
504-
default: true
503+
additionalAllowPropagateResources:
504+
items:
505+
additionalProperties: false
506+
properties:
507+
group:
508+
examples:
509+
- networking.k8s.io
510+
type: string
511+
resource:
512+
examples:
513+
- networkpolicies
514+
- secrets
515+
type: string
516+
type: object
517+
type: array
518+
excludedExtraNamespaces:
519+
items:
520+
type: string
521+
type: array
522+
excludedNamespaces:
523+
items:
524+
examples:
525+
- alertmanager
526+
- cert-manager
527+
- falco
528+
- fluentd
529+
- fluentd-system
530+
- gatekeeper-system
531+
- hnc-system
532+
- ingress-nginx
533+
- kube-node-lease
534+
- kube-public
535+
- kube-system
536+
- kured
537+
- metallb-system
538+
- monitoring
539+
- rook-ceph
540+
- velero
541+
type: string
542+
type: array
543+
ha:
544+
type: boolean
545+
includedNamespacesRegex:
546+
type: string
547+
managedNamespaceAnnotations:
548+
items:
549+
type: string
550+
type: array
551+
managedNamespaceLabels:
552+
items:
553+
examples:
554+
- pod-security.kubernetes.io/audit
555+
- pod-security.kubernetes.io/enforce
556+
- pod-security.kubernetes.io/warn
557+
type: string
558+
type: array
559+
manager:
560+
$ref: '#/$defs/commonResource'
561+
serviceMonitor:
562+
additionalProperties: false
563+
properties:
564+
relabelings:
565+
items: {}
566+
type: array
567+
type: object
568+
unpropagatedAnnotations:
569+
items: {}
570+
type: array
571+
webhook:
572+
additionalProperties: false
573+
properties:
574+
affinity:
575+
additionalProperties: false
576+
properties: {}
577+
type: object
578+
nodeSelector:
579+
additionalProperties: false
580+
properties: {}
581+
type: object
582+
replicaCount:
583+
type: integer
584+
resources:
585+
$ref: '#/$defs/resources'
586+
tolerations:
587+
items: {}
588+
type: array
589+
topologySpreadConstraints:
590+
items:
591+
additionalProperties: false
592+
properties:
593+
labelSelector:
594+
additionalProperties: false
595+
properties:
596+
matchLabels:
597+
additionalProperties: false
598+
properties:
599+
app.kubernetes.io/component:
600+
examples:
601+
- hnc-webhook
602+
type: string
603+
type: object
604+
type: object
605+
maxSkew:
606+
type: integer
607+
topologyKey:
608+
examples:
609+
- kubernetes.io/hostname
610+
type: string
611+
whenUnsatisfiable:
612+
examples:
613+
- DoNotSchedule
614+
type: string
615+
type: object
616+
type: array
617+
type: object
618+
webhookMatchConditions:
505619
type: boolean
506620
type: object
507621
harbor:

0 commit comments

Comments
 (0)