typekro 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +142 -1054
- package/dist/.tsbuildinfo +1 -1
- package/dist/alchemy/deployers.d.ts +0 -5
- package/dist/alchemy/deployers.d.ts.map +1 -1
- package/dist/alchemy/deployers.js +25 -72
- package/dist/alchemy/deployers.js.map +1 -1
- package/dist/core/composition/imperative.d.ts +2 -2
- package/dist/core/composition/imperative.d.ts.map +1 -1
- package/dist/core/composition/imperative.js +394 -10
- package/dist/core/composition/imperative.js.map +1 -1
- package/dist/core/composition/typekro-runtime/typekro-runtime.d.ts +1 -9
- package/dist/core/composition/typekro-runtime/typekro-runtime.d.ts.map +1 -1
- package/dist/core/composition/typekro-runtime/typekro-runtime.js +76 -10
- package/dist/core/composition/typekro-runtime/typekro-runtime.js.map +1 -1
- package/dist/core/composition/typekro-runtime/types.d.ts +8 -5
- package/dist/core/composition/typekro-runtime/types.d.ts.map +1 -1
- package/dist/core/composition/typekro-runtime/types.js.map +1 -1
- package/dist/core/constants/brands.d.ts +20 -0
- package/dist/core/constants/brands.d.ts.map +1 -1
- package/dist/core/constants/brands.js +20 -0
- package/dist/core/constants/brands.js.map +1 -1
- package/dist/core/deployment/direct-factory.d.ts +36 -1
- package/dist/core/deployment/direct-factory.d.ts.map +1 -1
- package/dist/core/deployment/direct-factory.js +289 -4
- package/dist/core/deployment/direct-factory.js.map +1 -1
- package/dist/core/deployment/engine.d.ts +57 -2
- package/dist/core/deployment/engine.d.ts.map +1 -1
- package/dist/core/deployment/engine.js +677 -49
- package/dist/core/deployment/engine.js.map +1 -1
- package/dist/core/deployment/event-filter.d.ts.map +1 -1
- package/dist/core/deployment/event-filter.js +6 -7
- package/dist/core/deployment/event-filter.js.map +1 -1
- package/dist/core/deployment/event-monitor.d.ts +36 -2
- package/dist/core/deployment/event-monitor.d.ts.map +1 -1
- package/dist/core/deployment/event-monitor.js +183 -33
- package/dist/core/deployment/event-monitor.js.map +1 -1
- package/dist/core/deployment/kro-factory.d.ts +22 -0
- package/dist/core/deployment/kro-factory.d.ts.map +1 -1
- package/dist/core/deployment/kro-factory.js +291 -27
- package/dist/core/deployment/kro-factory.js.map +1 -1
- package/dist/core/deployment/readiness.d.ts.map +1 -1
- package/dist/core/deployment/readiness.js +4 -2
- package/dist/core/deployment/readiness.js.map +1 -1
- package/dist/core/deployment/rollback-manager.d.ts +2 -1
- package/dist/core/deployment/rollback-manager.d.ts.map +1 -1
- package/dist/core/deployment/rollback-manager.js +5 -2
- package/dist/core/deployment/rollback-manager.js.map +1 -1
- package/dist/core/deployment/shared-utilities.js.map +1 -1
- package/dist/core/deployment/status-hydrator.d.ts +1 -1
- package/dist/core/deployment/status-hydrator.d.ts.map +1 -1
- package/dist/core/deployment/status-hydrator.js +8 -5
- package/dist/core/deployment/status-hydrator.js.map +1 -1
- package/dist/core/deployment/strategies/base-strategy.d.ts.map +1 -1
- package/dist/core/deployment/strategies/base-strategy.js +60 -21
- package/dist/core/deployment/strategies/base-strategy.js.map +1 -1
- package/dist/core/deployment/strategies/direct-strategy.d.ts +7 -0
- package/dist/core/deployment/strategies/direct-strategy.d.ts.map +1 -1
- package/dist/core/deployment/strategies/direct-strategy.js +50 -0
- package/dist/core/deployment/strategies/direct-strategy.js.map +1 -1
- package/dist/core/deployment/strategies/kro-strategy.d.ts +5 -0
- package/dist/core/deployment/strategies/kro-strategy.d.ts.map +1 -1
- package/dist/core/deployment/strategies/kro-strategy.js +53 -4
- package/dist/core/deployment/strategies/kro-strategy.js.map +1 -1
- package/dist/core/evaluation/cel-optimizer.d.ts.map +1 -1
- package/dist/core/evaluation/cel-optimizer.js +7 -13
- package/dist/core/evaluation/cel-optimizer.js.map +1 -1
- package/dist/core/expressions/analyzer.d.ts +6 -6
- package/dist/core/expressions/analyzer.d.ts.map +1 -1
- package/dist/core/expressions/analyzer.js +40 -75
- package/dist/core/expressions/analyzer.js.map +1 -1
- package/dist/core/expressions/cel-conversion-engine.d.ts.map +1 -1
- package/dist/core/expressions/cel-conversion-engine.js +10 -11
- package/dist/core/expressions/cel-conversion-engine.js.map +1 -1
- package/dist/core/expressions/composition-integration.d.ts +2 -2
- package/dist/core/expressions/composition-integration.d.ts.map +1 -1
- package/dist/core/expressions/composition-integration.js +20 -12
- package/dist/core/expressions/composition-integration.js.map +1 -1
- package/dist/core/expressions/field-hydration-processor.d.ts +4 -1
- package/dist/core/expressions/field-hydration-processor.d.ts.map +1 -1
- package/dist/core/expressions/field-hydration-processor.js +12 -13
- package/dist/core/expressions/field-hydration-processor.js.map +1 -1
- package/dist/core/expressions/imperative-analyzer.d.ts.map +1 -1
- package/dist/core/expressions/imperative-analyzer.js +193 -49
- package/dist/core/expressions/imperative-analyzer.js.map +1 -1
- package/dist/core/expressions/index.d.ts +2 -0
- package/dist/core/expressions/index.d.ts.map +1 -1
- package/dist/core/expressions/index.js +2 -0
- package/dist/core/expressions/index.js.map +1 -1
- package/dist/core/expressions/magic-proxy-analyzer.d.ts +1 -1
- package/dist/core/expressions/magic-proxy-analyzer.d.ts.map +1 -1
- package/dist/core/expressions/magic-proxy-analyzer.js +8 -7
- package/dist/core/expressions/magic-proxy-analyzer.js.map +1 -1
- package/dist/core/expressions/parser.d.ts +163 -0
- package/dist/core/expressions/parser.d.ts.map +1 -0
- package/dist/core/expressions/parser.js +272 -0
- package/dist/core/expressions/parser.js.map +1 -0
- package/dist/core/expressions/status-builder-analyzer.d.ts.map +1 -1
- package/dist/core/expressions/status-builder-analyzer.js +15 -5
- package/dist/core/expressions/status-builder-analyzer.js.map +1 -1
- package/dist/core/kubernetes/api.d.ts.map +1 -1
- package/dist/core/kubernetes/api.js +5 -6
- package/dist/core/kubernetes/api.js.map +1 -1
- package/dist/core/kubernetes/bun-api-client.d.ts +95 -0
- package/dist/core/kubernetes/bun-api-client.d.ts.map +1 -0
- package/dist/core/kubernetes/bun-api-client.js +160 -0
- package/dist/core/kubernetes/bun-api-client.js.map +1 -0
- package/dist/core/kubernetes/bun-http-library.d.ts +38 -0
- package/dist/core/kubernetes/bun-http-library.d.ts.map +1 -0
- package/dist/core/kubernetes/bun-http-library.js +133 -0
- package/dist/core/kubernetes/bun-http-library.js.map +1 -0
- package/dist/core/kubernetes/client-provider.d.ts +3 -0
- package/dist/core/kubernetes/client-provider.d.ts.map +1 -1
- package/dist/core/kubernetes/client-provider.js +32 -23
- package/dist/core/kubernetes/client-provider.js.map +1 -1
- package/dist/core/kubernetes/errors.d.ts +189 -0
- package/dist/core/kubernetes/errors.d.ts.map +1 -0
- package/dist/core/kubernetes/errors.js +298 -0
- package/dist/core/kubernetes/errors.js.map +1 -0
- package/dist/core/kubernetes/index.d.ts +19 -0
- package/dist/core/kubernetes/index.d.ts.map +1 -0
- package/dist/core/kubernetes/index.js +23 -0
- package/dist/core/kubernetes/index.js.map +1 -0
- package/dist/core/kubernetes/type-guards.d.ts +142 -0
- package/dist/core/kubernetes/type-guards.d.ts.map +1 -0
- package/dist/core/kubernetes/type-guards.js +151 -0
- package/dist/core/kubernetes/type-guards.js.map +1 -0
- package/dist/core/logging/logger.d.ts.map +1 -1
- package/dist/core/logging/logger.js +8 -0
- package/dist/core/logging/logger.js.map +1 -1
- package/dist/core/readiness/cluster-state.d.ts.map +1 -1
- package/dist/core/readiness/cluster-state.js +6 -4
- package/dist/core/readiness/cluster-state.js.map +1 -1
- package/dist/core/references/cel-evaluator.d.ts.map +1 -1
- package/dist/core/references/cel-evaluator.js +12 -2
- package/dist/core/references/cel-evaluator.js.map +1 -1
- package/dist/core/references/cel.d.ts +13 -1
- package/dist/core/references/cel.d.ts.map +1 -1
- package/dist/core/references/cel.js +50 -0
- package/dist/core/references/cel.js.map +1 -1
- package/dist/core/references/resolver.d.ts +28 -1
- package/dist/core/references/resolver.d.ts.map +1 -1
- package/dist/core/references/resolver.js +325 -11
- package/dist/core/references/resolver.js.map +1 -1
- package/dist/core/references/schema-proxy.d.ts.map +1 -1
- package/dist/core/references/schema-proxy.js +27 -13
- package/dist/core/references/schema-proxy.js.map +1 -1
- package/dist/core/scope/resolver.d.ts +16 -0
- package/dist/core/scope/resolver.d.ts.map +1 -0
- package/dist/core/scope/resolver.js +45 -0
- package/dist/core/scope/resolver.js.map +1 -0
- package/dist/core/serialization/core.d.ts +1 -1
- package/dist/core/serialization/core.d.ts.map +1 -1
- package/dist/core/serialization/core.js +78 -54
- package/dist/core/serialization/core.js.map +1 -1
- package/dist/core/types/common.d.ts +23 -1
- package/dist/core/types/common.d.ts.map +1 -1
- package/dist/core/types/deployment.d.ts +71 -1
- package/dist/core/types/deployment.d.ts.map +1 -1
- package/dist/core/types/deployment.js +24 -0
- package/dist/core/types/deployment.js.map +1 -1
- package/dist/core/types/factory-scope.d.ts +42 -0
- package/dist/core/types/factory-scope.d.ts.map +1 -0
- package/dist/core/types/factory-scope.js +14 -0
- package/dist/core/types/factory-scope.js.map +1 -0
- package/dist/core/types/kubernetes.d.ts +146 -4
- package/dist/core/types/kubernetes.d.ts.map +1 -1
- package/dist/core/types/references.d.ts +47 -3
- package/dist/core/types/references.d.ts.map +1 -1
- package/dist/core/types/references.js.map +1 -1
- package/dist/core/types/serialization.d.ts +17 -6
- package/dist/core/types/serialization.d.ts.map +1 -1
- package/dist/core/utils/crd-patcher.d.ts +30 -0
- package/dist/core/utils/crd-patcher.d.ts.map +1 -0
- package/dist/core/utils/crd-patcher.js +198 -0
- package/dist/core/utils/crd-patcher.js.map +1 -0
- package/dist/core/utils/crd-schema-fix.d.ts +108 -0
- package/dist/core/utils/crd-schema-fix.d.ts.map +1 -0
- package/dist/core/utils/crd-schema-fix.js +245 -0
- package/dist/core/utils/crd-schema-fix.js.map +1 -0
- package/dist/core/utils/index.d.ts +12 -0
- package/dist/core/utils/index.d.ts.map +1 -0
- package/dist/core/utils/index.js +12 -0
- package/dist/core/utils/index.js.map +1 -0
- package/dist/core/utils/minimal-connection-reset-suppression.d.ts +16 -0
- package/dist/core/utils/minimal-connection-reset-suppression.d.ts.map +1 -0
- package/dist/core/utils/minimal-connection-reset-suppression.js +72 -0
- package/dist/core/utils/minimal-connection-reset-suppression.js.map +1 -0
- package/dist/core/utils/output-filter.d.ts +16 -0
- package/dist/core/utils/output-filter.d.ts.map +1 -0
- package/dist/core/utils/output-filter.js +90 -0
- package/dist/core/utils/output-filter.js.map +1 -0
- package/dist/core/utils/scoped-error-suppression.d.ts +25 -0
- package/dist/core/utils/scoped-error-suppression.d.ts.map +1 -0
- package/dist/core/utils/scoped-error-suppression.js +226 -0
- package/dist/core/utils/scoped-error-suppression.js.map +1 -0
- package/dist/core/validation/cel-validator.d.ts.map +1 -1
- package/dist/core/validation/cel-validator.js +51 -15
- package/dist/core/validation/cel-validator.js.map +1 -1
- package/dist/factories/apisix/compositions/apisix-bootstrap.d.ts +38 -0
- package/dist/factories/apisix/compositions/apisix-bootstrap.d.ts.map +1 -0
- package/dist/factories/apisix/compositions/apisix-bootstrap.js +280 -0
- package/dist/factories/apisix/compositions/apisix-bootstrap.js.map +1 -0
- package/dist/factories/apisix/compositions/index.d.ts +5 -0
- package/dist/factories/apisix/compositions/index.d.ts.map +1 -0
- package/dist/factories/apisix/compositions/index.js +5 -0
- package/dist/factories/apisix/compositions/index.js.map +1 -0
- package/dist/factories/apisix/index.d.ts +11 -0
- package/dist/factories/apisix/index.d.ts.map +1 -0
- package/dist/factories/apisix/index.js +11 -0
- package/dist/factories/apisix/index.js.map +1 -0
- package/dist/factories/apisix/resources/helm.d.ts +59 -0
- package/dist/factories/apisix/resources/helm.d.ts.map +1 -0
- package/dist/factories/apisix/resources/helm.js +175 -0
- package/dist/factories/apisix/resources/helm.js.map +1 -0
- package/dist/factories/apisix/resources/index.d.ts +5 -0
- package/dist/factories/apisix/resources/index.d.ts.map +1 -0
- package/dist/factories/apisix/resources/index.js +5 -0
- package/dist/factories/apisix/resources/index.js.map +1 -0
- package/dist/factories/apisix/types.d.ts +339 -0
- package/dist/factories/apisix/types.d.ts.map +1 -0
- package/dist/factories/apisix/types.js +88 -0
- package/dist/factories/apisix/types.js.map +1 -0
- package/dist/factories/apisix/utils/helm-values-mapper.d.ts +19 -0
- package/dist/factories/apisix/utils/helm-values-mapper.d.ts.map +1 -0
- package/dist/factories/apisix/utils/helm-values-mapper.js +108 -0
- package/dist/factories/apisix/utils/helm-values-mapper.js.map +1 -0
- package/dist/factories/apisix/utils/index.d.ts +5 -0
- package/dist/factories/apisix/utils/index.d.ts.map +1 -0
- package/dist/factories/apisix/utils/index.js +5 -0
- package/dist/factories/apisix/utils/index.js.map +1 -0
- package/dist/factories/cert-manager/compositions/cert-manager-bootstrap.d.ts +45 -0
- package/dist/factories/cert-manager/compositions/cert-manager-bootstrap.d.ts.map +1 -0
- package/dist/factories/cert-manager/compositions/cert-manager-bootstrap.js +323 -0
- package/dist/factories/cert-manager/compositions/cert-manager-bootstrap.js.map +1 -0
- package/dist/factories/cert-manager/compositions/index.d.ts +2 -0
- package/dist/factories/cert-manager/compositions/index.d.ts.map +1 -0
- package/dist/factories/cert-manager/compositions/index.js +2 -0
- package/dist/factories/cert-manager/compositions/index.js.map +1 -0
- package/dist/factories/cert-manager/index.d.ts +10 -0
- package/dist/factories/cert-manager/index.d.ts.map +1 -0
- package/dist/factories/cert-manager/index.js +19 -0
- package/dist/factories/cert-manager/index.js.map +1 -0
- package/dist/factories/cert-manager/resources/certificates.d.ts +39 -0
- package/dist/factories/cert-manager/resources/certificates.d.ts.map +1 -0
- package/dist/factories/cert-manager/resources/certificates.js +132 -0
- package/dist/factories/cert-manager/resources/certificates.js.map +1 -0
- package/dist/factories/cert-manager/resources/challenges.d.ts +113 -0
- package/dist/factories/cert-manager/resources/challenges.d.ts.map +1 -0
- package/dist/factories/cert-manager/resources/challenges.js +281 -0
- package/dist/factories/cert-manager/resources/challenges.js.map +1 -0
- package/dist/factories/cert-manager/resources/helm.d.ts +57 -0
- package/dist/factories/cert-manager/resources/helm.d.ts.map +1 -0
- package/dist/factories/cert-manager/resources/helm.js +390 -0
- package/dist/factories/cert-manager/resources/helm.js.map +1 -0
- package/dist/factories/cert-manager/resources/index.d.ts +5 -0
- package/dist/factories/cert-manager/resources/index.d.ts.map +1 -0
- package/dist/factories/cert-manager/resources/index.js +6 -0
- package/dist/factories/cert-manager/resources/index.js.map +1 -0
- package/dist/factories/cert-manager/resources/issuers.d.ts +79 -0
- package/dist/factories/cert-manager/resources/issuers.d.ts.map +1 -0
- package/dist/factories/cert-manager/resources/issuers.js +204 -0
- package/dist/factories/cert-manager/resources/issuers.js.map +1 -0
- package/dist/factories/cert-manager/types.d.ts +1015 -0
- package/dist/factories/cert-manager/types.d.ts.map +1 -0
- package/dist/factories/cert-manager/types.js +198 -0
- package/dist/factories/cert-manager/types.js.map +1 -0
- package/dist/factories/cert-manager/utils/helm-values-mapper.d.ts +19 -0
- package/dist/factories/cert-manager/utils/helm-values-mapper.d.ts.map +1 -0
- package/dist/factories/cert-manager/utils/helm-values-mapper.js +117 -0
- package/dist/factories/cert-manager/utils/helm-values-mapper.js.map +1 -0
- package/dist/factories/cert-manager/utils/index.d.ts +2 -0
- package/dist/factories/cert-manager/utils/index.d.ts.map +1 -0
- package/dist/factories/cert-manager/utils/index.js +2 -0
- package/dist/factories/cert-manager/utils/index.js.map +1 -0
- package/dist/factories/cilium/compositions/cilium-bootstrap.d.ts +220 -0
- package/dist/factories/cilium/compositions/cilium-bootstrap.d.ts.map +1 -0
- package/dist/factories/cilium/compositions/cilium-bootstrap.js +293 -0
- package/dist/factories/cilium/compositions/cilium-bootstrap.js.map +1 -0
- package/dist/factories/cilium/compositions/index.d.ts +8 -0
- package/dist/factories/cilium/compositions/index.d.ts.map +1 -0
- package/dist/factories/cilium/compositions/index.js +11 -0
- package/dist/factories/cilium/compositions/index.js.map +1 -0
- package/dist/factories/cilium/index.d.ts +10 -0
- package/dist/factories/cilium/index.d.ts.map +1 -0
- package/dist/factories/cilium/index.js +19 -0
- package/dist/factories/cilium/index.js.map +1 -0
- package/dist/factories/cilium/resources/bgp.d.ts +10 -0
- package/dist/factories/cilium/resources/bgp.d.ts.map +1 -0
- package/dist/factories/cilium/resources/bgp.js +14 -0
- package/dist/factories/cilium/resources/bgp.js.map +1 -0
- package/dist/factories/cilium/resources/gateway.d.ts +72 -0
- package/dist/factories/cilium/resources/gateway.d.ts.map +1 -0
- package/dist/factories/cilium/resources/gateway.js +118 -0
- package/dist/factories/cilium/resources/gateway.js.map +1 -0
- package/dist/factories/cilium/resources/helm.d.ts +93 -0
- package/dist/factories/cilium/resources/helm.d.ts.map +1 -0
- package/dist/factories/cilium/resources/helm.js +377 -0
- package/dist/factories/cilium/resources/helm.js.map +1 -0
- package/dist/factories/cilium/resources/index.d.ts +14 -0
- package/dist/factories/cilium/resources/index.d.ts.map +1 -0
- package/dist/factories/cilium/resources/index.js +35 -0
- package/dist/factories/cilium/resources/index.js.map +1 -0
- package/dist/factories/cilium/resources/load-balancer.d.ts +9 -0
- package/dist/factories/cilium/resources/load-balancer.d.ts.map +1 -0
- package/dist/factories/cilium/resources/load-balancer.js +12 -0
- package/dist/factories/cilium/resources/load-balancer.js.map +1 -0
- package/dist/factories/cilium/resources/networking.d.ts +202 -0
- package/dist/factories/cilium/resources/networking.d.ts.map +1 -0
- package/dist/factories/cilium/resources/networking.js +581 -0
- package/dist/factories/cilium/resources/networking.js.map +1 -0
- package/dist/factories/cilium/resources/observability.d.ts +9 -0
- package/dist/factories/cilium/resources/observability.d.ts.map +1 -0
- package/dist/factories/cilium/resources/observability.js +11 -0
- package/dist/factories/cilium/resources/observability.js.map +1 -0
- package/dist/factories/cilium/resources/security.d.ts +10 -0
- package/dist/factories/cilium/resources/security.d.ts.map +1 -0
- package/dist/factories/cilium/resources/security.js +14 -0
- package/dist/factories/cilium/resources/security.js.map +1 -0
- package/dist/factories/cilium/types.d.ts +1001 -0
- package/dist/factories/cilium/types.d.ts.map +1 -0
- package/dist/factories/cilium/types.js +79 -0
- package/dist/factories/cilium/types.js.map +1 -0
- package/dist/factories/external-dns/compositions/external-dns-bootstrap.d.ts +32 -0
- package/dist/factories/external-dns/compositions/external-dns-bootstrap.d.ts.map +1 -0
- package/dist/factories/external-dns/compositions/external-dns-bootstrap.js +152 -0
- package/dist/factories/external-dns/compositions/external-dns-bootstrap.js.map +1 -0
- package/dist/factories/external-dns/compositions/index.d.ts +2 -0
- package/dist/factories/external-dns/compositions/index.d.ts.map +1 -0
- package/dist/factories/external-dns/compositions/index.js +3 -0
- package/dist/factories/external-dns/compositions/index.js.map +1 -0
- package/dist/factories/external-dns/index.d.ts +10 -0
- package/dist/factories/external-dns/index.d.ts.map +1 -0
- package/dist/factories/external-dns/index.js +19 -0
- package/dist/factories/external-dns/index.js.map +1 -0
- package/dist/factories/external-dns/resources/dns-endpoint.d.ts +54 -0
- package/dist/factories/external-dns/resources/dns-endpoint.d.ts.map +1 -0
- package/dist/factories/external-dns/resources/dns-endpoint.js +53 -0
- package/dist/factories/external-dns/resources/dns-endpoint.js.map +1 -0
- package/dist/factories/external-dns/resources/helm.d.ts +57 -0
- package/dist/factories/external-dns/resources/helm.d.ts.map +1 -0
- package/dist/factories/external-dns/resources/helm.js +435 -0
- package/dist/factories/external-dns/resources/helm.js.map +1 -0
- package/dist/factories/external-dns/resources/index.d.ts +3 -0
- package/dist/factories/external-dns/resources/index.d.ts.map +1 -0
- package/dist/factories/external-dns/resources/index.js +4 -0
- package/dist/factories/external-dns/resources/index.js.map +1 -0
- package/dist/factories/external-dns/types.d.ts +180 -0
- package/dist/factories/external-dns/types.d.ts.map +1 -0
- package/dist/factories/external-dns/types.js +39 -0
- package/dist/factories/external-dns/types.js.map +1 -0
- package/dist/factories/flux/git-repository.d.ts +2 -2
- package/dist/factories/flux/git-repository.d.ts.map +1 -1
- package/dist/factories/helm/types.d.ts +24 -3
- package/dist/factories/helm/types.d.ts.map +1 -1
- package/dist/factories/index.d.ts +7 -1
- package/dist/factories/index.d.ts.map +1 -1
- package/dist/factories/index.js +21 -1
- package/dist/factories/index.js.map +1 -1
- package/dist/factories/kubernetes/config/config-map.d.ts +4 -1
- package/dist/factories/kubernetes/config/config-map.d.ts.map +1 -1
- package/dist/factories/kubernetes/config/config-map.js +4 -0
- package/dist/factories/kubernetes/config/config-map.js.map +1 -1
- package/dist/factories/kubernetes/config/secret.d.ts +6 -1
- package/dist/factories/kubernetes/config/secret.d.ts.map +1 -1
- package/dist/factories/kubernetes/config/secret.js +4 -0
- package/dist/factories/kubernetes/config/secret.js.map +1 -1
- package/dist/factories/kubernetes/networking/service.d.ts.map +1 -1
- package/dist/factories/kubernetes/networking/service.js +6 -1
- package/dist/factories/kubernetes/networking/service.js.map +1 -1
- package/dist/factories/kubernetes/rbac/cluster-role-binding.d.ts.map +1 -1
- package/dist/factories/kubernetes/rbac/cluster-role-binding.js +1 -1
- package/dist/factories/kubernetes/rbac/cluster-role-binding.js.map +1 -1
- package/dist/factories/kubernetes/rbac/cluster-role.d.ts.map +1 -1
- package/dist/factories/kubernetes/rbac/cluster-role.js +1 -1
- package/dist/factories/kubernetes/rbac/cluster-role.js.map +1 -1
- package/dist/factories/kubernetes/scheduling/priority-class.d.ts.map +1 -1
- package/dist/factories/kubernetes/scheduling/priority-class.js +1 -1
- package/dist/factories/kubernetes/scheduling/priority-class.js.map +1 -1
- package/dist/factories/kubernetes/storage/storage-class.d.ts.map +1 -1
- package/dist/factories/kubernetes/storage/storage-class.js +1 -1
- package/dist/factories/kubernetes/storage/storage-class.js.map +1 -1
- package/dist/factories/kubernetes/workloads/deployment.d.ts.map +1 -1
- package/dist/factories/kubernetes/workloads/deployment.js +9 -4
- package/dist/factories/kubernetes/workloads/deployment.js.map +1 -1
- package/dist/factories/kubernetes/yaml/yaml-directory.js +2 -2
- package/dist/factories/kubernetes/yaml/yaml-directory.js.map +1 -1
- package/dist/factories/kubernetes/yaml/yaml-file.d.ts +31 -1
- package/dist/factories/kubernetes/yaml/yaml-file.d.ts.map +1 -1
- package/dist/factories/kubernetes/yaml/yaml-file.js +80 -7
- package/dist/factories/kubernetes/yaml/yaml-file.js.map +1 -1
- package/dist/factories/pebble/compositions/index.d.ts +2 -0
- package/dist/factories/pebble/compositions/index.d.ts.map +1 -0
- package/dist/factories/pebble/compositions/index.js +3 -0
- package/dist/factories/pebble/compositions/index.js.map +1 -0
- package/dist/factories/pebble/compositions/pebble-bootstrap.d.ts +56 -0
- package/dist/factories/pebble/compositions/pebble-bootstrap.d.ts.map +1 -0
- package/dist/factories/pebble/compositions/pebble-bootstrap.js +97 -0
- package/dist/factories/pebble/compositions/pebble-bootstrap.js.map +1 -0
- package/dist/factories/pebble/index.d.ts +10 -0
- package/dist/factories/pebble/index.d.ts.map +1 -0
- package/dist/factories/pebble/index.js +19 -0
- package/dist/factories/pebble/index.js.map +1 -0
- package/dist/factories/pebble/resources/helm.d.ts +99 -0
- package/dist/factories/pebble/resources/helm.d.ts.map +1 -0
- package/dist/factories/pebble/resources/helm.js +167 -0
- package/dist/factories/pebble/resources/helm.js.map +1 -0
- package/dist/factories/pebble/resources/index.d.ts +2 -0
- package/dist/factories/pebble/resources/index.d.ts.map +1 -0
- package/dist/factories/pebble/resources/index.js +3 -0
- package/dist/factories/pebble/resources/index.js.map +1 -0
- package/dist/factories/pebble/types.d.ts +184 -0
- package/dist/factories/pebble/types.d.ts.map +1 -0
- package/dist/factories/pebble/types.js +23 -0
- package/dist/factories/pebble/types.js.map +1 -0
- package/dist/factories/pebble/utils/helm-values-mapper.d.ts +21 -0
- package/dist/factories/pebble/utils/helm-values-mapper.d.ts.map +1 -0
- package/dist/factories/pebble/utils/helm-values-mapper.js +96 -0
- package/dist/factories/pebble/utils/helm-values-mapper.js.map +1 -0
- package/dist/factories/shared.d.ts +18 -1
- package/dist/factories/shared.d.ts.map +1 -1
- package/dist/factories/shared.js +89 -8
- package/dist/factories/shared.js.map +1 -1
- package/dist/factories/simple/config/config-map.d.ts +7 -2
- package/dist/factories/simple/config/config-map.d.ts.map +1 -1
- package/dist/factories/simple/config/config-map.js +3 -0
- package/dist/factories/simple/config/config-map.js.map +1 -1
- package/dist/factories/simple/config/secret.d.ts +11 -2
- package/dist/factories/simple/config/secret.d.ts.map +1 -1
- package/dist/factories/simple/config/secret.js +23 -1
- package/dist/factories/simple/config/secret.js.map +1 -1
- package/dist/factories/simple/storage/persistent-volume-claim.d.ts.map +1 -1
- package/dist/factories/simple/storage/persistent-volume-claim.js +1 -0
- package/dist/factories/simple/storage/persistent-volume-claim.js.map +1 -1
- package/dist/factories/simple/types.d.ts +5 -1
- package/dist/factories/simple/types.d.ts.map +1 -1
- package/dist/utils/helpers.d.ts.map +1 -1
- package/dist/utils/helpers.js +67 -0
- package/dist/utils/helpers.js.map +1 -1
- package/dist/utils/type-guards.d.ts +5 -0
- package/dist/utils/type-guards.d.ts.map +1 -1
- package/dist/utils/type-guards.js +9 -3
- package/dist/utils/type-guards.js.map +1 -1
- package/package.json +49 -5
|
@@ -0,0 +1,1015 @@
|
|
|
1
|
+
export interface ResourceRequirements {
|
|
2
|
+
limits?: {
|
|
3
|
+
cpu?: string;
|
|
4
|
+
memory?: string;
|
|
5
|
+
[key: string]: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
requests?: {
|
|
8
|
+
cpu?: string;
|
|
9
|
+
memory?: string;
|
|
10
|
+
[key: string]: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface Toleration {
|
|
14
|
+
key?: string;
|
|
15
|
+
operator?: 'Exists' | 'Equal';
|
|
16
|
+
value?: string;
|
|
17
|
+
effect?: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
|
|
18
|
+
tolerationSeconds?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface NodeAffinity {
|
|
21
|
+
requiredDuringSchedulingIgnoredDuringExecution?: {
|
|
22
|
+
nodeSelectorTerms: {
|
|
23
|
+
matchExpressions?: {
|
|
24
|
+
key: string;
|
|
25
|
+
operator: 'In' | 'NotIn' | 'Exists' | 'DoesNotExist' | 'Gt' | 'Lt';
|
|
26
|
+
values?: string[];
|
|
27
|
+
}[];
|
|
28
|
+
matchFields?: {
|
|
29
|
+
key: string;
|
|
30
|
+
operator: 'In' | 'NotIn' | 'Exists' | 'DoesNotExist' | 'Gt' | 'Lt';
|
|
31
|
+
values?: string[];
|
|
32
|
+
}[];
|
|
33
|
+
}[];
|
|
34
|
+
};
|
|
35
|
+
preferredDuringSchedulingIgnoredDuringExecution?: {
|
|
36
|
+
weight: number;
|
|
37
|
+
preference: {
|
|
38
|
+
matchExpressions?: {
|
|
39
|
+
key: string;
|
|
40
|
+
operator: 'In' | 'NotIn' | 'Exists' | 'DoesNotExist' | 'Gt' | 'Lt';
|
|
41
|
+
values?: string[];
|
|
42
|
+
}[];
|
|
43
|
+
matchFields?: {
|
|
44
|
+
key: string;
|
|
45
|
+
operator: 'In' | 'NotIn' | 'Exists' | 'DoesNotExist' | 'Gt' | 'Lt';
|
|
46
|
+
values?: string[];
|
|
47
|
+
}[];
|
|
48
|
+
};
|
|
49
|
+
}[];
|
|
50
|
+
}
|
|
51
|
+
export interface PodAffinity {
|
|
52
|
+
requiredDuringSchedulingIgnoredDuringExecution?: {
|
|
53
|
+
labelSelector?: {
|
|
54
|
+
matchExpressions?: {
|
|
55
|
+
key: string;
|
|
56
|
+
operator: 'In' | 'NotIn' | 'Exists' | 'DoesNotExist';
|
|
57
|
+
values?: string[];
|
|
58
|
+
}[];
|
|
59
|
+
matchLabels?: Record<string, string>;
|
|
60
|
+
};
|
|
61
|
+
namespaces?: string[];
|
|
62
|
+
topologyKey: string;
|
|
63
|
+
}[];
|
|
64
|
+
preferredDuringSchedulingIgnoredDuringExecution?: {
|
|
65
|
+
weight: number;
|
|
66
|
+
podAffinityTerm: {
|
|
67
|
+
labelSelector?: {
|
|
68
|
+
matchExpressions?: {
|
|
69
|
+
key: string;
|
|
70
|
+
operator: 'In' | 'NotIn' | 'Exists' | 'DoesNotExist';
|
|
71
|
+
values?: string[];
|
|
72
|
+
}[];
|
|
73
|
+
matchLabels?: Record<string, string>;
|
|
74
|
+
};
|
|
75
|
+
namespaces?: string[];
|
|
76
|
+
topologyKey: string;
|
|
77
|
+
};
|
|
78
|
+
}[];
|
|
79
|
+
}
|
|
80
|
+
export interface PodAntiAffinity {
|
|
81
|
+
requiredDuringSchedulingIgnoredDuringExecution?: {
|
|
82
|
+
labelSelector?: {
|
|
83
|
+
matchExpressions?: {
|
|
84
|
+
key: string;
|
|
85
|
+
operator: 'In' | 'NotIn' | 'Exists' | 'DoesNotExist';
|
|
86
|
+
values?: string[];
|
|
87
|
+
}[];
|
|
88
|
+
matchLabels?: Record<string, string>;
|
|
89
|
+
};
|
|
90
|
+
namespaces?: string[];
|
|
91
|
+
topologyKey: string;
|
|
92
|
+
}[];
|
|
93
|
+
preferredDuringSchedulingIgnoredDuringExecution?: {
|
|
94
|
+
weight: number;
|
|
95
|
+
podAffinityTerm: {
|
|
96
|
+
labelSelector?: {
|
|
97
|
+
matchExpressions?: {
|
|
98
|
+
key: string;
|
|
99
|
+
operator: 'In' | 'NotIn' | 'Exists' | 'DoesNotExist';
|
|
100
|
+
values?: string[];
|
|
101
|
+
}[];
|
|
102
|
+
matchLabels?: Record<string, string>;
|
|
103
|
+
};
|
|
104
|
+
namespaces?: string[];
|
|
105
|
+
topologyKey: string;
|
|
106
|
+
};
|
|
107
|
+
}[];
|
|
108
|
+
}
|
|
109
|
+
export interface Affinity {
|
|
110
|
+
nodeAffinity?: NodeAffinity;
|
|
111
|
+
podAffinity?: PodAffinity;
|
|
112
|
+
podAntiAffinity?: PodAntiAffinity;
|
|
113
|
+
}
|
|
114
|
+
export interface SecurityContext {
|
|
115
|
+
runAsUser?: number;
|
|
116
|
+
runAsGroup?: number;
|
|
117
|
+
runAsNonRoot?: boolean;
|
|
118
|
+
fsGroup?: number;
|
|
119
|
+
seLinuxOptions?: {
|
|
120
|
+
level?: string;
|
|
121
|
+
role?: string;
|
|
122
|
+
type?: string;
|
|
123
|
+
user?: string;
|
|
124
|
+
};
|
|
125
|
+
windowsOptions?: {
|
|
126
|
+
gmsaCredentialSpec?: string;
|
|
127
|
+
gmsaCredentialSpecName?: string;
|
|
128
|
+
hostProcess?: boolean;
|
|
129
|
+
runAsUserName?: string;
|
|
130
|
+
};
|
|
131
|
+
fsGroupChangePolicy?: 'Always' | 'OnRootMismatch';
|
|
132
|
+
supplementalGroups?: number[];
|
|
133
|
+
}
|
|
134
|
+
export interface EnvVar {
|
|
135
|
+
name: string;
|
|
136
|
+
value?: string;
|
|
137
|
+
valueFrom?: {
|
|
138
|
+
fieldRef?: {
|
|
139
|
+
apiVersion?: string;
|
|
140
|
+
fieldPath: string;
|
|
141
|
+
};
|
|
142
|
+
resourceFieldRef?: {
|
|
143
|
+
containerName?: string;
|
|
144
|
+
resource: string;
|
|
145
|
+
divisor?: string;
|
|
146
|
+
};
|
|
147
|
+
configMapKeyRef?: {
|
|
148
|
+
name?: string;
|
|
149
|
+
key: string;
|
|
150
|
+
optional?: boolean;
|
|
151
|
+
};
|
|
152
|
+
secretKeyRef?: {
|
|
153
|
+
name?: string;
|
|
154
|
+
key: string;
|
|
155
|
+
optional?: boolean;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
export interface Volume {
|
|
160
|
+
name: string;
|
|
161
|
+
hostPath?: {
|
|
162
|
+
path: string;
|
|
163
|
+
type?: string;
|
|
164
|
+
};
|
|
165
|
+
emptyDir?: {
|
|
166
|
+
medium?: string;
|
|
167
|
+
sizeLimit?: string;
|
|
168
|
+
};
|
|
169
|
+
secret?: {
|
|
170
|
+
secretName?: string;
|
|
171
|
+
items?: {
|
|
172
|
+
key: string;
|
|
173
|
+
path: string;
|
|
174
|
+
mode?: number;
|
|
175
|
+
}[];
|
|
176
|
+
defaultMode?: number;
|
|
177
|
+
optional?: boolean;
|
|
178
|
+
};
|
|
179
|
+
configMap?: {
|
|
180
|
+
name?: string;
|
|
181
|
+
items?: {
|
|
182
|
+
key: string;
|
|
183
|
+
path: string;
|
|
184
|
+
mode?: number;
|
|
185
|
+
}[];
|
|
186
|
+
defaultMode?: number;
|
|
187
|
+
optional?: boolean;
|
|
188
|
+
};
|
|
189
|
+
persistentVolumeClaim?: {
|
|
190
|
+
claimName: string;
|
|
191
|
+
readOnly?: boolean;
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
export interface VolumeMount {
|
|
195
|
+
name: string;
|
|
196
|
+
mountPath: string;
|
|
197
|
+
subPath?: string;
|
|
198
|
+
readOnly?: boolean;
|
|
199
|
+
mountPropagation?: 'None' | 'HostToContainer' | 'Bidirectional';
|
|
200
|
+
}
|
|
201
|
+
export interface LabelSelector {
|
|
202
|
+
matchExpressions?: {
|
|
203
|
+
key: string;
|
|
204
|
+
operator: 'In' | 'NotIn' | 'Exists' | 'DoesNotExist';
|
|
205
|
+
values?: string[];
|
|
206
|
+
}[];
|
|
207
|
+
matchLabels?: Record<string, string>;
|
|
208
|
+
}
|
|
209
|
+
export interface CertManagerBootstrapConfig {
|
|
210
|
+
name: string;
|
|
211
|
+
namespace?: string;
|
|
212
|
+
version?: string;
|
|
213
|
+
global?: {
|
|
214
|
+
leaderElection?: {
|
|
215
|
+
namespace?: string;
|
|
216
|
+
};
|
|
217
|
+
logLevel?: number;
|
|
218
|
+
podSecurityPolicy?: {
|
|
219
|
+
enabled?: boolean;
|
|
220
|
+
useAppArmor?: boolean;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
installCRDs?: boolean;
|
|
224
|
+
replicaCount?: number;
|
|
225
|
+
strategy?: {
|
|
226
|
+
type?: 'Recreate' | 'RollingUpdate';
|
|
227
|
+
rollingUpdate?: {
|
|
228
|
+
maxSurge?: number | string;
|
|
229
|
+
maxUnavailable?: number | string;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
controller?: {
|
|
233
|
+
image?: {
|
|
234
|
+
repository?: string;
|
|
235
|
+
tag?: string;
|
|
236
|
+
pullPolicy?: 'Always' | 'IfNotPresent' | 'Never';
|
|
237
|
+
};
|
|
238
|
+
resources?: ResourceRequirements;
|
|
239
|
+
nodeSelector?: Record<string, string>;
|
|
240
|
+
tolerations?: Toleration[];
|
|
241
|
+
affinity?: Affinity;
|
|
242
|
+
securityContext?: SecurityContext;
|
|
243
|
+
containerSecurityContext?: SecurityContext;
|
|
244
|
+
volumes?: Volume[];
|
|
245
|
+
volumeMounts?: VolumeMount[];
|
|
246
|
+
extraArgs?: string[];
|
|
247
|
+
env?: EnvVar[];
|
|
248
|
+
serviceAccount?: {
|
|
249
|
+
create?: boolean;
|
|
250
|
+
name?: string;
|
|
251
|
+
annotations?: Record<string, string>;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
webhook?: {
|
|
255
|
+
enabled?: boolean;
|
|
256
|
+
replicaCount?: number;
|
|
257
|
+
image?: {
|
|
258
|
+
repository?: string;
|
|
259
|
+
tag?: string;
|
|
260
|
+
pullPolicy?: 'Always' | 'IfNotPresent' | 'Never';
|
|
261
|
+
};
|
|
262
|
+
resources?: ResourceRequirements;
|
|
263
|
+
nodeSelector?: Record<string, string>;
|
|
264
|
+
tolerations?: Toleration[];
|
|
265
|
+
affinity?: Affinity;
|
|
266
|
+
securityContext?: SecurityContext;
|
|
267
|
+
containerSecurityContext?: SecurityContext;
|
|
268
|
+
args?: string[];
|
|
269
|
+
env?: EnvVar[];
|
|
270
|
+
serviceAccount?: {
|
|
271
|
+
create?: boolean;
|
|
272
|
+
name?: string;
|
|
273
|
+
annotations?: Record<string, string>;
|
|
274
|
+
};
|
|
275
|
+
config?: {
|
|
276
|
+
apiVersion?: string;
|
|
277
|
+
kind?: string;
|
|
278
|
+
metadata?: {
|
|
279
|
+
name?: string;
|
|
280
|
+
};
|
|
281
|
+
webhooks?: WebhookConfig[];
|
|
282
|
+
};
|
|
283
|
+
mutatingAdmissionWebhooks?: {
|
|
284
|
+
failurePolicy?: 'Fail' | 'Ignore';
|
|
285
|
+
admissionReviewVersions?: string[];
|
|
286
|
+
timeoutSeconds?: number;
|
|
287
|
+
};
|
|
288
|
+
validatingAdmissionWebhooks?: {
|
|
289
|
+
failurePolicy?: 'Fail' | 'Ignore';
|
|
290
|
+
admissionReviewVersions?: string[];
|
|
291
|
+
timeoutSeconds?: number;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
cainjector?: {
|
|
295
|
+
enabled?: boolean;
|
|
296
|
+
replicaCount?: number;
|
|
297
|
+
image?: {
|
|
298
|
+
repository?: string;
|
|
299
|
+
tag?: string;
|
|
300
|
+
pullPolicy?: 'Always' | 'IfNotPresent' | 'Never';
|
|
301
|
+
};
|
|
302
|
+
resources?: ResourceRequirements;
|
|
303
|
+
nodeSelector?: Record<string, string>;
|
|
304
|
+
tolerations?: Toleration[];
|
|
305
|
+
affinity?: Affinity;
|
|
306
|
+
securityContext?: SecurityContext;
|
|
307
|
+
containerSecurityContext?: SecurityContext;
|
|
308
|
+
args?: string[];
|
|
309
|
+
env?: EnvVar[];
|
|
310
|
+
serviceAccount?: {
|
|
311
|
+
create?: boolean;
|
|
312
|
+
name?: string;
|
|
313
|
+
annotations?: Record<string, string>;
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
acmesolver?: {
|
|
317
|
+
image?: {
|
|
318
|
+
repository?: string;
|
|
319
|
+
tag?: string;
|
|
320
|
+
pullPolicy?: 'Always' | 'IfNotPresent' | 'Never';
|
|
321
|
+
};
|
|
322
|
+
resources?: ResourceRequirements;
|
|
323
|
+
nodeSelector?: Record<string, string>;
|
|
324
|
+
tolerations?: Toleration[];
|
|
325
|
+
affinity?: Affinity;
|
|
326
|
+
securityContext?: SecurityContext;
|
|
327
|
+
containerSecurityContext?: SecurityContext;
|
|
328
|
+
};
|
|
329
|
+
startupapicheck?: {
|
|
330
|
+
enabled?: boolean;
|
|
331
|
+
image?: {
|
|
332
|
+
repository?: string;
|
|
333
|
+
tag?: string;
|
|
334
|
+
pullPolicy?: 'Always' | 'IfNotPresent' | 'Never';
|
|
335
|
+
};
|
|
336
|
+
resources?: ResourceRequirements;
|
|
337
|
+
nodeSelector?: Record<string, string>;
|
|
338
|
+
tolerations?: Toleration[];
|
|
339
|
+
affinity?: Affinity;
|
|
340
|
+
securityContext?: SecurityContext;
|
|
341
|
+
containerSecurityContext?: SecurityContext;
|
|
342
|
+
timeout?: string;
|
|
343
|
+
backoffLimit?: number;
|
|
344
|
+
jobAnnotations?: Record<string, string>;
|
|
345
|
+
podAnnotations?: Record<string, string>;
|
|
346
|
+
};
|
|
347
|
+
prometheus?: {
|
|
348
|
+
enabled?: boolean;
|
|
349
|
+
servicemonitor?: {
|
|
350
|
+
enabled?: boolean;
|
|
351
|
+
prometheusInstance?: string;
|
|
352
|
+
targetPort?: number;
|
|
353
|
+
path?: string;
|
|
354
|
+
interval?: string;
|
|
355
|
+
scrapeTimeout?: string;
|
|
356
|
+
labels?: Record<string, string>;
|
|
357
|
+
honorLabels?: boolean;
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
customValues?: Record<string, any>;
|
|
361
|
+
id?: string;
|
|
362
|
+
}
|
|
363
|
+
export interface CertManagerBootstrapStatus {
|
|
364
|
+
phase: 'Pending' | 'Installing' | 'Ready' | 'Failed' | 'Upgrading';
|
|
365
|
+
ready: boolean;
|
|
366
|
+
version: string;
|
|
367
|
+
controllerReady: boolean;
|
|
368
|
+
webhookReady: boolean;
|
|
369
|
+
cainjectorReady: boolean;
|
|
370
|
+
crds: {
|
|
371
|
+
installed: boolean;
|
|
372
|
+
version: string;
|
|
373
|
+
};
|
|
374
|
+
}
|
|
375
|
+
export interface WebhookConfig {
|
|
376
|
+
name: string;
|
|
377
|
+
clientConfig: {
|
|
378
|
+
service?: {
|
|
379
|
+
name: string;
|
|
380
|
+
namespace: string;
|
|
381
|
+
path?: string;
|
|
382
|
+
port?: number;
|
|
383
|
+
};
|
|
384
|
+
url?: string;
|
|
385
|
+
caBundle?: string;
|
|
386
|
+
};
|
|
387
|
+
rules?: {
|
|
388
|
+
operations: ('CREATE' | 'UPDATE' | 'DELETE' | 'CONNECT')[];
|
|
389
|
+
apiGroups: string[];
|
|
390
|
+
apiVersions: string[];
|
|
391
|
+
resources: string[];
|
|
392
|
+
scope?: 'Cluster' | 'Namespaced' | '*';
|
|
393
|
+
}[];
|
|
394
|
+
admissionReviewVersions: string[];
|
|
395
|
+
sideEffects: 'None' | 'NoneOnDryRun' | 'Some' | 'Unknown';
|
|
396
|
+
timeoutSeconds?: number;
|
|
397
|
+
failurePolicy?: 'Fail' | 'Ignore';
|
|
398
|
+
matchPolicy?: 'Exact' | 'Equivalent';
|
|
399
|
+
namespaceSelector?: LabelSelector;
|
|
400
|
+
objectSelector?: LabelSelector;
|
|
401
|
+
}
|
|
402
|
+
export interface CertificateConfig {
|
|
403
|
+
name: string;
|
|
404
|
+
namespace?: string;
|
|
405
|
+
spec: {
|
|
406
|
+
secretName: string;
|
|
407
|
+
issuerRef: {
|
|
408
|
+
name: string;
|
|
409
|
+
kind: 'Issuer' | 'ClusterIssuer';
|
|
410
|
+
group?: string;
|
|
411
|
+
};
|
|
412
|
+
commonName?: string;
|
|
413
|
+
dnsNames?: string[];
|
|
414
|
+
ipAddresses?: string[];
|
|
415
|
+
uris?: string[];
|
|
416
|
+
emailAddresses?: string[];
|
|
417
|
+
subject?: {
|
|
418
|
+
organizationalUnits?: string[];
|
|
419
|
+
countries?: string[];
|
|
420
|
+
organizations?: string[];
|
|
421
|
+
localities?: string[];
|
|
422
|
+
provinces?: string[];
|
|
423
|
+
streetAddresses?: string[];
|
|
424
|
+
postalCodes?: string[];
|
|
425
|
+
serialNumber?: string;
|
|
426
|
+
};
|
|
427
|
+
duration?: string;
|
|
428
|
+
renewBefore?: string;
|
|
429
|
+
usages?: ('signing' | 'digital signature' | 'content commitment' | 'key encipherment' | 'key agreement' | 'data encipherment' | 'cert sign' | 'crl sign' | 'encipher only' | 'decipher only' | 'any' | 'server auth' | 'client auth' | 'code signing' | 'email protection' | 's/mime' | 'ipsec end system' | 'ipsec tunnel' | 'ipsec user' | 'timestamping' | 'ocsp signing' | 'microsoft sgc' | 'netscape sgc')[];
|
|
430
|
+
privateKey?: {
|
|
431
|
+
algorithm?: 'RSA' | 'ECDSA' | 'Ed25519';
|
|
432
|
+
encoding?: 'PKCS1' | 'PKCS8';
|
|
433
|
+
size?: number;
|
|
434
|
+
rotationPolicy?: 'Never' | 'Always';
|
|
435
|
+
};
|
|
436
|
+
keystores?: {
|
|
437
|
+
jks?: {
|
|
438
|
+
create?: boolean;
|
|
439
|
+
passwordSecretRef?: {
|
|
440
|
+
name: string;
|
|
441
|
+
key: string;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
pkcs12?: {
|
|
445
|
+
create?: boolean;
|
|
446
|
+
passwordSecretRef?: {
|
|
447
|
+
name: string;
|
|
448
|
+
key: string;
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
additionalOutputFormats?: {
|
|
453
|
+
type: 'DER' | 'CombinedPEM';
|
|
454
|
+
}[];
|
|
455
|
+
secretTemplate?: {
|
|
456
|
+
annotations?: Record<string, string>;
|
|
457
|
+
labels?: Record<string, string>;
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
id?: string;
|
|
461
|
+
}
|
|
462
|
+
export interface ClusterIssuerConfig {
|
|
463
|
+
name: string;
|
|
464
|
+
spec: {
|
|
465
|
+
acme?: {
|
|
466
|
+
server: string;
|
|
467
|
+
email: string;
|
|
468
|
+
privateKeySecretRef: {
|
|
469
|
+
name: string;
|
|
470
|
+
};
|
|
471
|
+
externalAccountBinding?: {
|
|
472
|
+
keyID: string;
|
|
473
|
+
keySecretRef: {
|
|
474
|
+
name: string;
|
|
475
|
+
key: string;
|
|
476
|
+
};
|
|
477
|
+
keyAlgorithm?: 'HS256' | 'HS384' | 'HS512';
|
|
478
|
+
};
|
|
479
|
+
solvers: {
|
|
480
|
+
selector?: {
|
|
481
|
+
dnsNames?: string[];
|
|
482
|
+
dnsZones?: string[];
|
|
483
|
+
matchLabels?: Record<string, string>;
|
|
484
|
+
};
|
|
485
|
+
http01?: {
|
|
486
|
+
ingress?: {
|
|
487
|
+
class?: string;
|
|
488
|
+
name?: string;
|
|
489
|
+
podTemplate?: {
|
|
490
|
+
metadata?: {
|
|
491
|
+
annotations?: Record<string, string>;
|
|
492
|
+
labels?: Record<string, string>;
|
|
493
|
+
};
|
|
494
|
+
spec?: {
|
|
495
|
+
nodeSelector?: Record<string, string>;
|
|
496
|
+
tolerations?: Toleration[];
|
|
497
|
+
affinity?: Affinity;
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
serviceType?: 'ClusterIP' | 'NodePort' | 'LoadBalancer';
|
|
501
|
+
};
|
|
502
|
+
gateway?: {
|
|
503
|
+
name: string;
|
|
504
|
+
namespace?: string;
|
|
505
|
+
httpRoute?: {
|
|
506
|
+
labels?: Record<string, string>;
|
|
507
|
+
};
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
dns01?: {
|
|
511
|
+
cnameStrategy?: 'Follow' | 'None';
|
|
512
|
+
route53?: {
|
|
513
|
+
accessKeyID?: string;
|
|
514
|
+
accessKeyIDSecretRef?: {
|
|
515
|
+
name: string;
|
|
516
|
+
key: string;
|
|
517
|
+
namespace?: string;
|
|
518
|
+
};
|
|
519
|
+
secretAccessKeySecretRef?: {
|
|
520
|
+
name: string;
|
|
521
|
+
key: string;
|
|
522
|
+
namespace?: string;
|
|
523
|
+
};
|
|
524
|
+
region: string;
|
|
525
|
+
hostedZoneID?: string;
|
|
526
|
+
role?: string;
|
|
527
|
+
};
|
|
528
|
+
azureDNS?: {
|
|
529
|
+
clientID?: string;
|
|
530
|
+
clientSecretSecretRef?: {
|
|
531
|
+
name: string;
|
|
532
|
+
key: string;
|
|
533
|
+
};
|
|
534
|
+
subscriptionID: string;
|
|
535
|
+
tenantID: string;
|
|
536
|
+
resourceGroupName: string;
|
|
537
|
+
hostedZoneName?: string;
|
|
538
|
+
environment?: 'AzurePublicCloud' | 'AzureChinaCloud' | 'AzureGermanCloud' | 'AzureUSGovernmentCloud';
|
|
539
|
+
};
|
|
540
|
+
cloudflare?: {
|
|
541
|
+
email?: string;
|
|
542
|
+
apiKeySecretRef?: {
|
|
543
|
+
name: string;
|
|
544
|
+
key: string;
|
|
545
|
+
};
|
|
546
|
+
apiTokenSecretRef?: {
|
|
547
|
+
name: string;
|
|
548
|
+
key: string;
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
cloudDNS?: {
|
|
552
|
+
project: string;
|
|
553
|
+
serviceAccountSecretRef?: {
|
|
554
|
+
name: string;
|
|
555
|
+
key: string;
|
|
556
|
+
};
|
|
557
|
+
};
|
|
558
|
+
digitalocean?: {
|
|
559
|
+
tokenSecretRef: {
|
|
560
|
+
name: string;
|
|
561
|
+
key: string;
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
rfc2136?: {
|
|
565
|
+
nameserver: string;
|
|
566
|
+
tsigKeyName?: string;
|
|
567
|
+
tsigAlgorithm?: string;
|
|
568
|
+
tsigSecretSecretRef?: {
|
|
569
|
+
name: string;
|
|
570
|
+
key: string;
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
webhook?: {
|
|
574
|
+
groupName: string;
|
|
575
|
+
solverName: string;
|
|
576
|
+
config?: Record<string, any>;
|
|
577
|
+
};
|
|
578
|
+
};
|
|
579
|
+
}[];
|
|
580
|
+
};
|
|
581
|
+
ca?: {
|
|
582
|
+
secretName: string;
|
|
583
|
+
crlDistributionPoints?: string[];
|
|
584
|
+
ocspServers?: string[];
|
|
585
|
+
issuingCertificateURLs?: string[];
|
|
586
|
+
};
|
|
587
|
+
vault?: {
|
|
588
|
+
server: string;
|
|
589
|
+
path: string;
|
|
590
|
+
namespace?: string;
|
|
591
|
+
caBundle?: string;
|
|
592
|
+
auth: {
|
|
593
|
+
tokenSecretRef?: {
|
|
594
|
+
name: string;
|
|
595
|
+
key: string;
|
|
596
|
+
};
|
|
597
|
+
appRole?: {
|
|
598
|
+
path: string;
|
|
599
|
+
roleId: string;
|
|
600
|
+
secretRef: {
|
|
601
|
+
name: string;
|
|
602
|
+
key: string;
|
|
603
|
+
};
|
|
604
|
+
};
|
|
605
|
+
kubernetes?: {
|
|
606
|
+
mountPath: string;
|
|
607
|
+
role: string;
|
|
608
|
+
secretRef?: {
|
|
609
|
+
name: string;
|
|
610
|
+
key: string;
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
};
|
|
615
|
+
venafi?: {
|
|
616
|
+
zone: string;
|
|
617
|
+
tpp?: {
|
|
618
|
+
url: string;
|
|
619
|
+
credentialsRef: {
|
|
620
|
+
name: string;
|
|
621
|
+
};
|
|
622
|
+
caBundle?: string;
|
|
623
|
+
};
|
|
624
|
+
cloud?: {
|
|
625
|
+
url?: string;
|
|
626
|
+
apiTokenSecretRef: {
|
|
627
|
+
name: string;
|
|
628
|
+
key: string;
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
};
|
|
632
|
+
selfSigned?: {
|
|
633
|
+
crlDistributionPoints?: string[];
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
id?: string;
|
|
637
|
+
}
|
|
638
|
+
export interface IssuerConfig {
|
|
639
|
+
name: string;
|
|
640
|
+
namespace?: string;
|
|
641
|
+
spec: ClusterIssuerConfig['spec'];
|
|
642
|
+
id?: string;
|
|
643
|
+
}
|
|
644
|
+
export interface ChallengeConfig {
|
|
645
|
+
name: string;
|
|
646
|
+
namespace?: string;
|
|
647
|
+
spec: {
|
|
648
|
+
url: string;
|
|
649
|
+
authorizationURL: string;
|
|
650
|
+
dnsName: string;
|
|
651
|
+
wildcard?: boolean;
|
|
652
|
+
type: 'HTTP-01' | 'DNS-01';
|
|
653
|
+
token: string;
|
|
654
|
+
key: string;
|
|
655
|
+
solver: {
|
|
656
|
+
selector?: {
|
|
657
|
+
dnsNames?: string[];
|
|
658
|
+
dnsZones?: string[];
|
|
659
|
+
matchLabels?: Record<string, string>;
|
|
660
|
+
};
|
|
661
|
+
http01?: {
|
|
662
|
+
ingress?: {
|
|
663
|
+
class?: string;
|
|
664
|
+
name?: string;
|
|
665
|
+
podTemplate?: {
|
|
666
|
+
metadata?: {
|
|
667
|
+
annotations?: Record<string, string>;
|
|
668
|
+
labels?: Record<string, string>;
|
|
669
|
+
};
|
|
670
|
+
spec?: {
|
|
671
|
+
nodeSelector?: Record<string, string>;
|
|
672
|
+
tolerations?: Toleration[];
|
|
673
|
+
affinity?: Affinity;
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
serviceType?: 'ClusterIP' | 'NodePort' | 'LoadBalancer';
|
|
677
|
+
};
|
|
678
|
+
};
|
|
679
|
+
dns01?: {
|
|
680
|
+
cnameStrategy?: 'Follow' | 'None';
|
|
681
|
+
route53?: {
|
|
682
|
+
accessKeyID?: string;
|
|
683
|
+
secretAccessKeySecretRef?: {
|
|
684
|
+
name: string;
|
|
685
|
+
key: string;
|
|
686
|
+
};
|
|
687
|
+
region: string;
|
|
688
|
+
hostedZoneID?: string;
|
|
689
|
+
role?: string;
|
|
690
|
+
};
|
|
691
|
+
azureDNS?: {
|
|
692
|
+
clientID?: string;
|
|
693
|
+
clientSecretSecretRef?: {
|
|
694
|
+
name: string;
|
|
695
|
+
key: string;
|
|
696
|
+
};
|
|
697
|
+
subscriptionID: string;
|
|
698
|
+
tenantID: string;
|
|
699
|
+
resourceGroupName: string;
|
|
700
|
+
hostedZoneName?: string;
|
|
701
|
+
environment?: 'AzurePublicCloud' | 'AzureChinaCloud' | 'AzureGermanCloud' | 'AzureUSGovernmentCloud';
|
|
702
|
+
};
|
|
703
|
+
cloudflare?: {
|
|
704
|
+
email?: string;
|
|
705
|
+
apiKeySecretRef?: {
|
|
706
|
+
name: string;
|
|
707
|
+
key: string;
|
|
708
|
+
};
|
|
709
|
+
apiTokenSecretRef?: {
|
|
710
|
+
name: string;
|
|
711
|
+
key: string;
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
cloudDNS?: {
|
|
715
|
+
project: string;
|
|
716
|
+
serviceAccountSecretRef?: {
|
|
717
|
+
name: string;
|
|
718
|
+
key: string;
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
digitalocean?: {
|
|
722
|
+
tokenSecretRef: {
|
|
723
|
+
name: string;
|
|
724
|
+
key: string;
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
rfc2136?: {
|
|
728
|
+
nameserver: string;
|
|
729
|
+
tsigKeyName?: string;
|
|
730
|
+
tsigAlgorithm?: string;
|
|
731
|
+
tsigSecretSecretRef?: {
|
|
732
|
+
name: string;
|
|
733
|
+
key: string;
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
webhook?: {
|
|
737
|
+
groupName: string;
|
|
738
|
+
solverName: string;
|
|
739
|
+
config?: Record<string, any>;
|
|
740
|
+
};
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
issuerRef: {
|
|
744
|
+
name: string;
|
|
745
|
+
kind: 'Issuer' | 'ClusterIssuer';
|
|
746
|
+
group?: string;
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
id?: string;
|
|
750
|
+
}
|
|
751
|
+
export interface OrderConfig {
|
|
752
|
+
name: string;
|
|
753
|
+
namespace?: string;
|
|
754
|
+
spec: {
|
|
755
|
+
request: string;
|
|
756
|
+
issuerRef: {
|
|
757
|
+
name: string;
|
|
758
|
+
kind: 'Issuer' | 'ClusterIssuer';
|
|
759
|
+
group?: string;
|
|
760
|
+
};
|
|
761
|
+
commonName?: string;
|
|
762
|
+
dnsNames?: string[];
|
|
763
|
+
ipAddresses?: string[];
|
|
764
|
+
duration?: string;
|
|
765
|
+
};
|
|
766
|
+
id?: string;
|
|
767
|
+
}
|
|
768
|
+
export interface CertificateCondition {
|
|
769
|
+
type: 'Ready' | 'Issuing';
|
|
770
|
+
status: 'True' | 'False' | 'Unknown';
|
|
771
|
+
lastTransitionTime?: string;
|
|
772
|
+
reason?: string;
|
|
773
|
+
message?: string;
|
|
774
|
+
}
|
|
775
|
+
export interface CertificateStatus {
|
|
776
|
+
conditions?: CertificateCondition[];
|
|
777
|
+
lastFailureTime?: string;
|
|
778
|
+
notAfter?: string;
|
|
779
|
+
notBefore?: string;
|
|
780
|
+
renewalTime?: string;
|
|
781
|
+
revision?: number;
|
|
782
|
+
nextPrivateKeySecretName?: string;
|
|
783
|
+
}
|
|
784
|
+
export interface IssuerCondition {
|
|
785
|
+
type: 'Ready';
|
|
786
|
+
status: 'True' | 'False' | 'Unknown';
|
|
787
|
+
lastTransitionTime?: string;
|
|
788
|
+
reason?: string;
|
|
789
|
+
message?: string;
|
|
790
|
+
}
|
|
791
|
+
export interface IssuerStatus {
|
|
792
|
+
conditions?: IssuerCondition[];
|
|
793
|
+
acme?: {
|
|
794
|
+
uri?: string;
|
|
795
|
+
lastRegisteredEmail?: string;
|
|
796
|
+
};
|
|
797
|
+
}
|
|
798
|
+
export interface ChallengeStatus {
|
|
799
|
+
processing?: boolean;
|
|
800
|
+
presented?: boolean;
|
|
801
|
+
reason?: string;
|
|
802
|
+
state?: 'valid' | 'ready' | 'pending' | 'processing' | 'invalid' | 'expired' | 'errored';
|
|
803
|
+
}
|
|
804
|
+
export interface OrderStatus {
|
|
805
|
+
state?: 'valid' | 'ready' | 'pending' | 'processing' | 'invalid' | 'expired' | 'errored';
|
|
806
|
+
reason?: string;
|
|
807
|
+
url?: string;
|
|
808
|
+
finalizeURL?: string;
|
|
809
|
+
certificate?: string;
|
|
810
|
+
authorizations?: {
|
|
811
|
+
url: string;
|
|
812
|
+
identifier: {
|
|
813
|
+
type: string;
|
|
814
|
+
value: string;
|
|
815
|
+
};
|
|
816
|
+
wildcard?: boolean;
|
|
817
|
+
challenges?: {
|
|
818
|
+
url: string;
|
|
819
|
+
token: string;
|
|
820
|
+
type: string;
|
|
821
|
+
}[];
|
|
822
|
+
}[];
|
|
823
|
+
}
|
|
824
|
+
import { type Type } from 'arktype';
|
|
825
|
+
/**
|
|
826
|
+
* ArkType schema for CertManagerBootstrapConfig
|
|
827
|
+
* Following KroCompatibleType constraints - only basic types, nested objects, and optional fields
|
|
828
|
+
*/
|
|
829
|
+
export declare const CertManagerBootstrapConfigSchema: Type<CertManagerBootstrapConfig>;
|
|
830
|
+
/**
|
|
831
|
+
* ArkType schema for CertManagerBootstrapStatus
|
|
832
|
+
* Following KroCompatibleType constraints - only basic types, nested objects, and optional fields
|
|
833
|
+
*/
|
|
834
|
+
export declare const CertManagerBootstrapStatusSchema: Type<CertManagerBootstrapStatus>;
|
|
835
|
+
/**
|
|
836
|
+
* Configuration interface for Cert-Manager HelmRepository
|
|
837
|
+
*/
|
|
838
|
+
export interface CertManagerHelmRepositoryConfig {
|
|
839
|
+
name: string;
|
|
840
|
+
namespace?: string;
|
|
841
|
+
url?: string;
|
|
842
|
+
interval?: string;
|
|
843
|
+
id?: string;
|
|
844
|
+
}
|
|
845
|
+
/**
|
|
846
|
+
* Configuration interface for Cert-Manager HelmRelease
|
|
847
|
+
*/
|
|
848
|
+
export interface CertManagerHelmReleaseConfig {
|
|
849
|
+
name: string;
|
|
850
|
+
namespace?: string;
|
|
851
|
+
repositoryName?: string;
|
|
852
|
+
version?: string;
|
|
853
|
+
values?: CertManagerHelmValues;
|
|
854
|
+
id?: string;
|
|
855
|
+
}
|
|
856
|
+
/**
|
|
857
|
+
* Cert-Manager Helm values interface
|
|
858
|
+
* Based on the official cert-manager Helm chart values
|
|
859
|
+
*/
|
|
860
|
+
export interface CertManagerHelmValues {
|
|
861
|
+
installCRDs?: boolean;
|
|
862
|
+
global?: {
|
|
863
|
+
leaderElection?: {
|
|
864
|
+
namespace?: string;
|
|
865
|
+
};
|
|
866
|
+
logLevel?: number;
|
|
867
|
+
podSecurityPolicy?: {
|
|
868
|
+
enabled?: boolean;
|
|
869
|
+
useAppArmor?: boolean;
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
replicaCount?: number;
|
|
873
|
+
strategy?: {
|
|
874
|
+
type?: 'Recreate' | 'RollingUpdate';
|
|
875
|
+
rollingUpdate?: {
|
|
876
|
+
maxSurge?: number | string;
|
|
877
|
+
maxUnavailable?: number | string;
|
|
878
|
+
};
|
|
879
|
+
};
|
|
880
|
+
image?: {
|
|
881
|
+
repository?: string;
|
|
882
|
+
tag?: string;
|
|
883
|
+
pullPolicy?: 'Always' | 'IfNotPresent' | 'Never';
|
|
884
|
+
};
|
|
885
|
+
controller?: {
|
|
886
|
+
image?: {
|
|
887
|
+
repository?: string;
|
|
888
|
+
tag?: string;
|
|
889
|
+
pullPolicy?: 'Always' | 'IfNotPresent' | 'Never';
|
|
890
|
+
};
|
|
891
|
+
resources?: ResourceRequirements;
|
|
892
|
+
nodeSelector?: Record<string, string>;
|
|
893
|
+
tolerations?: Toleration[];
|
|
894
|
+
affinity?: Affinity;
|
|
895
|
+
securityContext?: SecurityContext;
|
|
896
|
+
containerSecurityContext?: SecurityContext;
|
|
897
|
+
volumes?: Volume[];
|
|
898
|
+
volumeMounts?: VolumeMount[];
|
|
899
|
+
extraArgs?: string[];
|
|
900
|
+
env?: EnvVar[];
|
|
901
|
+
serviceAccount?: {
|
|
902
|
+
create?: boolean;
|
|
903
|
+
name?: string;
|
|
904
|
+
annotations?: Record<string, string>;
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
webhook?: {
|
|
908
|
+
enabled?: boolean;
|
|
909
|
+
replicaCount?: number;
|
|
910
|
+
image?: {
|
|
911
|
+
repository?: string;
|
|
912
|
+
tag?: string;
|
|
913
|
+
pullPolicy?: 'Always' | 'IfNotPresent' | 'Never';
|
|
914
|
+
};
|
|
915
|
+
resources?: ResourceRequirements;
|
|
916
|
+
nodeSelector?: Record<string, string>;
|
|
917
|
+
tolerations?: Toleration[];
|
|
918
|
+
affinity?: Affinity;
|
|
919
|
+
securityContext?: SecurityContext;
|
|
920
|
+
containerSecurityContext?: SecurityContext;
|
|
921
|
+
args?: string[];
|
|
922
|
+
env?: EnvVar[];
|
|
923
|
+
serviceAccount?: {
|
|
924
|
+
create?: boolean;
|
|
925
|
+
name?: string;
|
|
926
|
+
annotations?: Record<string, string>;
|
|
927
|
+
};
|
|
928
|
+
config?: {
|
|
929
|
+
apiVersion?: string;
|
|
930
|
+
kind?: string;
|
|
931
|
+
metadata?: {
|
|
932
|
+
name?: string;
|
|
933
|
+
};
|
|
934
|
+
webhooks?: WebhookConfig[];
|
|
935
|
+
};
|
|
936
|
+
mutatingAdmissionWebhooks?: {
|
|
937
|
+
failurePolicy?: 'Fail' | 'Ignore';
|
|
938
|
+
admissionReviewVersions?: string[];
|
|
939
|
+
timeoutSeconds?: number;
|
|
940
|
+
};
|
|
941
|
+
validatingAdmissionWebhooks?: {
|
|
942
|
+
failurePolicy?: 'Fail' | 'Ignore';
|
|
943
|
+
admissionReviewVersions?: string[];
|
|
944
|
+
timeoutSeconds?: number;
|
|
945
|
+
};
|
|
946
|
+
};
|
|
947
|
+
cainjector?: {
|
|
948
|
+
enabled?: boolean;
|
|
949
|
+
replicaCount?: number;
|
|
950
|
+
image?: {
|
|
951
|
+
repository?: string;
|
|
952
|
+
tag?: string;
|
|
953
|
+
pullPolicy?: 'Always' | 'IfNotPresent' | 'Never';
|
|
954
|
+
};
|
|
955
|
+
resources?: ResourceRequirements;
|
|
956
|
+
nodeSelector?: Record<string, string>;
|
|
957
|
+
tolerations?: Toleration[];
|
|
958
|
+
affinity?: Affinity;
|
|
959
|
+
securityContext?: SecurityContext;
|
|
960
|
+
containerSecurityContext?: SecurityContext;
|
|
961
|
+
args?: string[];
|
|
962
|
+
env?: EnvVar[];
|
|
963
|
+
serviceAccount?: {
|
|
964
|
+
create?: boolean;
|
|
965
|
+
name?: string;
|
|
966
|
+
annotations?: Record<string, string>;
|
|
967
|
+
};
|
|
968
|
+
};
|
|
969
|
+
acmesolver?: {
|
|
970
|
+
image?: {
|
|
971
|
+
repository?: string;
|
|
972
|
+
tag?: string;
|
|
973
|
+
pullPolicy?: 'Always' | 'IfNotPresent' | 'Never';
|
|
974
|
+
};
|
|
975
|
+
resources?: ResourceRequirements;
|
|
976
|
+
nodeSelector?: Record<string, string>;
|
|
977
|
+
tolerations?: Toleration[];
|
|
978
|
+
affinity?: Affinity;
|
|
979
|
+
securityContext?: SecurityContext;
|
|
980
|
+
containerSecurityContext?: SecurityContext;
|
|
981
|
+
};
|
|
982
|
+
startupapicheck?: {
|
|
983
|
+
enabled?: boolean;
|
|
984
|
+
image?: {
|
|
985
|
+
repository?: string;
|
|
986
|
+
tag?: string;
|
|
987
|
+
pullPolicy?: 'Always' | 'IfNotPresent' | 'Never';
|
|
988
|
+
};
|
|
989
|
+
resources?: ResourceRequirements;
|
|
990
|
+
nodeSelector?: Record<string, string>;
|
|
991
|
+
tolerations?: Toleration[];
|
|
992
|
+
affinity?: Affinity;
|
|
993
|
+
securityContext?: SecurityContext;
|
|
994
|
+
containerSecurityContext?: SecurityContext;
|
|
995
|
+
timeout?: string;
|
|
996
|
+
backoffLimit?: number;
|
|
997
|
+
jobAnnotations?: Record<string, string>;
|
|
998
|
+
podAnnotations?: Record<string, string>;
|
|
999
|
+
};
|
|
1000
|
+
prometheus?: {
|
|
1001
|
+
enabled?: boolean;
|
|
1002
|
+
servicemonitor?: {
|
|
1003
|
+
enabled?: boolean;
|
|
1004
|
+
prometheusInstance?: string;
|
|
1005
|
+
targetPort?: number;
|
|
1006
|
+
path?: string;
|
|
1007
|
+
interval?: string;
|
|
1008
|
+
scrapeTimeout?: string;
|
|
1009
|
+
labels?: Record<string, string>;
|
|
1010
|
+
honorLabels?: boolean;
|
|
1011
|
+
};
|
|
1012
|
+
};
|
|
1013
|
+
[key: string]: any;
|
|
1014
|
+
}
|
|
1015
|
+
//# sourceMappingURL=types.d.ts.map
|