|
516 | 516 | "type": "number"
|
517 | 517 | },
|
518 | 518 | "helm-values.resources": {
|
519 |
| - "additionalProperties": false, |
520 |
| - "properties": { |
| 519 | + "default": { |
521 | 520 | "limits": {
|
522 |
| - "$ref": "#/$defs/helm-values.resources.limits" |
| 521 | + "memory": "500Mi" |
523 | 522 | },
|
524 | 523 | "requests": {
|
525 |
| - "$ref": "#/$defs/helm-values.resources.requests" |
526 |
| - } |
527 |
| - }, |
528 |
| - "type": "object" |
529 |
| - }, |
530 |
| - "helm-values.resources.limits": { |
531 |
| - "additionalProperties": false, |
532 |
| - "properties": { |
533 |
| - "memory": { |
534 |
| - "$ref": "#/$defs/helm-values.resources.limits.memory" |
535 |
| - } |
536 |
| - }, |
537 |
| - "type": "object" |
538 |
| - }, |
539 |
| - "helm-values.resources.limits.memory": { |
540 |
| - "default": "500Mi", |
541 |
| - "type": "string" |
542 |
| - }, |
543 |
| - "helm-values.resources.requests": { |
544 |
| - "additionalProperties": false, |
545 |
| - "properties": { |
546 |
| - "cpu": { |
547 |
| - "$ref": "#/$defs/helm-values.resources.requests.cpu" |
548 |
| - }, |
549 |
| - "memory": { |
550 |
| - "$ref": "#/$defs/helm-values.resources.requests.memory" |
| 524 | + "cpu": "200m", |
| 525 | + "memory": "200Mi" |
551 | 526 | }
|
552 | 527 | },
|
| 528 | + "description": "Set resource requests and limits for the pod.\n\nRead [Venafi Kubernetes components deployment best practices](https://docs.venafi.cloud/vaas/k8s-components/c-k8s-components-best-practice/#scaling) to learn how to choose suitable CPU and memory resource requests and limits.", |
553 | 529 | "type": "object"
|
554 | 530 | },
|
555 |
| - "helm-values.resources.requests.cpu": { |
556 |
| - "default": "200m", |
557 |
| - "type": "string" |
558 |
| - }, |
559 |
| - "helm-values.resources.requests.memory": { |
560 |
| - "default": "200Mi", |
561 |
| - "type": "string" |
562 |
| - }, |
563 | 531 | "helm-values.securityContext": {
|
564 |
| - "additionalProperties": false, |
565 |
| - "properties": { |
| 532 | + "default": { |
| 533 | + "allowPrivilegeEscalation": false, |
566 | 534 | "capabilities": {
|
567 |
| - "$ref": "#/$defs/helm-values.securityContext.capabilities" |
568 |
| - }, |
569 |
| - "readOnlyRootFilesystem": { |
570 |
| - "$ref": "#/$defs/helm-values.securityContext.readOnlyRootFilesystem" |
571 |
| - }, |
572 |
| - "runAsNonRoot": { |
573 |
| - "$ref": "#/$defs/helm-values.securityContext.runAsNonRoot" |
| 535 | + "drop": [ |
| 536 | + "ALL" |
| 537 | + ] |
| 538 | + }, |
| 539 | + "readOnlyRootFilesystem": true, |
| 540 | + "runAsNonRoot": true, |
| 541 | + "seccompProfile": { |
| 542 | + "type": "RuntimeDefault" |
574 | 543 | }
|
575 | 544 | },
|
| 545 | + "description": "Add Container specific SecurityContext settings to the container. Takes precedence over `podSecurityContext` when set. See https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-capabilities-for-a-container", |
576 | 546 | "type": "object"
|
577 | 547 | },
|
578 |
| - "helm-values.securityContext.capabilities": { |
579 |
| - "additionalProperties": false, |
580 |
| - "properties": { |
581 |
| - "drop": { |
582 |
| - "$ref": "#/$defs/helm-values.securityContext.capabilities.drop" |
583 |
| - } |
584 |
| - }, |
585 |
| - "type": "object" |
586 |
| - }, |
587 |
| - "helm-values.securityContext.capabilities.drop": { |
588 |
| - "items": { |
589 |
| - "$ref": "#/$defs/helm-values.securityContext.capabilities.drop[0]" |
590 |
| - }, |
591 |
| - "type": "array" |
592 |
| - }, |
593 |
| - "helm-values.securityContext.capabilities.drop[0]": { |
594 |
| - "default": "ALL", |
595 |
| - "type": "string" |
596 |
| - }, |
597 |
| - "helm-values.securityContext.readOnlyRootFilesystem": { |
598 |
| - "default": true, |
599 |
| - "type": "boolean" |
600 |
| - }, |
601 |
| - "helm-values.securityContext.runAsNonRoot": { |
602 |
| - "default": true, |
603 |
| - "type": "boolean" |
604 |
| - }, |
605 | 548 | "helm-values.serviceAccount": {
|
606 | 549 | "additionalProperties": false,
|
607 | 550 | "properties": {
|
|
0 commit comments