{"version":3,"file":"index.mjs","names":["applyMultipleTransformer"],"sources":["../src/constants/argocd/annotations.constants.ts","../src/constants/argocd/application.constants.ts","../src/constants/argocd/sync-options.constants.ts","../src/constants/argocd/namespace.constants.ts","../src/constants/k8s/expression.constants.ts","../src/constants/k8s/labels.constants.ts","../src/constants/k8s/secret.constants.ts","../src/constants/argocd/secret.constants.ts","../src/constants/bank-vault/annotations.constants.ts","../src/constants/bank-vault/reloader-annotations.constants.ts","../src/constants/certmanager/annotations.constants.ts","../src/constants/cilium/annotations.constants.ts","../src/constants/ingress-nginx/annotations.constants.ts","../src/constants/keel/annotations.constants.ts","../src/constants/keel/values.constants.ts","../src/constants/kilic/annotations.constants.ts","../src/constants/kilic/labels.constants.ts","../src/constants/reflector/annotations.constants.ts","../src/constants/reloader/annotations.constants.ts","../src/interfaces/argocd/crd.interface.ts","../src/interfaces/certmanager/crd.interface.ts","../src/interfaces/cilium/crd.interface.ts","../src/interfaces/envoy-gateway/crd.interface.ts","../src/interfaces/external-dns/crd.interface.ts","../src/interfaces/external-secrets/crd.interface.ts","../src/interfaces/gateway-api/crd.interface.ts","../src/argocd/argocd.service.ts","../src/argocd/argocd.decorator.ts","../src/argocd/argocd.interface.ts","../src/argocd/argocd.module.ts","../src/certmanager/certmanager.service.ts","../src/certmanager/certmanager.decorator.ts","../src/certmanager/certmanager.module.ts","../src/cilium/cilium.service.ts","../src/cilium/cilium.decorator.ts","../src/cilium/cilium.module.ts","../src/envoy-gateway/envoy-gateway.service.ts","../src/envoy-gateway/envoy-gateway.decorator.ts","../src/envoy-gateway/envoy-gateway.module.ts","../src/external-dns/external-dns.service.ts","../src/external-dns/external-dns.decorator.ts","../src/external-dns/external-dns.module.ts","../src/external-secrets/external-secrets.service.ts","../src/external-secrets/external-secrets.decorator.ts","../src/external-secrets/external-secrets.module.ts","../src/gateway-api/gateway-api.constants.ts","../src/standards/standards.constants.ts","../src/utils/transforms/annotations.transforms.ts","../src/utils/transforms/transforms.ts","../src/utils/transforms/labels.transforms.ts","../src/utils/lazy.ts","../src/utils/resource.ts","../src/standards/standards.service.ts","../src/standards/standards.decorator.ts","../src/standards/standards.module.ts","../src/gateway-api/gateway-api.service.ts","../src/gateway-api/gateway-api.decorator.ts","../src/gateway-api/gateway-api.module.ts","../src/workloads/workload.ts","../src/workloads/workloads.service.ts","../src/workloads/workloads.decorator.ts","../src/workloads/workloads.module.ts"],"sourcesContent":["export enum ArgoCDAnnotations {\n  APPLICATION_SET_REFRESH = 'argocd.argoproj.io/application-set-refresh',\n  COMPARE_OPTIONS = 'argocd.argoproj.io/compare-options',\n  HOOK = 'argocd.argoproj.io/hook',\n  HOOK_DELETE_POLICY = 'argocd.argoproj.io/hook-delete-policy',\n  MANIFEST_GENERATE_PATHS = 'argocd.argoproj.io/manifest-generate-paths',\n  REFRESH = 'argocd.argoproj.io/refresh',\n  SKIP_RECONCILE = 'argocd.argoproj.io/skip-reconcile',\n  SYNC_OPTIONS = 'argocd.argoproj.io/sync-options',\n  SYNC_WAVE = 'argocd.argoproj.io/sync-wave',\n  TRACKING_ID = 'argocd.argoproj.io/tracking-id'\n}\n","import type { DeepPartial } from 'utility-types'\n\nimport type { ArgoProjV1Alpha1ApplicationArgs } from '@interfaces'\n\nexport const DEFAULT_ARGOPROJ_V1ALPHA1_APPLICATION: DeepPartial<ArgoProjV1Alpha1ApplicationArgs> = {\n  metadata: {\n    finalizers: ['resources-finalizer.argocd.argoproj.io']\n  },\n  spec: {\n    syncPolicy: {\n      automated: {\n        prune: true\n      },\n      retry: {\n        limit: 3,\n        backoff: {\n          duration: '5s',\n          factor: 1,\n          maxDuration: '30s'\n        }\n      }\n    }\n  }\n}\n","export enum ArgoCDSyncOptions {\n  VALIDATE = 'Validate=true',\n  NO_VALIDATE = 'Validate=false',\n  SKIP_DRY_RUN_ON_MISSING_RESOURCE = 'SkipDryRunOnMissingResource=true',\n  NO_SKIP_DRY_RUN_ON_MISSING_RESOURCE = 'SkipDryRunOnMissingResource=false',\n  DELETE = 'Delete=true',\n  NO_DELETE = 'Delete=false',\n  APPLY_OUT_OF_SYNC_ONLY = 'ApplyOutOfSyncOnly=true',\n  NO_APPLY_OUT_OF_SYNC_ONLY = 'ApplyOutOfSyncOnly=false',\n  PRUNE_PROPAGATION_POLICY_FOREGROUND = 'PrunePropagationPolicy=Foreground',\n  PRUNE_PROPAGATION_POLICY_BACKGROUND = 'PrunePropagationPolicy=Background',\n  PRUNE_PROPAGATION_POLICY_ORPHAN = 'PrunePropagationPolicy=Orphan',\n  PRUNE_PROPAGATION_POLICY_UNMANAGED = 'PrunePropagationPolicy=Unmanaged',\n  PRUNE_LAST = 'PruneLast=true',\n  NO_PRUNE_LAST = 'PruneLast=false',\n  REPLACE = 'Replace=true',\n  NO_REPLACE = 'Replace=false',\n  FORCE = 'Force=true',\n  NO_FORCE = 'Force=false',\n  SERVER_SIDE_APPLY = 'ServerSideApply=true',\n  NO_SERVER_SIDE_APPLY = 'ServerSideApply=false',\n  FAIL_ON_SHARED_RESOURCE = 'FailOnSharedResource=true',\n  NO_FAIL_ON_SHARED_RESOURCE = 'FailOnSharedResource=false',\n  RESPECT_IGNORE_DIFFERENCES = 'RespectIgnoreDifferences=true',\n  NO_RESPECT_IGNORE_DIFFERENCES = 'RespectIgnoreDifferences=false',\n  CREATE_NAMESPACE = 'CreateNamespace=true',\n  NO_CREATE_NAMESPACE = 'CreateNamespace=false'\n}\n","import type { DeepPartial } from 'utility-types'\n\nimport { ArgoCDAnnotations } from './annotations.constants'\nimport { ArgoCDSyncOptions } from './sync-options.constants'\nimport type { ArgoProjNamespaceArgs } from '@interfaces'\n\nexport const DEFAULT_ARGOPROJ_NAMESPACE: DeepPartial<ArgoProjNamespaceArgs> = {\n  metadata: {\n    annotations: {\n      [ArgoCDAnnotations.SYNC_WAVE]: '-1',\n      [ArgoCDAnnotations.SYNC_OPTIONS]: [ArgoCDSyncOptions.PRUNE_LAST].join(',')\n    }\n  }\n}\n","export enum K8sMatchExpressions {\n  IN = 'In',\n  NOT_IN = 'NotIn',\n  EXISTS = 'Exists',\n  DOES_NOT_EXIST = 'DoesNotExist'\n}\n","export enum K8sLabels {\n  NAME = 'app.kubernetes.io/name',\n  INSTANCE = 'app.kubernetes.io/instance',\n  VERSION = 'app.kubernetes.io/version',\n  COMPONENT = 'app.kubernetes.io/component',\n  PART_OF = 'app.kubernetes.io/part-of',\n  MANAGED_BY = 'app.kubernetes.io/managed-by',\n  GENERATED_BY = 'app.kubernetes.io/generated-by',\n  METADATA_NAME = 'kubernetes.io/metadata.name'\n}\n\nexport enum K8sTopologyLabels {\n  REGION = 'topology.kubernetes.io/region',\n  ZONE = 'topology.kubernetes.io/zone',\n  NODE = 'kubernetes.io/hostname'\n}\n","export enum K8sSecretType {\n  OPAQUE = 'Opaque',\n  SERVICE_ACCOUNT_TOKEN = 'kubernetes.io/service-account-token',\n  DOCKER_CONFIG = 'kubernetes.io/dockercfg',\n  DOCKER_CONFIG_JSON = 'kubernetes.io/dockerconfigjson',\n  BASIC_AUTH = 'kubernetes.io/basic-auth',\n  SSH_AUTH = 'kubernetes.io/ssh-auth',\n  TLS = 'kubernetes.io/tls',\n  BOOTSTRAP_TOKEN = 'bootstrap.kubernetes.io/token'\n}\n","import type * as k8s from '@pulumi/kubernetes'\nimport type { DeepPartial } from 'utility-types'\n\nimport { K8sSecretType } from '../k8s'\n\nexport const DEFAULT_ARGOCD_SECRET_CLUSTER: DeepPartial<k8s.core.v1.SecretArgs> = {\n  metadata: {\n    labels: {\n      ['argocd.argoproj.io/secret-type']: 'cluster'\n    }\n  },\n  type: K8sSecretType.OPAQUE\n}\n\nexport const DEFAULT_ARGOCD_SECRET_REPOSITORY: DeepPartial<k8s.core.v1.SecretArgs> = {\n  metadata: {\n    labels: {\n      ['argocd.argoproj.io/secret-type']: 'repository'\n    }\n  },\n  type: K8sSecretType.OPAQUE\n}\n\nexport const DEFAULT_ARGOCD_SECRET_REPOSITORY_CREDENTIAL: DeepPartial<k8s.core.v1.SecretArgs> = {\n  metadata: {\n    labels: {\n      ['argocd.argoproj.io/secret-type']: 'repo-creds'\n    }\n  },\n  type: K8sSecretType.OPAQUE\n}\n","export enum BankVaultAnnotations {\n  VAULT_ADDR = 'vault.security.banzaicloud.io/vault-addr',\n  VAULT_IMAGE = 'vault.security.banzaicloud.io/vault-image',\n  VAULT_IMAGE_PULL_POLICY = 'vault.security.banzaicloud.io/vault-image-pull-policy',\n  VAULT_ROLE = 'vault.security.banzaicloud.io/vault-role',\n  VAULT_PATH = 'vault.security.banzaicloud.io/vault-path',\n  VAULT_SKIP_VERIFY = 'vault.security.banzaicloud.io/vault-skip-verify',\n  VAULT_TLS_SECRET = 'vault.security.banzaicloud.io/vault-tls-secret',\n  VAULT_IGNORE_MISSING_SECRETS = 'vault.security.banzaicloud.io/vault-ignore-missing-secrets',\n  VAULT_ENV_PASSTHROUGH = 'vault.security.banzaicloud.io/vault-env-passthrough',\n  VAULT_ENV_DAEMON = 'vault.security.banzaicloud.io/vault-env-daemon',\n  VAULT_ENV_IMAGE = 'vault.security.banzaicloud.io/vault-env-image',\n  VAULT_ENV_IMAGE_PULL_POLICY = 'vault.security.banzaicloud.io/vault-env-image-pull-policy',\n  ENABLE_JSON_LOG = 'vault.security.banzaicloud.io/enable-json-log',\n  MUTATE = 'vault.security.banzaicloud.io/mutate',\n  MUTATE_PROBES = 'vault.security.banzaicloud.io/mutate-probes',\n  VAULT_ENV_FROM_PATH = 'vault.security.banzaicloud.io/vault-env-from-path',\n  TOKEN_AUTH_MOUNT = 'vault.security.banzaicloud.io/token-auth-mount',\n  VAULT_AUTH_METHOD = 'vault.security.banzaicloud.io/vault-auth-method',\n  VAULT_SERVICE_ACCOUNT = 'vault.security.banzaicloud.io/vault-service-account',\n  VAULT_NAMESPACE = 'vault.security.banzaicloud.io/vault-namespace',\n  RUN_AS_NON_ROOT = 'vault.security.banzaicloud.io/run-as-non-root',\n  RUN_AS_USER = 'vault.security.banzaicloud.io/run-as-user',\n  RUN_AS_GROUP = 'vault.security.banzaicloud.io/run-as-group',\n  READONLY_ROOT_FS = 'vault.security.banzaicloud.io/readonly-root-fs'\n}\n","export enum BankVaultReloaderAnnotations {\n  RELOAD_ON_CHANGE = 'secrets-reloader.security.bank-vaults.io/reload-on-secret-change'\n}\n","export enum CertManagerAnnotations {\n  ISSUER = 'cert-manager.io/issuer',\n  CLUSTER_ISSUER = 'cert-manager.io/cluster-issuer',\n  ISSUER_KIND = 'cert-manager.io/issuer-kind',\n  ISSUER_GROUP = 'cert-manager.io/issuer-group',\n  COMMON_NAME = 'cert-manager.io/common-name',\n  EMAILS_SANS = 'cert-manager.io/email-sans',\n  SUBJECT_ORGANIZATIONS = 'cert-manager.io/subject-organizations',\n  SUBJECT_COUNTRIES = 'cert-manager.io/subject-countries',\n  DURATION = 'cert-manager.io/duration',\n  RENEW_BEFORE = 'cert-manager.io/renew-before'\n}\n","export enum CiliumIngressAnnotations {\n  /**\n   * The loadbalancer mode for the ingress.\n   * Allows a per ingress override\n   * of the default set in the Helm value\n   * ingressController.loadbalancerMode.\n   * Applicable values are dedicated and\n   * shared.\n   */\n  LOAD_BALANCER_MODE = 'ingress.cilium.io/loadbalancer-mode',\n\n  /**\n   * The loadbalancer class for the ingress.\n   * Only applicable when loadbalancer-mode is set to dedicated.\n   */\n  LOAD_BALANCER_CLASS = 'ingress.cilium.io/loadbalancer-class',\n\n  /**\n   * The Service type for dedicated Ingress.\n   * Applicable values are LoadBalancer\n   * and NodePort.\n   */\n  SERVICE_TYPE = 'ingress.cilium.io/service-type',\n\n  /**\n   * The Service externalTrafficPolicy for dedicated\n   * Ingress. Applicable values are Cluster\n   * and Local.\n   */\n  SERVICE_EXTERNAL_TRAFFIC_POLICY = 'ingress.cilium.io/service-external-traffic-policy',\n\n  /**\n   * The NodePort to use for the HTTP Ingress.\n   * Applicable only if ingress.cilium.io/service-type\n   * is NodePort. If unspecified, a random\n   * NodePort will be allocated by kubernetes.\n   */\n  INSECURE_NODE_PORT = 'ingress.cilium.io/insecure-node-port',\n\n  /**\n   * The NodePort to use for the HTTPS Ingress.\n   * Applicable only if ingress.cilium.io/service-type\n   * is NodePort. If unspecified, a random\n   * NodePort will be allocated by kubernetes.\n   */\n  SECURE_NODE_PORT = 'ingress.cilium.io/secure-node-port',\n\n  /**\n   * The port to use for the Envoy listener on the host\n   * network. Applicable and mandatory only for\n   * dedicated Ingress and if host network mode is\n   * enabled.\n   */\n  HOST_LISTENER_PORT = 'ingress.cilium.io/host-listener-port',\n\n  /**\n   * Enable TLS Passthrough mode for this Ingress.\n   * Applicable values are enabled and disabled,\n   * although boolean-style values will also be\n   * accepted.\n   *\n   * Note that some conditions apply to TLS\n   * Passthrough Ingresses, due to how\n   * TLS Passthrough works:\n   * * A host field must be set in the Ingress\n   * * Default backends are ignored\n   * * Rules with paths other than / are ignored\n   * If all the rules in an Ingress are ignored for\n   * these reasons, no Envoy config will be generated\n   * and the Ingress will have no effect.\n   *\n   * Note that this annotation is analogous to\n   * the ssl-passthrough on other Ingress\n   * controllers.\n   */\n  TLS_PASSTHROUGH = 'ingress.cilium.io/tls-passthrough',\n\n  /**\n   * Enable enforced HTTPS redirects for this Ingress.\n   * Applicable values are enabled and disabled,\n   * although boolean-style values will also be\n   * accepted.\n   *\n   * Note that if the annotation is not present, this\n   * behavior will be controlled by the\n   * enforce-ingress-https configuration\n   * file setting (or ingressController.enforceHttps\n   * in Helm).\n   *\n   * Any host with TLS config will have redirects to\n   * HTTPS configured for each match specified in the\n   * Ingress.\n   */\n  FORCE_HTTPS = 'ingress.cilium.io/force-https'\n}\n\nexport enum CiliumNetworkAnnotations {\n  /**\n   * The annotation name used to store the IPv4 pod CIDR in the node's annotations.\n   */\n  V4_CIDR_NAME = 'network.cilium.io/ipv4-pod-cidr',\n\n  /**\n   * The annotation name used to store the IPv6 pod CIDR in the node's annotations.\n   */\n  V6_CIDR_NAME = 'network.cilium.io/ipv6-pod-cidr',\n\n  /**\n   * The annotation name used to store the IPv4 address of the cilium-health endpoint in the node's annotations.\n   */\n  V4_HEALTH_NAME = 'network.cilium.io/ipv4-health-ip',\n\n  /**\n   * The annotation name used to store the IPv6 address of the cilium-health endpoint in the node's annotations.\n   */\n  V6_HEALTH_NAME = 'network.cilium.io/ipv6-health-ip',\n\n  /**\n   * The annotation name used to store the IPv4 address of the Ingress listener in the node's annotations.\n   */\n  V4_INGRESS_NAME = 'network.cilium.io/ipv4-Ingress-ip',\n\n  /**\n   * The annotation name used to store the IPv6 address of the Ingress listener in the node's annotations.\n   */\n  V6_INGRESS_NAME = 'network.cilium.io/ipv6-Ingress-ip',\n\n  /**\n   * The annotation name used to store the IPv4 address of the cilium host interface in the node's annotations.\n   */\n  CILIUM_HOST_IP = 'network.cilium.io/ipv4-cilium-host',\n\n  /**\n   * The annotation name used to store the IPv6 address of the cilium host interface in the node's annotation.\n   */\n  CILIUM_HOST_IPV6 = 'network.cilium.io/ipv6-cilium-host',\n\n  /**\n   * The annotation name used to store the encryption key of the cilium host interface in the node's annotation.\n   */\n  CILIUM_ENCRYPTION_KEY = 'network.cilium.io/encryption-key',\n\n  /**\n   * The annotation name used to store the WireGuard public key in the CiliumNode CRD that we need to use to encrypt traffic to that node.\n   */\n  WIREGUARD_PUB_KEY = 'network.cilium.io/wg-pub-key'\n}\n\nexport enum CiliumPolicyAnnotations {\n  /**\n   * An optional annotation to the NetworkPolicy resource which specifies the name of the policy node to which all rules should be applied to.\n   */\n  POLICY_NAME = 'policy.cilium.io/name',\n\n  /**\n   * The annotation name used to indicate whether proxy visibility should be enabled for a given pod.\n   */\n  PROXY_VISIBILITY = 'policy.cilium.io/proxy-visibility',\n\n  /**\n   * The annotation name used to store the port and protocol that we should bypass kernel conntrack for a given pod.\n   */\n  NO_TRACK = 'policy.cilium.io/no-track-port'\n}\n\nexport enum CiliumServiceAnnotations {\n  /**\n   * If set to true, marks a service to become a global service.\n   */\n  GLOBAL_SERVICE = 'service.cilium.io/global',\n\n  /**\n   * If set to true, marks a service to synchronize remote clusters endpoint slices to the local Kubernetes API.\n   */\n  GLOBAL_SERVICE_SYNC_ENDPOINT_SLICES = 'service.cilium.io/global-sync-endpoint-slices',\n\n  /**\n   * If set to false, prevents a service from being shared.\n   */\n  SHARED_SERVICE = 'service.cilium.io/shared',\n\n  /**\n   * Annotations determines the preferred endpoint destination.\n   */\n  SERVICE_AFFINITY = 'service.cilium.io/affinity'\n}\n\nexport enum CiliumIPAMAnnotations {\n  /**\n   * The annotation name used to store the IPAM pool name from which workloads should allocate their IP from.\n   */\n  IPAM_POOL_KEY = 'ipam.cilium.io/ip-pool',\n\n  /**\n   * The annotation name used to store the IPAM IPv4 pool name from which workloads should allocate their IP from.\n   */\n  IPAM_IPV4_POOL_KEY = 'ipam.cilium.io/ipv4-pool',\n\n  /**\n   * The annotation name used to store the IPAM IPv6 pool name from which workloads should allocate their IP from.\n   */\n  IPAM_IPV6_POOL_KEY = 'ipam.cilium.io/ipv6-pool'\n}\n\nexport enum CiliumLBIPAMAnnotations {\n  /**\n   * The annotation name used to store the LB IPAM IPs.\n   */\n  LB_IPAM_IPS_KEY = 'lbipam.cilium.io/ips',\n\n  /**\n   * The annotation name used to store the LB IPAM sharing key.\n   */\n  LB_IPAM_SHARING_KEY = 'lbipam.cilium.io/sharing-key',\n\n  /**\n   * The annotation name used to store the LB IPAM sharing across namespace.\n   */\n  LB_IPAM_SHARING_ACROSS_NAMESPACE = 'lbipam.cilium.io/sharing-cross-namespace'\n}\n\nexport enum CiliumCNIAnnotations {\n  /**\n   * The annotation used to store the MAC address of the Pod.\n   */\n  POD_ANNOTATION_MAC = 'cni.cilium.io/mac-address'\n}\n","export enum NginxIngressAnnotations {\n  APP_ROOT = 'nginx.ingress.kubernetes.io/app-root',\n  AFFINITY = 'nginx.ingress.kubernetes.io/affinity',\n  AFFINITY_MODE = 'nginx.ingress.kubernetes.io/affinity-mode',\n  AFFINITY_CANARY_BEHAVIOR = 'nginx.ingress.kubernetes.io/affinity-canary-behavior',\n  AUTH_REALM = 'nginx.ingress.kubernetes.io/auth-realm',\n  AUTH_SECRET = 'nginx.ingress.kubernetes.io/auth-secret',\n  AUTH_SECRET_TYPE = 'nginx.ingress.kubernetes.io/auth-secret-type',\n  AUTH_TYPE = 'nginx.ingress.kubernetes.io/auth-type',\n  AUTH_TLS_SECRET = 'nginx.ingress.kubernetes.io/auth-tls-secret',\n  AUTH_TLS_VERIFY_DEPTH = 'nginx.ingress.kubernetes.io/auth-tls-verify-depth',\n  AUTH_TLS_VERIFY_CLIENT = 'nginx.ingress.kubernetes.io/auth-tls-verify-client',\n  AUTH_TLS_ERROR_PAGE = 'nginx.ingress.kubernetes.io/auth-tls-error-page',\n  AUTH_TLS_PASS_CERTIFICATE_TO_UPSTREAM = 'nginx.ingress.kubernetes.io/auth-tls-pass-certificate',\n  AUTH_TLS_MATCH_CN = 'nginx.ingress.kubernetes.io/auth-tls-match-cn',\n  AUTH_URL = 'nginx.ingress.kubernetes.io/auth-url',\n  AUTH_CACHE_KEY = 'nginx.ingress.kubernetes.io/auth-cache-key',\n  AUTH_CACHE_DURATION = 'nginx.ingress.kubernetes.io/auth-cache-duration',\n  AUTH_KEEPALIVE = 'nginx.ingress.kubernetes.io/auth-keepalive',\n  AUTH_KEEPALIVE_SHARE_VARS = 'nginx.ingress.kubernetes.io/auth-keepalive-share-vars',\n  AUTH_KEEPALIVE_REQUESTS = 'nginx.ingress.kubernetes.io/auth-keepalive-requests',\n  AUTH_KEEPALIVE_TIMEOUT = 'nginx.ingress.kubernetes.io/auth-keepalive-timeout',\n  AUTH_PROXY_SET_HEADERS = 'nginx.ingress.kubernetes.io/auth-proxy-set-headers',\n  AUTH_SNIPPET = 'nginx.ingress.kubernetes.io/auth-snippet',\n  ENABLE_GLOBAL_AUTH = 'nginx.ingress.kubernetes.io/enable-global-auth',\n  BACKEND_PROTOCOL = 'nginx.ingress.kubernetes.io/backend-protocol',\n  CANARY = 'nginx.ingress.kubernetes.io/canary',\n  CANARY_BY_HEADER = 'nginx.ingress.kubernetes.io/canary-by-header',\n  CANARY_BY_HEADER_VALUE = 'nginx.ingress.kubernetes.io/canary-by-header-value',\n  CANARY_BY_HEADER_PATTERN = 'nginx.ingress.kubernetes.io/canary-by-header-pattern',\n  CANARY_BY_COOKIE = 'nginx.ingress.kubernetes.io/canary-by-cookie',\n  CANARY_WEIGHT = 'nginx.ingress.kubernetes.io/canary-weight',\n  CANARY_WEIGHT_TOTAL = 'nginx.ingress.kubernetes.io/canary-weight-total',\n  CLIENT_BODY_BUFFER_SIZE = 'nginx.ingress.kubernetes.io/client-body-buffer-size',\n  CONFIGURATION_SNIPPET = 'nginx.ingress.kubernetes.io/configuration-snippet',\n  CUSTOM_HTTP_ERRORS = 'nginx.ingress.kubernetes.io/custom-http-errors',\n  CUSTOM_HEADERS = 'nginx.ingress.kubernetes.io/custom-headers',\n  DEFAULT_BACKEND = 'nginx.ingress.kubernetes.io/default-backend',\n  ENABLE_CORS = 'nginx.ingress.kubernetes.io/enable-cors',\n  CORS_ALLOW_ORIGIN = 'nginx.ingress.kubernetes.io/cors-allow-origin',\n  CORS_ALLOW_METHODS = 'nginx.ingress.kubernetes.io/cors-allow-methods',\n  CORS_ALLOW_HEADERS = 'nginx.ingress.kubernetes.io/cors-allow-headers',\n  CORS_ALLOW_CREDENTIALS = 'nginx.ingress.kubernetes.io/cors-allow-credentials',\n  CORS_MAX_AGE = 'nginx.ingress.kubernetes.io/cors-max-age',\n  FORCE_SSL_REDIRECT = 'nginx.ingress.kubernetes.io/force-ssl-redirect',\n  FROM_TO_WWW_REDIRECT = 'nginx.ingress.kubernetes.io/from-to-www-redirect',\n  HTTP2_PUSH_PRELOAD = 'nginx.ingress.kubernetes.io/http2-push-preload',\n  LIMIT_CONNECTIONS = 'nginx.ingress.kubernetes.io/limit-connections',\n  LIMIT_RPS = 'nginx.ingress.kubernetes.io/limit-rps',\n  GLOBAL_RATE_LIMIT = 'nginx.ingress.kubernetes.io/global-rate-limit',\n  GLOBAL_RATE_LIMIT_WINDOW = 'nginx.ingress.kubernetes.io/global-rate-limit-window',\n  GLOBAL_RATE_LIMIT_KEY = 'nginx.ingress.kubernetes.io/global-rate-limit-key',\n  GLOBAL_RATE_LIMIT_IGNORED_CIDRS = 'nginx.ingress.kubernetes.io/global-rate-limit-ignored-cidrs',\n  PERMANENT_REDIRECT = 'nginx.ingress.kubernetes.io/permanent-redirect',\n  PERMANENT_REDIRECT_CODE = 'nginx.ingress.kubernetes.io/permanent-redirect-code',\n  TEMPORAL_REDIRECT = 'nginx.ingress.kubernetes.io/temporal-redirect',\n  PRESERVE_TRAILING_SLASH = 'nginx.ingress.kubernetes.io/preserve-trailing-slash',\n  PROXY_BODY_SIZE = 'nginx.ingress.kubernetes.io/proxy-body-size',\n  PROXY_COOKIE_DOMAIN = 'nginx.ingress.kubernetes.io/proxy-cookie-domain',\n  PROXY_COOKIE_PATH = 'nginx.ingress.kubernetes.io/proxy-cookie-path',\n  PROXY_CONNECT_TIMEOUT = 'nginx.ingress.kubernetes.io/proxy-connect-timeout',\n  PROXY_SEND_TIMEOUT = 'nginx.ingress.kubernetes.io/proxy-send-timeout',\n  PROXY_READ_TIMEOUT = 'nginx.ingress.kubernetes.io/proxy-read-timeout',\n  PROXY_NEXT_UPSTREAM = 'nginx.ingress.kubernetes.io/proxy-next-upstream',\n  PROXY_NEXT_UPSTREAM_TIMEOUT = 'nginx.ingress.kubernetes.io/proxy-next-upstream-timeout',\n  PROXY_NEXT_UPSTREAM_TRIES = 'nginx.ingress.kubernetes.io/proxy-next-upstream-tries',\n  PROXY_REQUEST_BUFFERING = 'nginx.ingress.kubernetes.io/proxy-request-buffering',\n  PROXY_REDIRECT_FROM = 'nginx.ingress.kubernetes.io/proxy-redirect-from',\n  PROXY_REDIRECT_TO = 'nginx.ingress.kubernetes.io/proxy-redirect-to',\n  PROXY_HTTP_VERSION = 'nginx.ingress.kubernetes.io/proxy-http-version',\n  PROXY_SSL_SECRET = 'nginx.ingress.kubernetes.io/proxy-ssl-secret',\n  PROXY_SSL_CIPHERS = 'nginx.ingress.kubernetes.io/proxy-ssl-ciphers',\n  PROXY_SSL_NAME = 'nginx.ingress.kubernetes.io/proxy-ssl-name',\n  PROXY_SSL_PROTOCOLS = 'nginx.ingress.kubernetes.io/proxy-ssl-protocols',\n  PROXY_SSL_VERIFY = 'nginx.ingress.kubernetes.io/proxy-ssl-verify',\n  PROXY_SSL_VERIFY_DEPTH = 'nginx.ingress.kubernetes.io/proxy-ssl-verify-depth',\n  PROXY_SSL_SERVER_NAME = 'nginx.ingress.kubernetes.io/proxy-ssl-server-name',\n  ENABLE_REWRITE_LOG = 'nginx.ingress.kubernetes.io/enable-rewrite-log',\n  REWRITE_TARGET = 'nginx.ingress.kubernetes.io/rewrite-target',\n  SATISFY = 'nginx.ingress.kubernetes.io/satisfy',\n  SERVER_ALIAS = 'nginx.ingress.kubernetes.io/server-alias',\n  SERVER_SNIPPET = 'nginx.ingress.kubernetes.io/server-snippet',\n  SERVICE_UPSTREAM = 'nginx.ingress.kubernetes.io/service-upstream',\n  SESSION_COOKIE_CHANGE_ON_FAILURE = 'nginx.ingress.kubernetes.io/session-cookie-change-on-failure',\n  SESSION_COOKIE_CONDITIONAL_SAMESITE_NONE = 'nginx.ingress.kubernetes.io/session-cookie-conditional-samesite-none',\n  SESSION_COOKIE_DOMAIN = 'nginx.ingress.kubernetes.io/session-cookie-domain',\n  SESSION_COOKIE_EXPIRES = 'nginx.ingress.kubernetes.io/session-cookie-expires',\n  SESSION_COOKIE_MAX_AGE = 'nginx.ingress.kubernetes.io/session-cookie-max-age',\n  SESSION_COOKIE_NAME = 'nginx.ingress.kubernetes.io/session-cookie-name',\n  SESSION_COOKIE_PATH = 'nginx.ingress.kubernetes.io/session-cookie-path',\n  SESSION_COOKIE_SAMESITE = 'nginx.ingress.kubernetes.io/session-cookie-samesite',\n  SESSION_COOKIE_SECURE = 'nginx.ingress.kubernetes.io/session-cookie-secure',\n  SSL_REDIRECT = 'nginx.ingress.kubernetes.io/ssl-redirect',\n  SSL_PASSTHROUGH = 'nginx.ingress.kubernetes.io/ssl-passthrough',\n  STREAM_SNIPPET = 'nginx.ingress.kubernetes.io/stream-snippet',\n  UPSTREAM_HASH_BY = 'nginx.ingress.kubernetes.io/upstream-hash-by',\n  X_FORWARDED_PREFIX = 'nginx.ingress.kubernetes.io/x-forwarded-prefix',\n  LOAD_BALANCE = 'nginx.ingress.kubernetes.io/load-balance',\n  UPSTREAM_VHOST = 'nginx.ingress.kubernetes.io/upstream-vhost',\n  DENYLIST_SOURCE_RANGE = 'nginx.ingress.kubernetes.io/denylist-source-range',\n  WHITELIST_SOURCE_RANGE = 'nginx.ingress.kubernetes.io/whitelist-source-range',\n  PROXY_BUFFERING = 'nginx.ingress.kubernetes.io/proxy-buffering',\n  PROXY_BUFFERS_NUMBER = 'nginx.ingress.kubernetes.io/proxy-buffers-number',\n  PROXY_BUFFER_SIZE = 'nginx.ingress.kubernetes.io/proxy-buffer-size',\n  PROXY_MAX_TEMP_FILE_SIZE = 'nginx.ingress.kubernetes.io/proxy-max-temp-file-size',\n  SSL_CIPHERS = 'nginx.ingress.kubernetes.io/ssl-ciphers',\n  SSL_PREFER_SERVER_CIPHERS = 'nginx.ingress.kubernetes.io/ssl-prefer-server-ciphers',\n  CONNECTION_PROXY_HEADER = 'nginx.ingress.kubernetes.io/connection-proxy-header',\n  ENABLE_ACCESS_LOG = 'nginx.ingress.kubernetes.io/enable-access-log',\n  ENABLE_OPENTELEMETRY = 'nginx.ingress.kubernetes.io/enable-opentelemetry',\n  OPENTELEMETRY_TRUST_INCOMING_SPAN = 'nginx.ingress.kubernetes.io/opentelemetry-trust-incoming-span',\n  USE_REGEX = 'nginx.ingress.kubernetes.io/use-regex',\n  ENABLE_MOD_SECURITY = 'nginx.ingress.kubernetes.io/enable-modsecurity',\n  ENABLE_OWASP_CORE_RULES = 'nginx.ingress.kubernetes.io/enable-owasp-core-rules',\n  MOD_SECURITY_TRANSACTION_ID = 'nginx.ingress.kubernetes.io/modsecurity-transaction-id',\n  MOD_SECURITY_SNIPPET = 'nginx.ingress.kubernetes.io/modsecurity-snippet',\n  MIRROR_REQUEST_BODY = 'nginx.ingress.kubernetes.io/mirror-request-body',\n  MIRROR_TARGET = 'nginx.ingress.kubernetes.io/mirror-target',\n  MIRROR_HOST = 'nginx.ingress.kubernetes.io/mirror-host'\n}\n","export enum KeelAnnotations {\n  POLICY = 'keel.sh/policy',\n  TRIGGER = 'keel.sh/trigger',\n  APPROVALS = 'keel.sh/approvals',\n  MATCH_TAG = 'keel.sh/match-tag',\n  POLL_SCHEDULE = 'keel.sh/poll-schedule',\n  NOTIFY = 'keel.sh/notify'\n}\n","export enum KeelPolicy {\n  PATCH = 'patch',\n  MINOR = 'minor',\n  MAJOR = 'major',\n  ALL = 'all',\n  FORCE = 'force'\n}\n\nexport enum KeelTrigger {\n  POLL = 'poll'\n}\n","export enum KilicAnnotations {\n  CHECKSUM = 'kilic.dev/checksum'\n}\n","export enum KilicLabels {\n  STORAGE_LOCAL_PATH_PROVISIONER = 'storage.kilic.dev/local-path-provisioner',\n  STORAGE_LONGHORN = 'storage.kilic.dev/longhorn',\n  STORAGE_DISK_SIZE = 'storage.kilic.dev/disk-size',\n  STORAGE_DISK_TYPE_HDD = 'storage.kilic.dev/disk-type/hdd',\n  STORAGE_DISK_TYPE_SSD = 'storage.kilic.dev/disk-type/ssd',\n  STORAGE_DISK_TYPE_NVME = 'storage.kilic.dev/disk-type/nvme'\n}\n\nexport const KilicLabelMark = 'true'\n\nexport enum KilicLabelStorageDiskSize {\n  LARGE = 'large',\n  SMALL = 'small'\n}\n","export enum ReflectorAnnotations {\n  ALLOWED = 'reflector.v1.k8s.emberstack.com/reflection-allowed',\n  ALLOWED_NAMESPACES = 'reflector.v1.k8s.emberstack.com/reflection-allowed-namespaces',\n  AUTO_ENABLED = 'reflector.v1.k8s.emberstack.com/reflection-auto-enabled',\n  AUTO_NAMESPACES = 'reflector.v1.k8s.emberstack.com/reflection-auto-namespaces',\n  REFLECTS = 'reflector.v1.k8s.emberstack.com/reflects'\n}\n","export enum ReloaderAnnotations {\n  AUTO = 'reloader.stakater.com/auto'\n}\n","import * as crds from '@kilic.dev/pulumi-k8s-crds'\nimport type * as k8s from '@pulumi/kubernetes'\nimport type { DeepPartial } from 'utility-types'\n\nexport const ArgoProjV1Alpha1Application: typeof crds.argoproj.v1alpha1.Application = crds.argoproj.v1alpha1.Application\nexport type ArgoProjV1Alpha1Application = crds.argoproj.v1alpha1.Application\nexport const ArgoProjV1Alpha1ApplicationSet: typeof crds.argoproj.v1alpha1.ApplicationSet = crds.argoproj.v1alpha1.ApplicationSet\nexport type ArgoProjV1Alpha1ApplicationSet = crds.argoproj.v1alpha1.ApplicationSet\nexport const ArgoProjV1Alpha1AppProject: typeof crds.argoproj.v1alpha1.AppProject = crds.argoproj.v1alpha1.AppProject\nexport type ArgoProjV1Alpha1AppProject = crds.argoproj.v1alpha1.AppProject\n\nexport type ArgoProjV1Alpha1ApplicationArgs = DeepPartial<crds.argoproj.v1alpha1.ApplicationArgs> & {\n  metadata: crds.argoproj.v1alpha1.ApplicationArgs['metadata']\n  spec: {\n    destination: {\n      name: string\n    }\n    project: string\n    source?: crds.types.input.argoproj.v1alpha1.ApplicationSpecSource\n    sources?: crds.types.input.argoproj.v1alpha1.ApplicationSpecSources[]\n  }\n}\nexport type ArgoProjV1Alpha1ApplicationArgsSources = crds.types.input.argoproj.v1alpha1.ApplicationSpecSources\nexport type ArgoProjV1Alpha1ApplicationSetArgs = crds.argoproj.v1alpha1.ApplicationSetArgs\nexport type ArgoProjV1Alpha1AppProjectArgs = crds.argoproj.v1alpha1.AppProjectArgs\n\nexport type ArgoProjNamespaceArgs = k8s.core.v1.NamespaceArgs\n","import * as crds from '@kilic.dev/pulumi-k8s-crds'\n\nexport const CertManagerV1ClusterIssuer: typeof crds.cert_manager.v1.ClusterIssuer = crds.cert_manager.v1.ClusterIssuer\nexport type CertManagerV1ClusterIssuer = crds.cert_manager.v1.ClusterIssuer\nexport const CertManagerV1Issuer: typeof crds.cert_manager.v1.Issuer = crds.cert_manager.v1.Issuer\nexport type CertManagerV1Issuer = crds.cert_manager.v1.Issuer\nexport const CertManagerV1Certificate: typeof crds.cert_manager.v1.Certificate = crds.cert_manager.v1.Certificate\nexport type CertManagerV1Certificate = crds.cert_manager.v1.Certificate\n\nexport type CertManagerV1CertificateArgs = crds.cert_manager.v1.CertificateArgs\nexport type CertManagerV1IssuerArgs = crds.cert_manager.v1.IssuerArgs\nexport type CertManagerV1ClusterIssuerArgs = crds.cert_manager.v1.ClusterIssuerArgs\n","import * as crds from '@kilic.dev/pulumi-k8s-crds'\n\nexport const CiliumV2CIDRGroup: typeof crds.cilium.v2.CiliumCIDRGroup = crds.cilium.v2.CiliumCIDRGroup\nexport type CiliumV2CIDRGroup = crds.cilium.v2.CiliumCIDRGroup\nexport const CiliumV2LoadBalancerIPPool: typeof crds.cilium.v2.CiliumLoadBalancerIPPool = crds.cilium.v2.CiliumLoadBalancerIPPool\nexport type CiliumV2LoadBalancerIPPool = crds.cilium.v2.CiliumLoadBalancerIPPool\nexport const CiliumV2ClusterwideEnvoyConfig: typeof crds.cilium.v2.CiliumClusterwideEnvoyConfig = crds.cilium.v2.CiliumClusterwideEnvoyConfig\nexport type CiliumV2ClusterwideEnvoyConfig = crds.cilium.v2.CiliumClusterwideEnvoyConfig\nexport const CiliumV2ClusterwideNetworkPolicy: typeof crds.cilium.v2.CiliumClusterwideNetworkPolicy = crds.cilium.v2.CiliumClusterwideNetworkPolicy\nexport type CiliumV2ClusterwideNetworkPolicy = crds.cilium.v2.CiliumClusterwideNetworkPolicy\nexport const CiliumV2EgressGatewayPolicy: typeof crds.cilium.v2.CiliumEgressGatewayPolicy = crds.cilium.v2.CiliumEgressGatewayPolicy\nexport type CiliumV2EgressGatewayPolicy = crds.cilium.v2.CiliumEgressGatewayPolicy\nexport const CiliumV2EnvoyConfig: typeof crds.cilium.v2.CiliumEnvoyConfig = crds.cilium.v2.CiliumEnvoyConfig\nexport type CiliumV2EnvoyConfig = crds.cilium.v2.CiliumEnvoyConfig\nexport const CiliumV2LocalRedirectPolicy: typeof crds.cilium.v2.CiliumLocalRedirectPolicy = crds.cilium.v2.CiliumLocalRedirectPolicy\nexport type CiliumV2LocalRedirectPolicy = crds.cilium.v2.CiliumLocalRedirectPolicy\nexport const CiliumV2NetworkPolicy: typeof crds.cilium.v2.CiliumNetworkPolicy = crds.cilium.v2.CiliumNetworkPolicy\nexport type CiliumV2NetworkPolicy = crds.cilium.v2.CiliumNetworkPolicy\n\nexport type CiliumV2Alpha1CIDRGroupArgs = crds.cilium.v2alpha1.CiliumCIDRGroupArgs\nexport type CiliumV2Alpha1LoadBalancerIPPoolArgs = crds.cilium.v2alpha1.CiliumLoadBalancerIPPoolArgs\nexport type CiliumV2ClusterwideEnvoyConfigArgs = crds.cilium.v2.CiliumClusterwideEnvoyConfigArgs\nexport type CiliumV2ClusterwideNetworkPolicyArgs = crds.cilium.v2.CiliumClusterwideNetworkPolicyArgs\nexport type CiliumV2EgressGatewayPolicyArgs = crds.cilium.v2.CiliumEgressGatewayPolicyArgs\nexport type CiliumV2EnvoyConfigArgs = crds.cilium.v2.CiliumEnvoyConfigArgs\nexport type CiliumV2LocalRedirectPolicyArgs = crds.cilium.v2.CiliumLocalRedirectPolicyArgs\nexport type CiliumV2NetworkPolicyArgs = crds.cilium.v2.CiliumNetworkPolicyArgs\n","import * as crds from '@kilic.dev/pulumi-k8s-crds'\n\nexport const EnvoyGatewayV1Alpha1Backend: typeof crds.gateway.v1alpha1.Backend = crds.gateway.v1alpha1.Backend\nexport type EnvoyGatewayV1Alpha1Backend = crds.gateway.v1alpha1.Backend\nexport const EnvoyGatewayV1Alpha1BackendTrafficPolicy: typeof crds.gateway.v1alpha1.BackendTrafficPolicy = crds.gateway.v1alpha1.BackendTrafficPolicy\nexport type EnvoyGatewayV1Alpha1BackendTrafficPolicy = crds.gateway.v1alpha1.BackendTrafficPolicy\nexport const EnvoyGatewayV1Alpha1ClientTrafficPolicy: typeof crds.gateway.v1alpha1.ClientTrafficPolicy = crds.gateway.v1alpha1.ClientTrafficPolicy\nexport type EnvoyGatewayV1Alpha1ClientTrafficPolicy = crds.gateway.v1alpha1.ClientTrafficPolicy\nexport const EnvoyGatewayV1Alpha1EnvoyExtensionPolicy: typeof crds.gateway.v1alpha1.EnvoyExtensionPolicy = crds.gateway.v1alpha1.EnvoyExtensionPolicy\nexport type EnvoyGatewayV1Alpha1EnvoyExtensionPolicy = crds.gateway.v1alpha1.EnvoyExtensionPolicy\nexport const EnvoyGatewayV1Alpha1EnvoyPatchPolicy: typeof crds.gateway.v1alpha1.EnvoyPatchPolicy = crds.gateway.v1alpha1.EnvoyPatchPolicy\nexport type EnvoyGatewayV1Alpha1EnvoyPatchPolicy = crds.gateway.v1alpha1.EnvoyPatchPolicy\nexport const EnvoyGatewayV1Alpha1EnvoyProxy: typeof crds.gateway.v1alpha1.EnvoyProxy = crds.gateway.v1alpha1.EnvoyProxy\nexport type EnvoyGatewayV1Alpha1EnvoyProxy = crds.gateway.v1alpha1.EnvoyProxy\nexport const EnvoyGatewayV1Alpha1HttpRouteFilter: typeof crds.gateway.v1alpha1.HTTPRouteFilter = crds.gateway.v1alpha1.HTTPRouteFilter\nexport type EnvoyGatewayV1Alpha1HttpRouteFilter = crds.gateway.v1alpha1.HTTPRouteFilter\nexport const EnvoyGatewayV1Alpha1SecurityPolicy: typeof crds.gateway.v1alpha1.SecurityPolicy = crds.gateway.v1alpha1.SecurityPolicy\nexport type EnvoyGatewayV1Alpha1SecurityPolicy = crds.gateway.v1alpha1.SecurityPolicy\n\nexport type EnvoyGatewayV1Alpha1BackendArgs = crds.gateway.v1alpha1.BackendArgs\nexport type EnvoyGatewayV1Alpha1BackendTrafficPolicyArgs = crds.gateway.v1alpha1.BackendTrafficPolicyArgs\nexport type EnvoyGatewayV1Alpha1ClientTrafficPolicyArgs = crds.gateway.v1alpha1.ClientTrafficPolicyArgs\nexport type EnvoyGatewayV1Alpha1EnvoyExtensionPolicyArgs = crds.gateway.v1alpha1.EnvoyExtensionPolicyArgs\nexport type EnvoyGatewayV1Alpha1EnvoyPatchPolicyArgs = crds.gateway.v1alpha1.EnvoyPatchPolicyArgs\nexport type EnvoyGatewayV1Alpha1EnvoyProxyArgs = crds.gateway.v1alpha1.EnvoyProxyArgs\nexport type EnvoyGatewayV1Alpha1HttpRouteFilterArgs = crds.gateway.v1alpha1.HTTPRouteFilterArgs\nexport type EnvoyGatewayV1Alpha1SecurityPolicyArgs = crds.gateway.v1alpha1.SecurityPolicyArgs\n","import * as crds from '@kilic.dev/pulumi-k8s-crds'\n\nexport const ExternalDNSV1Alpha1DNSEndpoint: typeof crds.externaldns.v1alpha1.DNSEndpoint = crds.externaldns.v1alpha1.DNSEndpoint\nexport type ExternalDNSV1Alpha1DNSEndpoint = crds.externaldns.v1alpha1.DNSEndpoint\n\nexport type ExternalDNSV1Alpha1DNSEndpointArgs = crds.externaldns.v1alpha1.DNSEndpointArgs\n","import * as crds from '@kilic.dev/pulumi-k8s-crds'\n\nexport const ExternalSecretsV1ClusterExternalSecret: typeof crds.external_secrets.v1.ClusterExternalSecret = crds.external_secrets.v1.ClusterExternalSecret\nexport type ExternalSecretsV1ClusterExternalSecret = crds.external_secrets.v1.ClusterExternalSecret\nexport const ExternalSecretsV1ClusterSecretStore: typeof crds.external_secrets.v1.ClusterSecretStore = crds.external_secrets.v1.ClusterSecretStore\nexport type ExternalSecretsV1ClusterSecretStore = crds.external_secrets.v1.ClusterSecretStore\nexport const ExternalSecretsV1ExternalSecret: typeof crds.external_secrets.v1.ExternalSecret = crds.external_secrets.v1.ExternalSecret\nexport type ExternalSecretsV1ExternalSecret = crds.external_secrets.v1.ExternalSecret\nexport const ExternalSecretsV1SecretStore: typeof crds.external_secrets.v1.SecretStore = crds.external_secrets.v1.SecretStore\nexport type ExternalSecretsV1SecretStore = crds.external_secrets.v1.SecretStore\nexport const ExternalSecretsV1Alpha1ClusterPushSecret: typeof crds.external_secrets.v1alpha1.ClusterPushSecret = crds.external_secrets.v1alpha1.ClusterPushSecret\nexport type ExternalSecretsV1Alpha1ClusterPushSecret = crds.external_secrets.v1alpha1.ClusterPushSecret\nexport const ExternalSecretsV1Alpha1PushSecret: typeof crds.external_secrets.v1alpha1.PushSecret = crds.external_secrets.v1alpha1.PushSecret\nexport type ExternalSecretsV1Alpha1PushSecret = crds.external_secrets.v1alpha1.PushSecret\n\nexport type ExternalSecretsV1ClusterExternalSecretArgs = crds.external_secrets.v1.ClusterExternalSecretArgs\nexport type ExternalSecretsV1ClusterSecretStoreArgs = crds.external_secrets.v1.ClusterSecretStoreArgs\nexport type ExternalSecretsV1ExternalSecretArgs = crds.external_secrets.v1.ExternalSecretArgs\nexport type ExternalSecretsV1SecretStoreArgs = crds.external_secrets.v1.SecretStoreArgs\nexport type ExternalSecretsV1Alpha1ClusterPushSecretArgs = crds.external_secrets.v1alpha1.ClusterPushSecretArgs\nexport type ExternalSecretsV1Alpha1PushSecretArgs = crds.external_secrets.v1alpha1.PushSecretArgs\n","import * as crds from '@kilic.dev/pulumi-k8s-crds'\n\nexport const GatewayAPIV1Gateway: typeof crds.gateway.v1.Gateway = crds.gateway.v1.Gateway\nexport type GatewayAPIV1Gateway = crds.gateway.v1.Gateway\nexport const GatewayAPIV1ListenerSet: typeof crds.gateway.v1.ListenerSet = crds.gateway.v1.ListenerSet\nexport type GatewayAPIV1ListenerSet = crds.gateway.v1.ListenerSet\nexport const GatewayAPIV1HTTPRoute: typeof crds.gateway.v1.HTTPRoute = crds.gateway.v1.HTTPRoute\nexport type GatewayAPIV1HTTPRoute = crds.gateway.v1.HTTPRoute\nexport const GatewayAPIV1GRPCRoute: typeof crds.gateway.v1.GRPCRoute = crds.gateway.v1.GRPCRoute\nexport type GatewayAPIV1GRPCRoute = crds.gateway.v1.GRPCRoute\nexport const GatewayAPIV1Alpha2TCPRoute: typeof crds.gateway.v1alpha2.TCPRoute = crds.gateway.v1alpha2.TCPRoute\nexport type GatewayAPIV1Alpha2TCPRoute = crds.gateway.v1alpha2.TCPRoute\nexport const GatewayAPIV1Alpha2UDPRoute: typeof crds.gateway.v1alpha2.UDPRoute = crds.gateway.v1alpha2.UDPRoute\nexport type GatewayAPIV1Alpha2UDPRoute = crds.gateway.v1alpha2.UDPRoute\nexport const GatewayAPIV1Alpha2TLSRoute: typeof crds.gateway.v1alpha2.TLSRoute = crds.gateway.v1alpha2.TLSRoute\nexport type GatewayAPIV1Alpha2TLSRoute = crds.gateway.v1alpha2.TLSRoute\nexport const GatewayAPIV1Beta1ReferenceGrant: typeof crds.gateway.v1beta1.ReferenceGrant = crds.gateway.v1beta1.ReferenceGrant\nexport type GatewayAPIV1Beta1ReferenceGrant = crds.gateway.v1beta1.ReferenceGrant\nexport const GatewayAPIV1Alpha3BackendTLSPolicy: typeof crds.gateway.v1alpha3.BackendTLSPolicy = crds.gateway.v1alpha3.BackendTLSPolicy\nexport type GatewayAPIV1Alpha3BackendTLSPolicy = crds.gateway.v1alpha3.BackendTLSPolicy\n\nexport type GatewayAPIV1GatewayArgs = crds.gateway.v1.GatewayArgs\nexport type GatewayAPIV1ListenerSetArgs = crds.gateway.v1.ListenerSetArgs\nexport type GatewayAPIV1HTTPRouteArgs = crds.gateway.v1.HTTPRouteArgs\nexport type GatewayAPIV1GRPCRouteArgs = crds.gateway.v1.GRPCRouteArgs\nexport type GatewayAPIV1Alpha2TCPRouteArgs = crds.gateway.v1alpha2.TCPRouteArgs\nexport type GatewayAPIV1Alpha2UDPRouteArgs = crds.gateway.v1alpha2.UDPRouteArgs\nexport type GatewayAPIV1Alpha2TLSRouteArgs = crds.gateway.v1alpha2.TLSRouteArgs\nexport type GatewayAPIV1Beta1ReferenceGrantArgs = crds.gateway.v1beta1.ReferenceGrantArgs\nexport type GatewayAPIV1Alpha3BackendTLSPolicyArgs = crds.gateway.v1alpha3.BackendTLSPolicyArgs\n\n// export type GatewayAPIGatewayReference = crds.types.input.gateway.v1.GatewayClassSpecParametersRef\nexport interface GatewayAPIGatewayReference {\n  group?: string\n  kind?: string\n  name?: string\n  namespace?: string\n  sectionName?: string\n}\n\nexport interface GatewayAPIBackendReference {\n  group?: string\n  kind?: string\n  name?: string\n  namespace?: string\n}\n","import { JsonParser } from '@kilic.dev/pulumi-bootstrap'\nimport * as crds from '@kilic.dev/pulumi-k8s-crds'\nimport { Inject, Injectable } from '@nestjs/common'\nimport * as k8s from '@pulumi/kubernetes'\nimport { CustomResourceOptions } from '@pulumi/pulumi'\nimport { deepmerge } from 'deepmerge-ts'\nimport { join } from 'path'\n\nimport {\n  ArgoCDApplicationExtension,\n  ArgoCDClusterArgs,\n  ArgoCDNamespaceCallback,\n  ArgoCDRepositoryArgs,\n  ArgoCDRepositoryCredentialsArgs,\n  ArgoCDServiceNewProviderOpts\n} from './argocd.interface'\nimport { DEFAULT_ARGOCD_SECRET_CLUSTER, DEFAULT_ARGOCD_SECRET_REPOSITORY, DEFAULT_ARGOPROJ_NAMESPACE, DEFAULT_ARGOPROJ_V1ALPHA1_APPLICATION } from '@constants'\nimport {\n  ArgoProjNamespaceArgs,\n  ArgoProjV1Alpha1Application,\n  ArgoProjV1Alpha1ApplicationArgs,\n  ArgoProjV1Alpha1ApplicationArgsSources,\n  ArgoProjV1Alpha1ApplicationSet,\n  ArgoProjV1Alpha1ApplicationSetArgs,\n  ArgoProjV1Alpha1AppProject,\n  ArgoProjV1Alpha1AppProjectArgs\n} from '@interfaces'\n\n@Injectable()\nexport class ArgoCDService {\n  constructor(@Inject(JsonParser) private readonly json: JsonParser) {}\n\n  public newProvider(options: ArgoCDServiceNewProviderOpts): k8s.Provider {\n    options.path ??= options.name\n\n    if (options.cwd !== false) {\n      options.path = join(process.cwd(), options.path)\n    }\n\n    return new k8s.Provider(options.name, {\n      renderYamlToDirectory: options.path,\n      alwaysRender: true,\n      namespace: options.namespace,\n      enableServerSideApply: false\n    })\n  }\n\n  public newCluster(name: string, args: ArgoCDClusterArgs, opts?: CustomResourceOptions): k8s.core.v1.Secret {\n    const resource: k8s.core.v1.SecretArgs = {\n      metadata: {\n        name\n      },\n      stringData: {\n        name: args.name,\n        server: args.server,\n        config: this.json.stringify(args.config)\n      }\n    }\n\n    return new k8s.core.v1.Secret(name, deepmerge(DEFAULT_ARGOCD_SECRET_CLUSTER, resource) as k8s.core.v1.SecretArgs, opts)\n  }\n\n  public newRepository(name: string, args: ArgoCDRepositoryArgs, opts?: CustomResourceOptions): k8s.core.v1.Secret {\n    const resource: k8s.core.v1.SecretArgs = {\n      metadata: {\n        name\n      },\n      stringData: {\n        ...args\n      }\n    }\n\n    return new k8s.core.v1.Secret(name, deepmerge(DEFAULT_ARGOCD_SECRET_REPOSITORY, resource) as k8s.core.v1.SecretArgs, opts)\n  }\n\n  public newRepositoryCredentials(name: string, args: ArgoCDRepositoryCredentialsArgs, opts?: CustomResourceOptions): k8s.core.v1.Secret {\n    const resource: k8s.core.v1.SecretArgs = {\n      metadata: {\n        name\n      },\n      stringData: {\n        ...args\n      }\n    }\n\n    return new k8s.core.v1.Secret(name, deepmerge(DEFAULT_ARGOCD_SECRET_REPOSITORY, resource) as k8s.core.v1.SecretArgs, opts)\n  }\n\n  public newNamespace(name: string, resource: ArgoProjNamespaceArgs, opts?: CustomResourceOptions, cb?: ArgoCDNamespaceCallback): k8s.core.v1.Namespace {\n    const ns = new k8s.core.v1.Namespace(name, deepmerge(DEFAULT_ARGOPROJ_NAMESPACE, resource) as k8s.core.v1.NamespaceArgs, opts)\n\n    if (cb) {\n      const override = cb(ns, opts)\n\n      if (override) {\n        return override\n      }\n    }\n\n    return ns\n  }\n\n  public newApplication(\n    name: string,\n    resource: ArgoProjV1Alpha1ApplicationArgs,\n    opts?: CustomResourceOptions,\n    extensions?: ArgoCDApplicationExtension[]\n  ): ArgoProjV1Alpha1Application {\n    extensions?.forEach((extension) => {\n      if (extension?.sources) {\n        resource.spec.sources ??= []\n        ;(resource.spec.sources as any).push(...extension.sources)\n      }\n    })\n\n    return new ArgoProjV1Alpha1Application(name, deepmerge(DEFAULT_ARGOPROJ_V1ALPHA1_APPLICATION, resource) as crds.argoproj.v1alpha1.ApplicationArgs, opts)\n  }\n\n  public newApplicationSources(...sources: ArgoProjV1Alpha1ApplicationArgsSources[]): ArgoProjV1Alpha1ApplicationArgsSources[] {\n    return sources\n  }\n\n  public newApplicationSet(name: string, resource: ArgoProjV1Alpha1ApplicationSetArgs, opts?: CustomResourceOptions): ArgoProjV1Alpha1ApplicationSet {\n    return new ArgoProjV1Alpha1ApplicationSet(name, resource, opts)\n  }\n\n  public newProject(name: string, resource: ArgoProjV1Alpha1AppProjectArgs, opts?: CustomResourceOptions): ArgoProjV1Alpha1AppProject {\n    return new ArgoProjV1Alpha1AppProject(name, resource, opts)\n  }\n}\n","import type { InjectionToken } from '@nestjs/common'\nimport { Inject } from '@nestjs/common'\n\nimport { ArgoCDService } from './argocd.service'\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport function InjectArgoCDService(token?: InjectionToken) {\n  return Inject(token ?? ArgoCDService)\n}\n","import type { InjectionToken } from '@nestjs/common'\nimport type * as k8s from '@pulumi/kubernetes'\nimport type { CustomResourceOptions } from '@pulumi/pulumi'\n\nimport type { ArgoProjV1Alpha1ApplicationArgsSources } from '@interfaces'\n\nexport interface ArgoCDModuleRegisterOpts {\n  global?: boolean\n  provide?: InjectionToken\n}\n\nexport interface ArgoCDServiceNewProviderOpts {\n  name: string\n  path?: string\n  cwd?: boolean\n  namespace?: string\n}\n\nexport interface ArgoCDClusterArgs {\n  name: string\n  server: string\n  config: {\n    username?: string\n    password?: string\n    bearerToken?: string\n    tlsClientConfig?: {\n      insecure?: boolean\n      caData?: string\n      certData?: string\n      keyData?: string\n      keyFile?: string\n      serverName?: string\n    }\n  }\n}\n\nexport type ArgoCDNamespaceCallback = (namespace: k8s.core.v1.Namespace, opts?: CustomResourceOptions) => k8s.core.v1.Namespace | void\n\nexport enum ArgoCDRepositoryType {\n  GIT = 'git',\n  HELM = 'helm'\n}\n\nexport interface ArgoCDRepositoryArgs {\n  name: string\n  type: ArgoCDRepositoryType\n  url: string\n}\n\nexport interface ArgoCDRepositoryCredentialsArgs extends ArgoCDRepositoryArgs {\n  sshPrivateKey?: string\n  username?: string\n  password?: string\n  tlsClientCertData?: string\n  tlsClientCertKey?: string\n  githubAppPrivateKey?: string\n  githubAppId?: string\n  githubAppInstallationId?: string\n  githubAppEnterpriseBaseUrl?: string\n}\n\nexport interface ArgoCDApplicationExtension {\n  sources?: ArgoProjV1Alpha1ApplicationArgsSources[]\n}\n","import { JsonParser, ParserModule } from '@kilic.dev/pulumi-bootstrap'\nimport { DynamicModule, InjectionToken, Module, Provider } from '@nestjs/common'\n\nimport { ArgoCDModuleRegisterOpts, ArgoCDServiceNewProviderOpts } from './argocd.interface'\nimport { ArgoCDService } from './argocd.service'\nimport { K8sProvider } from '@interfaces'\n\n@Module({})\nexport class ArgoCDModule {\n  public static register(options?: ArgoCDModuleRegisterOpts): DynamicModule {\n    options ??= {}\n\n    const provide = options.provide ?? ArgoCDService\n\n    return {\n      global: options.global ?? true,\n      module: ArgoCDModule,\n      imports: [ParserModule],\n      providers: [\n        {\n          provide,\n          useFactory: (json: JsonParser): ArgoCDService => {\n            return new ArgoCDService(json)\n          },\n          inject: [JsonParser]\n        }\n      ],\n      exports: [provide]\n    }\n  }\n\n  public static newProvider(token: InjectionToken, options: ArgoCDServiceNewProviderOpts): Provider {\n    return {\n      provide: token,\n      useFactory: (argocd: ArgoCDService): K8sProvider => {\n        return argocd.newProvider(options)\n      },\n      inject: [ArgoCDService]\n    }\n  }\n}\n","import { Injectable } from '@nestjs/common'\nimport { CustomResourceOptions } from '@pulumi/pulumi'\n\nimport { CertManagerV1Certificate, CertManagerV1CertificateArgs, CertManagerV1Issuer, CertManagerV1IssuerArgs } from '@interfaces'\n\n@Injectable()\nexport class CertManagerService {\n  constructor() {}\n\n  public newCertificate(name: string, args: CertManagerV1CertificateArgs, opts?: CustomResourceOptions): CertManagerV1Certificate {\n    return new CertManagerV1Certificate(name, args, opts)\n  }\n\n  public newIssuer(name: string, args: CertManagerV1IssuerArgs, opts?: CustomResourceOptions): CertManagerV1Issuer {\n    return new CertManagerV1Issuer(name, args, opts)\n  }\n}\n","import type { InjectionToken } from '@nestjs/common'\nimport { Inject } from '@nestjs/common'\n\nimport { CertManagerService } from './certmanager.service'\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport function InjectCertManagerService(token?: InjectionToken) {\n  return Inject(token ?? CertManagerService)\n}\n","import { DynamicModule, Module } from '@nestjs/common'\n\nimport { CertManagerModuleRegisterOpts } from './certmanager.interface'\nimport { CertManagerService } from './certmanager.service'\n\n@Module({})\nexport class CertManagerModule {\n  public static register(options?: CertManagerModuleRegisterOpts): DynamicModule {\n    options ??= {}\n\n    const provide = options.provide ?? CertManagerService\n\n    return {\n      global: options.global ?? true,\n      module: CertManagerModule,\n      providers: [\n        {\n          provide,\n          useFactory: (): CertManagerService => {\n            return new CertManagerService()\n          },\n          inject: []\n        }\n      ],\n      exports: [provide]\n    }\n  }\n}\n","import { Injectable } from '@nestjs/common'\nimport { CustomResourceOptions } from '@pulumi/pulumi'\n\nimport {\n  CiliumV2CIDRGroup,\n  CiliumV2Alpha1CIDRGroupArgs,\n  CiliumV2LoadBalancerIPPool,\n  CiliumV2Alpha1LoadBalancerIPPoolArgs,\n  CiliumV2ClusterwideEnvoyConfig,\n  CiliumV2ClusterwideEnvoyConfigArgs,\n  CiliumV2ClusterwideNetworkPolicy,\n  CiliumV2ClusterwideNetworkPolicyArgs,\n  CiliumV2EgressGatewayPolicy,\n  CiliumV2EgressGatewayPolicyArgs,\n  CiliumV2EnvoyConfig,\n  CiliumV2EnvoyConfigArgs,\n  CiliumV2LocalRedirectPolicy,\n  CiliumV2LocalRedirectPolicyArgs,\n  CiliumV2NetworkPolicy,\n  CiliumV2NetworkPolicyArgs\n} from '@interfaces'\n\n@Injectable()\nexport class CiliumService {\n  constructor() {}\n\n  public newCIDRGroup(name: string, resource: CiliumV2Alpha1CIDRGroupArgs, opts?: CustomResourceOptions): CiliumV2Alpha1CIDRGroup {\n    return new CiliumV2CIDRGroup(name, resource, opts)\n  }\n\n  public newLoadBalancerIPPool(name: string, resource: CiliumV2Alpha1LoadBalancerIPPoolArgs, opts?: CustomResourceOptions): CiliumV2Alpha1LoadBalancerIPPool {\n    return new CiliumV2LoadBalancerIPPool(name, resource, opts)\n  }\n\n  public newClusterwideEnvoyConfig(name: string, resource: CiliumV2ClusterwideEnvoyConfigArgs, opts?: CustomResourceOptions): CiliumV2ClusterwideEnvoyConfig {\n    return new CiliumV2ClusterwideEnvoyConfig(name, resource, opts)\n  }\n\n  public newClusterwideNetworkPolicy(name: string, resource: CiliumV2ClusterwideNetworkPolicyArgs, opts?: CustomResourceOptions): CiliumV2ClusterwideNetworkPolicy {\n    return new CiliumV2ClusterwideNetworkPolicy(name, resource, opts)\n  }\n\n  public newEgressGatewayPolicy(name: string, resource: CiliumV2EgressGatewayPolicyArgs, opts?: CustomResourceOptions): CiliumV2EgressGatewayPolicy {\n    return new CiliumV2EgressGatewayPolicy(name, resource, opts)\n  }\n\n  public newEnvoyConfig(name: string, resource: CiliumV2EnvoyConfigArgs, opts?: CustomResourceOptions): CiliumV2EnvoyConfig {\n    return new CiliumV2EnvoyConfig(name, resource, opts)\n  }\n\n  public newLocalRedirectPolicy(name: string, resource: CiliumV2LocalRedirectPolicyArgs, opts?: CustomResourceOptions): CiliumV2LocalRedirectPolicy {\n    return new CiliumV2LocalRedirectPolicy(name, resource, opts)\n  }\n\n  public newNetworkPolicy(name: string, resource: CiliumV2NetworkPolicyArgs, opts?: CustomResourceOptions): CiliumV2NetworkPolicy {\n    return new CiliumV2NetworkPolicy(name, resource, opts)\n  }\n}\n","import type { InjectionToken } from '@nestjs/common'\nimport { Inject } from '@nestjs/common'\n\nimport { CiliumService } from './cilium.service'\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport function InjectCiliumService(token?: InjectionToken) {\n  return Inject(token ?? CiliumService)\n}\n","import { DynamicModule, Module } from '@nestjs/common'\n\nimport { CiliumModuleRegisterOpts } from './cilium.interface'\nimport { CiliumService } from './cilium.service'\n\n@Module({})\nexport class CiliumModule {\n  public static register(options?: CiliumModuleRegisterOpts): DynamicModule {\n    options ??= {}\n\n    const provide = options.provide ?? CiliumService\n\n    return {\n      global: options.global ?? true,\n      module: CiliumModule,\n      imports: [],\n      providers: [\n        {\n          provide,\n          useFactory: (): CiliumService => {\n            return new CiliumService()\n          },\n          inject: []\n        }\n      ],\n      exports: [provide]\n    }\n  }\n}\n","import { Injectable } from '@nestjs/common'\nimport { CustomResourceOptions } from '@pulumi/pulumi'\n\nimport {\n  EnvoyGatewayV1Alpha1Backend,\n  EnvoyGatewayV1Alpha1BackendArgs,\n  EnvoyGatewayV1Alpha1BackendTrafficPolicy,\n  EnvoyGatewayV1Alpha1BackendTrafficPolicyArgs,\n  EnvoyGatewayV1Alpha1ClientTrafficPolicy,\n  EnvoyGatewayV1Alpha1ClientTrafficPolicyArgs,\n  EnvoyGatewayV1Alpha1EnvoyExtensionPolicy,\n  EnvoyGatewayV1Alpha1EnvoyExtensionPolicyArgs,\n  EnvoyGatewayV1Alpha1EnvoyPatchPolicy,\n  EnvoyGatewayV1Alpha1EnvoyPatchPolicyArgs,\n  EnvoyGatewayV1Alpha1EnvoyProxy,\n  EnvoyGatewayV1Alpha1EnvoyProxyArgs,\n  EnvoyGatewayV1Alpha1HttpRouteFilter,\n  EnvoyGatewayV1Alpha1HttpRouteFilterArgs,\n  EnvoyGatewayV1Alpha1SecurityPolicy,\n  EnvoyGatewayV1Alpha1SecurityPolicyArgs\n} from '@interfaces'\n\n@Injectable()\nexport class EnvoyGatewayService {\n  constructor() {}\n\n  public newBackend(name: string, resource: EnvoyGatewayV1Alpha1BackendArgs, opts?: CustomResourceOptions): EnvoyGatewayV1Alpha1Backend {\n    return new EnvoyGatewayV1Alpha1Backend(name, resource, opts)\n  }\n\n  public newBackendTrafficPolicy(name: string, resource: EnvoyGatewayV1Alpha1BackendTrafficPolicyArgs, opts?: CustomResourceOptions): EnvoyGatewayV1Alpha1BackendTrafficPolicy {\n    return new EnvoyGatewayV1Alpha1BackendTrafficPolicy(name, resource, opts)\n  }\n\n  public newClientTrafficPolicy(name: string, resource: EnvoyGatewayV1Alpha1ClientTrafficPolicyArgs, opts?: CustomResourceOptions): EnvoyGatewayV1Alpha1ClientTrafficPolicy {\n    return new EnvoyGatewayV1Alpha1ClientTrafficPolicy(name, resource, opts)\n  }\n\n  public newEnvoyExtensionPolicy(name: string, resource: EnvoyGatewayV1Alpha1EnvoyExtensionPolicyArgs, opts?: CustomResourceOptions): EnvoyGatewayV1Alpha1EnvoyExtensionPolicy {\n    return new EnvoyGatewayV1Alpha1EnvoyExtensionPolicy(name, resource, opts)\n  }\n\n  public newEnvoyPatchPolicy(name: string, resource: EnvoyGatewayV1Alpha1EnvoyPatchPolicyArgs, opts?: CustomResourceOptions): EnvoyGatewayV1Alpha1EnvoyPatchPolicy {\n    return new EnvoyGatewayV1Alpha1EnvoyPatchPolicy(name, resource, opts)\n  }\n\n  public newEnvoyProxy(name: string, resource: EnvoyGatewayV1Alpha1EnvoyProxyArgs, opts?: CustomResourceOptions): EnvoyGatewayV1Alpha1EnvoyProxy {\n    return new EnvoyGatewayV1Alpha1EnvoyProxy(name, resource, opts)\n  }\n\n  public newHttpRouteFilter(name: string, resource: EnvoyGatewayV1Alpha1HttpRouteFilterArgs, opts?: CustomResourceOptions): EnvoyGatewayV1Alpha1HttpRouteFilter {\n    return new EnvoyGatewayV1Alpha1HttpRouteFilter(name, resource, opts)\n  }\n\n  public newSecurityPolicy(name: string, resource: EnvoyGatewayV1Alpha1SecurityPolicyArgs, opts?: CustomResourceOptions): EnvoyGatewayV1Alpha1SecurityPolicy {\n    return new EnvoyGatewayV1Alpha1SecurityPolicy(name, resource, opts)\n  }\n}\n","import type { InjectionToken } from '@nestjs/common'\nimport { Inject } from '@nestjs/common'\n\nimport { EnvoyGatewayService } from './envoy-gateway.service'\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport function InjectEnvoyGatewayService(token?: InjectionToken) {\n  return Inject(token ?? EnvoyGatewayService)\n}\n","import { DynamicModule, Module } from '@nestjs/common'\n\nimport { EnvoyGatewayModuleRegisterOpts } from './envoy-gateway.interface'\nimport { EnvoyGatewayService } from './envoy-gateway.service'\n\n@Module({})\nexport class EnvoyGatewayModule {\n  public static register(options?: EnvoyGatewayModuleRegisterOpts): DynamicModule {\n    options ??= {}\n\n    const provide = options.provide ?? EnvoyGatewayService\n\n    return {\n      global: options.global ?? true,\n      module: EnvoyGatewayModule,\n      providers: [\n        {\n          provide,\n          useFactory: (): EnvoyGatewayService => {\n            return new EnvoyGatewayService()\n          },\n          inject: []\n        }\n      ],\n      exports: [provide]\n    }\n  }\n}\n","import { Injectable } from '@nestjs/common'\nimport { CustomResourceOptions } from '@pulumi/pulumi'\n\nimport { ExternalDNSV1Alpha1DNSEndpoint, ExternalDNSV1Alpha1DNSEndpointArgs } from '@interfaces'\n\n@Injectable()\nexport class ExternalDNSService {\n  constructor() {}\n\n  public newDNSEndpoint(name: string, args: ExternalDNSV1Alpha1DNSEndpointArgs, opts?: CustomResourceOptions): ExternalDNSV1Alpha1DNSEndpoint {\n    return new ExternalDNSV1Alpha1DNSEndpoint(name, args, opts)\n  }\n}\n","import type { InjectionToken } from '@nestjs/common'\nimport { Inject } from '@nestjs/common'\n\nimport { ExternalDNSService } from './external-dns.service'\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport function InjectExternalDNSService(token?: InjectionToken) {\n  return Inject(token ?? ExternalDNSService)\n}\n","import { DynamicModule, Module } from '@nestjs/common'\n\nimport { ExternalDNSModuleRegisterOpts } from './external-dns.interface'\nimport { ExternalDNSService } from './external-dns.service'\n\n@Module({})\nexport class ExternalDNSModule {\n  public static register(options?: ExternalDNSModuleRegisterOpts): DynamicModule {\n    options ??= {}\n\n    const provide = options.provide ?? ExternalDNSService\n\n    return {\n      global: options.global ?? true,\n      module: ExternalDNSModule,\n      providers: [\n        {\n          provide,\n          useFactory: (): ExternalDNSService => {\n            return new ExternalDNSService()\n          },\n          inject: []\n        }\n      ],\n      exports: [provide]\n    }\n  }\n}\n","import { Injectable } from '@nestjs/common'\nimport { CustomResourceOptions } from '@pulumi/pulumi'\n\nimport {\n  ExternalSecretsV1Alpha1ClusterPushSecret,\n  ExternalSecretsV1Alpha1ClusterPushSecretArgs,\n  ExternalSecretsV1Alpha1PushSecret,\n  ExternalSecretsV1Alpha1PushSecretArgs,\n  ExternalSecretsV1ClusterExternalSecret,\n  ExternalSecretsV1ClusterExternalSecretArgs,\n  ExternalSecretsV1ClusterSecretStore,\n  ExternalSecretsV1ClusterSecretStoreArgs,\n  ExternalSecretsV1ExternalSecret,\n  ExternalSecretsV1ExternalSecretArgs,\n  ExternalSecretsV1SecretStore,\n  ExternalSecretsV1SecretStoreArgs\n} from '@interfaces'\n\n@Injectable()\nexport class ExternalSecretsService {\n  constructor() {}\n\n  public newClusterExternalSecret(name: string, resource: ExternalSecretsV1ClusterExternalSecretArgs, opts?: CustomResourceOptions): ExternalSecretsV1ClusterExternalSecret {\n    return new ExternalSecretsV1ClusterExternalSecret(name, resource, opts)\n  }\n\n  public newClusterSecretStore(name: string, resource: ExternalSecretsV1ClusterSecretStoreArgs, opts?: CustomResourceOptions): ExternalSecretsV1ClusterSecretStore {\n    return new ExternalSecretsV1ClusterSecretStore(name, resource, opts)\n  }\n\n  public newExternalSecret(name: string, resource: ExternalSecretsV1ExternalSecretArgs, opts?: CustomResourceOptions): ExternalSecretsV1ExternalSecret {\n    return new ExternalSecretsV1ExternalSecret(name, resource, opts)\n  }\n\n  public newSecretStore(name: string, resource: ExternalSecretsV1SecretStoreArgs, opts?: CustomResourceOptions): ExternalSecretsV1SecretStore {\n    return new ExternalSecretsV1SecretStore(name, resource, opts)\n  }\n\n  public newClusterPushSecret(name: string, resource: ExternalSecretsV1Alpha1ClusterPushSecretArgs, opts?: CustomResourceOptions): ExternalSecretsV1Alpha1ClusterPushSecret {\n    return new ExternalSecretsV1Alpha1ClusterPushSecret(name, resource, opts)\n  }\n\n  public newPushSecret(name: string, resource: ExternalSecretsV1Alpha1PushSecretArgs, opts?: CustomResourceOptions): ExternalSecretsV1Alpha1PushSecret {\n    return new ExternalSecretsV1Alpha1PushSecret(name, resource, opts)\n  }\n}\n","import type { InjectionToken } from '@nestjs/common'\nimport { Inject } from '@nestjs/common'\n\nimport { ExternalSecretsService } from './external-secrets.service'\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport function InjectExternalSecretsService(token?: InjectionToken) {\n  return Inject(token ?? ExternalSecretsService)\n}\n","import { DynamicModule, Module } from '@nestjs/common'\n\nimport { ExternalSecretsModuleRegisterOpts } from './external-secrets.interface'\nimport { ExternalSecretsService } from './external-secrets.service'\n\n@Module({})\nexport class ExternalSecretsModule {\n  public static register(options?: ExternalSecretsModuleRegisterOpts): DynamicModule {\n    options ??= {}\n\n    const provide = options.provide ?? ExternalSecretsService\n\n    return {\n      global: options.global ?? true,\n      module: ExternalSecretsModule,\n      providers: [\n        {\n          provide,\n          useFactory: (): ExternalSecretsService => {\n            return new ExternalSecretsService()\n          },\n          inject: []\n        }\n      ],\n      exports: [provide]\n    }\n  }\n}\n","export enum GatewayListenerProtocol {\n  HTTP = 'HTTP',\n  HTTPS = 'HTTPS',\n  GRPC = 'GRPC',\n  TLS = 'TLS',\n  TCP = 'TCP',\n  UDP = 'UDP'\n}\n","export enum StandardsLabels {\n  NAME = 'app.kilic.dev/name',\n  STAGE = 'app.kilic.dev/stage'\n}\n","import { sha256hash } from '@kilic.dev/pulumi-bootstrap'\nimport type { ResourceTransformArgs } from '@pulumi/pulumi'\n\nimport type { TransformWithChecksumAnnotations, TransformWithKeelAnnotations, TransformWithReflectorAnnotations } from './annotations.interface'\nimport type { ResourceTransformFactory, TransformK8sResourceOptions } from './transforms.interface'\nimport { BankVaultReloaderAnnotations, KeelAnnotations, KeelPolicy, KeelTrigger, KilicAnnotations, ReflectorAnnotations, ReloaderAnnotations } from '@constants'\nimport type { K8sAnnotationsType } from '@interfaces'\nimport { K8sResourceGenericMultipleTransformer } from '@utils'\n\nfunction applyMultipleTransformer(\n  transformer: K8sResourceGenericMultipleTransformer,\n  transformOptions: TransformK8sResourceOptions,\n  resource: ResourceTransformArgs\n): ResourceTransformArgs {\n  if (transformOptions.self) {\n    resource.props.metadata ??= {}\n    resource.props.metadata.labels = transformer.apply(resource.props.metadata.labels ?? {})\n  }\n\n  if (transformOptions.template && resource.props.spec?.template) {\n    resource.props.spec.template.metadata ??= {}\n    resource.props.spec.template.metadata.labels = transformer.apply(resource.props.spec.template.metadata.labels ?? {})\n  }\n\n  return resource\n}\n\nexport const transformWithResourceChecksumAnnotations: ResourceTransformFactory<[TransformWithChecksumAnnotations?]> = (options) => (resource) => {\n  options = {\n    annotation: KilicAnnotations.CHECKSUM,\n    data: (): unknown => true,\n    ...options\n  }\n\n  return new Promise((resolve, reject) => {\n    return Promise.resolve(options.data(resource.props))\n      .then((data) => {\n        resource.props.metadata.annotations ??= {}\n        resource.props.metadata.annotations[options.annotation] = sha256hash(data)\n\n        resolve(resource)\n      })\n      .catch(reject)\n  })\n}\n\nexport const transformWithReloaderAnnotations: ResourceTransformFactory<[TransformK8sResourceOptions?]> = (transformOptions) => (resource) => {\n  transformOptions = {\n    self: true,\n    template: true,\n    ...transformOptions\n  }\n\n  const transformer = new K8sResourceGenericMultipleTransformer<K8sAnnotationsType>((o) => {\n    o[ReloaderAnnotations.AUTO] = 'true'\n\n    return o\n  })\n\n  return applyMultipleTransformer(transformer, transformOptions, resource)\n}\n\nexport const transformWithBankVaultReloaderAnnotations: ResourceTransformFactory<[TransformK8sResourceOptions?]> = (transformOptions) => (resource) => {\n  transformOptions = {\n    self: true,\n    template: true,\n    ...transformOptions\n  }\n\n  const transformer = new K8sResourceGenericMultipleTransformer<K8sAnnotationsType>((o) => {\n    o[BankVaultReloaderAnnotations.RELOAD_ON_CHANGE] = 'true'\n\n    return o\n  })\n\n  return applyMultipleTransformer(transformer, transformOptions, resource)\n}\n\nexport const transformWithKeelAnnotations: ResourceTransformFactory<[TransformWithKeelAnnotations?]> = (options) => (resource) => {\n  options ??= {}\n  resource.props.metadata.annotations ??= {}\n  const o = resource.props.metadata.annotations\n\n  if (options.policy) {\n    o[KeelAnnotations.POLICY] = options.policy ?? KeelPolicy.FORCE\n  }\n\n  if (options.trigger) {\n    o[KeelAnnotations.TRIGGER] = options.trigger ?? KeelTrigger.POLL\n  }\n\n  if (options.approvals) {\n    o[KeelAnnotations.APPROVALS] = options.approvals.toString()\n  }\n\n  if (options.matchTag) {\n    o[KeelAnnotations.MATCH_TAG] = options.matchTag.toString()\n  }\n\n  if (options.pollSchedule) {\n    o[KeelAnnotations.POLL_SCHEDULE] = options.pollSchedule\n  }\n\n  if (options.notify) {\n    o[KeelAnnotations.NOTIFY] = options.notify.join(',')\n  }\n\n  return resource\n}\n\nexport const transformWithReflectorAnnotations: ResourceTransformFactory<[TransformWithReflectorAnnotations]> = (options) => (resource) => {\n  resource.props.metadata.annotations ??= {}\n\n  if (options.allowed) {\n    resource.props.metadata.annotations[ReflectorAnnotations.ALLOWED] = options.allowed.toString()\n  }\n\n  if (options.allowedNamespaces) {\n    resource.props.metadata.annotations[ReflectorAnnotations.ALLOWED_NAMESPACES] = options.allowedNamespaces.join(',')\n  }\n\n  if (options.autoEnabled) {\n    resource.props.metadata.annotations[ReflectorAnnotations.AUTO_ENABLED] = options.autoEnabled.toString()\n  }\n\n  if (options.autoNamespaces) {\n    resource.props.metadata.annotations[ReflectorAnnotations.AUTO_NAMESPACES] = options.autoNamespaces.join(',')\n  }\n\n  if (options.reflects) {\n    resource.props.metadata.annotations[ReflectorAnnotations.REFLECTS] = options.reflects\n  }\n\n  return resource\n}\n","export class K8sResourceGenericMultipleTransformer<T = any> {\n  constructor(private cb: (data: T) => T) {}\n\n  public apply(data: T): T {\n    return this.cb(data)\n  }\n}\n","import type { ResourceTransformArgs } from '@pulumi/pulumi'\n\nimport type { TransformWithK8sLabels } from './labels.interface'\nimport { K8sResourceGenericMultipleTransformer } from './transforms'\nimport type { ResourceTransformFactory, TransformK8sResourceOptions } from './transforms.interface'\nimport { K8sLabels } from '@constants'\nimport type { K8sLabelsType } from '@interfaces'\n\nfunction applyMultipleTransformer(\n  transformer: K8sResourceGenericMultipleTransformer,\n  transformOptions: TransformK8sResourceOptions,\n  resource: ResourceTransformArgs\n): ResourceTransformArgs {\n  if (transformOptions.self) {\n    resource.props.metadata ??= {}\n    resource.props.metadata.labels = transformer.apply(resource.props.metadata.labels ?? {})\n  }\n\n  if (transformOptions.template && resource.props.spec?.template) {\n    resource.props.spec.template.metadata ??= {}\n    resource.props.spec.template.metadata.labels = transformer.apply(resource.props.spec.template.metadata.labels ?? {})\n  }\n\n  if (transformOptions.selector && resource.props.spec?.selector) {\n    resource.props.spec.selector.matchLabels = transformer.apply(resource.props.spec.selector.matchLabels ?? {})\n  }\n\n  return resource\n}\n\nexport const transformWithK8sLabels: ResourceTransformFactory<[TransformWithK8sLabels, TransformK8sResourceOptions?]> = (options, transformOptions) => (resource) => {\n  transformOptions = {\n    self: true,\n    template: true,\n    selector: false,\n    ...options\n  }\n\n  const map: TransformWithK8sLabels = {\n    name: K8sLabels.NAME,\n    instance: K8sLabels.INSTANCE,\n    version: K8sLabels.VERSION,\n    component: K8sLabels.COMPONENT,\n    partOf: K8sLabels.PART_OF,\n    managedBy: K8sLabels.MANAGED_BY\n  }\n\n  const transformer = new K8sResourceGenericMultipleTransformer<K8sLabelsType>((o) => {\n    for (const [key, value] of Object.entries(options)) {\n      if (map[key]) {\n        o[map[key]] = value\n      } else {\n        o[key] = value\n      }\n    }\n\n    return o\n  })\n\n  return applyMultipleTransformer(transformer, transformOptions, resource)\n}\n\nexport const transformWithK8sSelectorLabels: ResourceTransformFactory<[K8sLabelsType?]> = (labels) => (resource) => {\n  labels ??= resource.props.spec.template.metadata?.labels ?? {}\n\n  resource.props.spec.selector.matchLabels ??= {}\n  resource.props.spec.selector.matchLabels = { ...resource.props.spec.selector?.matchLabels, ...labels }\n\n  return resource\n}\n","import type { Lazy } from './lazy.interface'\n\nexport function lazy<T>(fn: Lazy<T>): Lazy<T> {\n  let value: T\n\n  return () => (value ??= fn())\n}\n","export function resource(...name: string[]): string {\n  return name\n    .join('-')\n    .replace(/[^a-zA-Z0-9.-]/g, '-')\n    .toLowerCase()\n    .substring(0, 253)\n}\n\nexport function resourceGroup<T extends { apiVersion: string } = any>(obj: T): string {\n  return obj.apiVersion.split('/').shift()\n}\n","import { splat } from '@kilic.dev/pulumi-bootstrap'\nimport { Injectable } from '@nestjs/common'\nimport { join } from 'path'\n\nimport { StandardsLabels } from './standards.constants'\nimport type { StandardsServiceOpts } from './standards.interface'\nimport { K8sLabelsType } from '@interfaces'\nimport { resource } from '@utils'\n\n@Injectable()\nexport class StandardsService {\n  constructor(private readonly options: StandardsServiceOpts) {}\n\n  public certificateName(...name: string[]): string {\n    name = name.map((n) => n.replaceAll('*', 'wildcard'))\n\n    return splat('tls-%s', resource(...name))\n  }\n\n  public databaseName(...name: string[]): string {\n    return splat('%s-db', resource(...name))\n  }\n\n  public stagedName(...name: string[]): string {\n    this.ensureCluster()\n\n    return splat('%s-%s', this.options.cluster, resource(...name))\n  }\n\n  public labels(...name: string[]): K8sLabelsType {\n    return {\n      [StandardsLabels.NAME]: resource(...name)\n    }\n  }\n\n  public stagedLabels(...name: string[]): K8sLabelsType {\n    this.ensureCluster()\n\n    return {\n      ...this.labels(...name),\n      [StandardsLabels.STAGE]: this.options.cluster\n    }\n  }\n\n  public workloadPath(...path: string[]): string {\n    return join(this.options.workloadsFolder, ...path)\n  }\n\n  public stagedWorkloadPath(...path: string[]): string {\n    this.ensureCluster()\n\n    return this.workloadPath(this.options.cluster, ...path)\n  }\n\n  public deploymentPath(...path: string[]): string {\n    return join(this.options.deploymentFolder, ...path)\n  }\n\n  public stagedDeploymentPath(...path: string[]): string {\n    this.ensureCluster()\n\n    return this.deploymentPath(this.options.cluster, ...path)\n  }\n\n  private ensureCluster(): void {\n    if (!this.options.cluster) {\n      throw new Error('Cluster name is required for staged setup.')\n    }\n  }\n}\n","import type { InjectionToken } from '@nestjs/common'\nimport { Inject } from '@nestjs/common'\n\nimport { StandardsService } from './standards.service'\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport function InjectStandardsService(token?: InjectionToken) {\n  return Inject(token ?? StandardsService)\n}\n","import { DynamicModule, Module } from '@nestjs/common'\n\nimport { StandardsModuleRegisterOpts } from './standards.interface'\nimport { StandardsService } from './standards.service'\n\n@Module({})\nexport class StandardsModule {\n  public static register(options?: StandardsModuleRegisterOpts): DynamicModule {\n    options ??= {}\n\n    const provide = options?.provide ?? StandardsService\n\n    options.standards = {\n      workloadsFolder: 'workloads',\n      deploymentFolder: '.deploy',\n      ...options?.standards\n    }\n\n    return {\n      global: options?.global ?? true,\n      module: StandardsModule,\n      providers: [\n        {\n          provide,\n          useFactory: (): StandardsService => {\n            return new StandardsService(options.standards)\n          },\n          inject: []\n        }\n      ],\n      exports: [provide]\n    }\n  }\n}\n","import * as crds from '@kilic.dev/pulumi-k8s-crds'\nimport { Injectable } from '@nestjs/common'\nimport { CustomResourceOptions } from '@pulumi/pulumi'\n\nimport { InjectStandardsService, StandardsService } from '../standards'\nimport { GatewayListenerProtocol } from './gateway-api.constants'\nimport { CreateGatewayListeners } from './gateway-api.interface'\nimport {\n  GatewayAPIV1Alpha2TCPRoute,\n  GatewayAPIV1Alpha2TCPRouteArgs,\n  GatewayAPIV1Alpha2TLSRoute,\n  GatewayAPIV1Alpha2TLSRouteArgs,\n  GatewayAPIV1Alpha2UDPRoute,\n  GatewayAPIV1Alpha2UDPRouteArgs,\n  GatewayAPIV1Alpha3BackendTLSPolicy,\n  GatewayAPIV1Alpha3BackendTLSPolicyArgs,\n  GatewayAPIV1Beta1ReferenceGrant,\n  GatewayAPIV1Beta1ReferenceGrantArgs,\n  GatewayAPIV1Gateway,\n  GatewayAPIV1GatewayArgs,\n  GatewayAPIV1GRPCRoute,\n  GatewayAPIV1GRPCRouteArgs,\n  GatewayAPIV1HTTPRoute,\n  GatewayAPIV1HTTPRouteArgs,\n  GatewayAPIV1ListenerSet,\n  GatewayAPIV1ListenerSetArgs\n} from '@interfaces'\nimport { resource } from '@utils'\n\n@Injectable()\nexport class GatewayAPIService {\n  constructor(@InjectStandardsService() private readonly standards: StandardsService) {}\n\n  public newGateway(name: string, resource: GatewayAPIV1GatewayArgs, opts?: CustomResourceOptions): GatewayAPIV1Gateway {\n    return new GatewayAPIV1Gateway(name, resource, opts)\n  }\n\n  public newListenerSet(name: string, resource: GatewayAPIV1ListenerSetArgs, opts?: CustomResourceOptions): GatewayAPIV1ListenerSet {\n    return new GatewayAPIV1ListenerSet(name, resource, opts)\n  }\n\n  public newHTTPRoute(name: string, resource: GatewayAPIV1HTTPRouteArgs, opts?: CustomResourceOptions): GatewayAPIV1HTTPRoute {\n    return new GatewayAPIV1HTTPRoute(name, resource, opts)\n  }\n\n  public newGRPCRoute(name: string, resource: GatewayAPIV1GRPCRouteArgs, opts?: CustomResourceOptions): GatewayAPIV1GRPCRoute {\n    return new GatewayAPIV1GRPCRoute(name, resource, opts)\n  }\n\n  public newTCPRoute(name: string, resource: GatewayAPIV1Alpha2TCPRouteArgs, opts?: CustomResourceOptions): GatewayAPIV1Alpha2TCPRoute {\n    return new GatewayAPIV1Alpha2TCPRoute(name, resource, opts)\n  }\n\n  public newUDPRoute(name: string, resource: GatewayAPIV1Alpha2UDPRouteArgs, opts?: CustomResourceOptions): GatewayAPIV1Alpha2UDPRoute {\n    return new GatewayAPIV1Alpha2UDPRoute(name, resource, opts)\n  }\n\n  public newTLSRoute(name: string, resource: GatewayAPIV1Alpha2TLSRouteArgs, opts?: CustomResourceOptions): GatewayAPIV1Alpha2TLSRoute {\n    return new GatewayAPIV1Alpha2TLSRoute(name, resource, opts)\n  }\n\n  public newReferenceGrant(name: string, resource: GatewayAPIV1Beta1ReferenceGrantArgs, opts?: CustomResourceOptions): GatewayAPIV1Beta1ReferenceGrant {\n    return new GatewayAPIV1Beta1ReferenceGrant(name, resource, opts)\n  }\n\n  public newBackendTLSPolicy(name: string, resource: GatewayAPIV1Alpha3BackendTLSPolicyArgs, opts?: CustomResourceOptions): GatewayAPIV1Alpha3BackendTLSPolicy {\n    return new GatewayAPIV1Alpha3BackendTLSPolicy(name, resource, opts)\n  }\n\n  public createGatewayListeners(...listeners: CreateGatewayListeners[]): crds.types.input.gateway.v1.GatewaySpecListeners[] {\n    return listeners.flatMap((listener) => {\n      switch (listener.type) {\n        case GatewayListenerProtocol.HTTP: {\n          return [\n            {\n              hostname: listener.hostname,\n              name: this.createGatewayListenerName(listener),\n              port: 80,\n              protocol: 'HTTP',\n              allowedRoutes: listener.allowedRoutes\n            }\n          ]\n        }\n\n        case GatewayListenerProtocol.HTTPS: {\n          return [\n            {\n              hostname: listener.hostname,\n              name: this.createGatewayListenerName(listener),\n              port: 443,\n              protocol: 'HTTPS',\n              tls: this.getTLSMode(listener.terminate, listener.certificateName ?? this.standards.certificateName(listener.hostname ?? listener.name)),\n              allowedRoutes: listener.allowedRoutes\n            }\n          ]\n        }\n\n        case GatewayListenerProtocol.GRPC: {\n          return [\n            {\n              hostname: listener.hostname,\n              name: this.createGatewayListenerName(listener),\n              port: 443,\n              protocol: 'GRPC',\n              tls: this.getTLSMode(true, listener.certificateName ?? this.standards.certificateName(listener.hostname ?? listener.name)),\n              allowedRoutes: listener.allowedRoutes\n            }\n          ]\n        }\n\n        case GatewayListenerProtocol.TLS: {\n          listener.port ??= 443\n\n          return [\n            {\n              hostname: listener.hostname,\n              name: this.createGatewayListenerName(listener),\n              port: listener.port,\n              protocol: 'TLS',\n              tls: this.getTLSMode(listener.terminate, listener.certificateName ?? this.standards.certificateName(listener.hostname ?? listener.name)),\n              allowedRoutes: listener.allowedRoutes\n            }\n          ]\n        }\n\n        case GatewayListenerProtocol.TCP: {\n          return [\n            {\n              name: this.createGatewayListenerName(listener),\n              port: listener.port,\n              protocol: 'TCP',\n              allowedRoutes: listener.allowedRoutes\n            }\n          ]\n        }\n\n        case GatewayListenerProtocol.UDP: {\n          return [\n            {\n              name: this.createGatewayListenerName(listener),\n              port: listener.port,\n              protocol: 'UDP',\n              allowedRoutes: listener.allowedRoutes\n            }\n          ]\n        }\n      }\n    })\n  }\n\n  public createGatewayListenerName(listener: CreateGatewayListeners): string {\n    if (\n      [GatewayListenerProtocol.HTTP, GatewayListenerProtocol.HTTPS, GatewayListenerProtocol.GRPC].includes(listener.type) &&\n      !(listener as any).hostname &&\n      !(listener as any).name\n    ) {\n      throw new Error('Either listener hostname or name must be provided.')\n    }\n\n    switch (listener.type) {\n      case GatewayListenerProtocol.HTTP: {\n        const hostname = (listener.hostname ?? listener.name).replace('*', 'wildcard')\n\n        return resource('http', hostname)\n      }\n\n      case GatewayListenerProtocol.HTTPS: {\n        const hostname = (listener.hostname ?? listener.name).replace('*', 'wildcard')\n\n        return resource('https', hostname)\n      }\n\n      case GatewayListenerProtocol.GRPC: {\n        const hostname = (listener.hostname ?? listener.name).replace('*', 'wildcard')\n\n        return resource('grpc', hostname)\n      }\n\n      case GatewayListenerProtocol.TLS: {\n        const hostname = (listener.hostname ?? listener.name).replace('*', 'wildcard')\n\n        return resource('tls', hostname, listener.port.toString())\n      }\n\n      case GatewayListenerProtocol.TCP: {\n        return resource('tcp', listener.name, listener.port.toString())\n      }\n\n      case GatewayListenerProtocol.UDP: {\n        return resource('udp', listener.name, listener.port.toString())\n      }\n    }\n  }\n\n  public getTLSMode(terminate: boolean, certificateName: string): crds.types.input.gateway.v1.GatewaySpecListenersTls {\n    if (terminate) {\n      return {\n        mode: 'Terminate',\n        certificateRefs: [\n          {\n            group: '',\n            kind: 'Secret',\n            name: certificateName\n          }\n        ]\n      }\n    }\n\n    return {\n      mode: 'Passthrough'\n    }\n  }\n}\n","import type { InjectionToken } from '@nestjs/common'\nimport { Inject } from '@nestjs/common'\n\nimport { GatewayAPIService } from './gateway-api.service'\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport function InjectGatewayAPIService(token?: InjectionToken) {\n  return Inject(token ?? GatewayAPIService)\n}\n","import { DynamicModule, Module } from '@nestjs/common'\n\nimport { GatewayAPIModuleRegisterOpts } from './gateway-api.interface'\nimport { GatewayAPIService } from './gateway-api.service'\nimport { StandardsModule, StandardsService } from '../standards'\n\n@Module({})\nexport class GatewayAPIModule {\n  public static register(options?: GatewayAPIModuleRegisterOpts): DynamicModule {\n    options ??= {}\n\n    const provide = options.provide ?? GatewayAPIService\n\n    return {\n      global: options.global ?? true,\n      module: GatewayAPIModule,\n      imports: [StandardsModule],\n      providers: [\n        {\n          provide,\n          useFactory: (standards: StandardsService): GatewayAPIService => {\n            return new GatewayAPIService(standards)\n          },\n          inject: [StandardsService]\n        }\n      ],\n      exports: [provide]\n    }\n  }\n}\n","import { Logger } from '@nestjs/common'\nimport type * as k8s from '@pulumi/kubernetes'\n\nimport type { WorkloadCreateOpts } from './workloads.interface'\nimport type { ArgoCDService } from '../argocd/argocd.service'\nimport type { StandardsService } from '../standards/standards.service'\nimport type { K8sLabelsType } from '@interfaces'\nimport { lazy, resource, type Lazy } from '@utils'\n\nexport class Workload implements Pick<StandardsService, 'stagedName' | 'stagedLabels' | 'labels' | 'databaseName' | 'certificateName'> {\n  public readonly name: string\n  public readonly namespace: string\n  public readonly output: string\n  public readonly provider: Lazy<k8s.Provider> = lazy((): k8s.Provider => {\n    if (this.injected) {\n      this.logger.debug(['Using the injected provider for workload: %s', this.name])\n\n      return this.injected\n    }\n\n    this.logger.debug(['Creating a new provider for workload: %s', this.name])\n\n    return this.argocd.newProvider({\n      name: this.output,\n      namespace: this.namespace\n    })\n  })\n\n  private readonly logger = new Logger(this.constructor.name)\n\n  constructor(\n    opts: WorkloadCreateOpts,\n    private readonly argocd: ArgoCDService,\n    private readonly standards: StandardsService,\n    private readonly injected?: k8s.Provider\n  ) {\n    opts = {\n      namespace: opts.name,\n      ...opts\n    }\n\n    this.name = opts.name\n    this.namespace = opts.namespace\n    this.output = opts.output ?? (opts.staged ? this.standards.stagedWorkloadPath(opts.name) : this.standards.workloadPath(opts.name))\n  }\n\n  public stagedName(...name: string[]): string {\n    return this.standards.stagedName(this.name, ...name)\n  }\n\n  public stagedLabels(...name: string[]): K8sLabelsType {\n    return this.standards.stagedLabels(this.name, ...name)\n  }\n\n  public labels(...name: string[]): K8sLabelsType {\n    return this.standards.labels(this.name, ...name)\n  }\n\n  public databaseName(...name: string[]): string {\n    return this.standards.databaseName(this.name, ...name)\n  }\n\n  public certificateName(...name: string[]): string {\n    return this.standards.certificateName(this.name, ...name)\n  }\n\n  public resource(...name: string[]): string {\n    return resource(this.name, ...name)\n  }\n}\n","import { Inject, Injectable, Logger } from '@nestjs/common'\n\nimport { ArgoCDService } from '../argocd'\nimport { StandardsService } from '../standards'\nimport { Workload } from './workload'\nimport { WorkloadCreateOpts } from './workloads.interface'\nimport { K8sProvider } from '@interfaces'\n\n@Injectable()\nexport class WorkloadsService {\n  private readonly logger = new Logger(this.constructor.name)\n\n  constructor(\n    @Inject(StandardsService) private readonly standards: StandardsService,\n    @Inject(ArgoCDService) private readonly argocd: ArgoCDService\n  ) {}\n\n  public create(opts: WorkloadCreateOpts, provider?: K8sProvider): Workload {\n    const workload = new Workload(opts, this.argocd, this.standards, provider)\n\n    this.logger.debug(['Created a new workload: %v', workload])\n\n    return workload\n  }\n\n  public extend(parent: Workload, opts: WorkloadCreateOpts, inherit?: boolean): Workload {\n    if (inherit) {\n      this.logger.debug(['Will inject the provider from the parent due to sharing the output: %s into %s', parent.name, opts.name])\n\n      return this.create(\n        {\n          ...parent,\n          ...opts\n        },\n        parent.provider()\n      )\n    }\n\n    this.logger.debug(['Extending from parent: %s into %s', parent.name, opts.name])\n\n    return this.create({\n      ...parent,\n      ...opts\n    })\n  }\n}\n","import type { InjectionToken } from '@nestjs/common'\nimport { Inject } from '@nestjs/common'\n\nimport { WorkloadsService } from './workloads.service'\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport function InjectWorkloadsService(token?: InjectionToken) {\n  return Inject(token ?? WorkloadsService)\n}\n","import { DynamicModule, Module } from '@nestjs/common'\n\nimport { ArgoCDService } from '../argocd'\nimport { StandardsService } from '../standards'\nimport { WorkloadsModuleRegisterOpts } from './workloads.interface'\nimport { WorkloadsService } from './workloads.service'\n\n@Module({})\nexport class WorkloadsModule {\n  public static register(options?: WorkloadsModuleRegisterOpts): DynamicModule {\n    options ??= {}\n\n    const provide = options?.provide ?? WorkloadsService\n\n    return {\n      global: options?.global ?? true,\n      module: WorkloadsModule,\n      providers: [\n        {\n          provide,\n          useFactory: (standards: StandardsService, argocd: ArgoCDService): WorkloadsService => {\n            return new WorkloadsService(standards, argocd)\n          },\n          inject: [StandardsService, ArgoCDService]\n        }\n      ],\n      exports: [provide]\n    }\n  }\n}\n"],"mappings":";;;;;;;;;AAAA,IAAY,oBAAL;CACL;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;AACF;;;;ACPA,MAAa,wCAAsF;CACjG,UAAU,EACR,YAAY,CAAC,wCAAwC,EACvD;CACA,MAAM,EACJ,YAAY;EACV,WAAW,EACT,OAAO,KACT;EACA,OAAO;GACL,OAAO;GACP,SAAS;IACP,UAAU;IACV,QAAQ;IACR,aAAa;GACf;EACF;CACF,EACF;AACF;;;;ACvBA,IAAY,oBAAL;CACL;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;AACF;;;;ACrBA,MAAa,6BAAiE,EAC5E,UAAU,EACR,aAAa;mCACoB;sCACG,iBAA6B,EAAE,KAAK,GAAG;AAC3E,EACF,EACF;;;;ACbA,IAAY,sBAAL;CACL;CACA;CACA;CACA;;AACF;;;;ACLA,IAAY,YAAL;CACL;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;AACF;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;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;AACF;;;;ACvHA,IAAY,kBAAL;CACL;CACA;CACA;CACA;CACA;CACA;;AACF;;;;ACPA,IAAY,aAAL;CACL;CACA;CACA;CACA;CACA;;AACF;AAEA,IAAY,cAAL;CACL;;AACF;;;;ACVA,IAAY,mBAAL;CACL;;AACF;;;;ACFA,IAAY,cAAL;CACL;CACA;CACA;CACA;CACA;CACA;;AACF;AAEA,MAAa,iBAAiB;AAE9B,IAAY,4BAAL;CACL;CACA;;AACF;;;;ACdA,IAAY,uBAAL;CACL;CACA;CACA;CACA;CACA;;AACF;;;;ACNA,IAAY,sBAAL;CACL;;AACF;;;;ACEA,MAAa,8BAAyE,KAAK,SAAS,SAAS;AAE7G,MAAa,iCAA+E,KAAK,SAAS,SAAS;AAEnH,MAAa,6BAAuE,KAAK,SAAS,SAAS;;;;ACN3G,MAAa,6BAAwE,KAAK,aAAa,GAAG;AAE1G,MAAa,sBAA0D,KAAK,aAAa,GAAG;AAE5F,MAAa,2BAAoE,KAAK,aAAa,GAAG;;;;ACJtG,MAAa,oBAA2D,KAAK,OAAO,GAAG;AAEvF,MAAa,6BAA6E,KAAK,OAAO,GAAG;AAEz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