@ydkn/pulumi-components 0.4.4 → 0.4.6
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/{index.ts → index.d.ts} +5 -40
- package/index.d.ts.map +1 -0
- package/index.js +105 -0
- package/index.js.map +1 -0
- package/lib/avahi/deployment.d.ts +26 -0
- package/lib/avahi/deployment.d.ts.map +1 -0
- package/lib/avahi/deployment.js +165 -0
- package/lib/avahi/deployment.js.map +1 -0
- package/lib/avahi/{index.ts → index.d.ts} +1 -1
- package/lib/avahi/index.d.ts.map +1 -0
- package/lib/avahi/index.js +8 -0
- package/lib/avahi/index.js.map +1 -0
- package/lib/avahi/service.d.ts +37 -0
- package/lib/avahi/service.d.ts.map +1 -0
- package/lib/avahi/service.js +93 -0
- package/lib/avahi/service.js.map +1 -0
- package/lib/aws/accessKey.d.ts +22 -0
- package/lib/aws/accessKey.d.ts.map +1 -0
- package/lib/aws/accessKey.js +50 -0
- package/lib/aws/accessKey.js.map +1 -0
- package/lib/aws/bucket.d.ts +28 -0
- package/lib/aws/bucket.d.ts.map +1 -0
- package/lib/aws/bucket.js +72 -0
- package/lib/aws/bucket.js.map +1 -0
- package/lib/aws/{index.ts → index.d.ts} +1 -1
- package/lib/aws/index.d.ts.map +1 -0
- package/lib/aws/index.js +8 -0
- package/lib/aws/index.js.map +1 -0
- package/lib/blocky/deployment.d.ts +25 -0
- package/lib/blocky/deployment.d.ts.map +1 -0
- package/lib/blocky/deployment.js +130 -0
- package/lib/blocky/deployment.js.map +1 -0
- package/lib/blocky/{index.ts → index.d.ts} +1 -1
- package/lib/blocky/index.d.ts.map +1 -0
- package/lib/blocky/index.js +6 -0
- package/lib/blocky/index.js.map +1 -0
- package/lib/certManager/certificate.d.ts +126 -0
- package/lib/certManager/certificate.d.ts.map +1 -0
- package/lib/certManager/certificate.js +65 -0
- package/lib/certManager/certificate.js.map +1 -0
- package/lib/certManager/index.d.ts +5 -0
- package/lib/certManager/index.d.ts.map +1 -0
- package/lib/certManager/index.js +11 -0
- package/lib/certManager/index.js.map +1 -0
- package/lib/certManager/issuer.d.ts +109 -0
- package/lib/certManager/issuer.d.ts.map +1 -0
- package/lib/certManager/issuer.js +62 -0
- package/lib/certManager/issuer.js.map +1 -0
- package/lib/certManager/operator.d.ts +29 -0
- package/lib/certManager/operator.d.ts.map +1 -0
- package/lib/certManager/operator.js +209 -0
- package/lib/certManager/operator.js.map +1 -0
- package/lib/common/componentResource.d.ts +20 -0
- package/lib/common/componentResource.d.ts.map +1 -0
- package/lib/common/componentResource.js +85 -0
- package/lib/common/componentResource.js.map +1 -0
- package/lib/common/{index.ts → index.d.ts} +1 -2
- package/lib/common/index.d.ts.map +1 -0
- package/lib/common/index.js +6 -0
- package/lib/common/index.js.map +1 -0
- package/lib/common/types.d.ts +3 -0
- package/lib/common/types.d.ts.map +1 -0
- package/lib/common/types.js +3 -0
- package/lib/common/types.js.map +1 -0
- package/lib/cups/avahiService.d.ts +20 -0
- package/lib/cups/avahiService.d.ts.map +1 -0
- package/lib/cups/avahiService.js +79 -0
- package/lib/cups/avahiService.js.map +1 -0
- package/lib/cups/deployment.d.ts +38 -0
- package/lib/cups/deployment.d.ts.map +1 -0
- package/lib/cups/deployment.js +166 -0
- package/lib/cups/deployment.js.map +1 -0
- package/lib/cups/{index.ts → index.d.ts} +1 -1
- package/lib/cups/index.d.ts.map +1 -0
- package/lib/cups/index.js +8 -0
- package/lib/cups/index.js.map +1 -0
- package/lib/devcontainer/deployment.d.ts +39 -0
- package/lib/devcontainer/deployment.d.ts.map +1 -0
- package/lib/devcontainer/deployment.js +216 -0
- package/lib/devcontainer/deployment.js.map +1 -0
- package/lib/devcontainer/{index.ts → index.d.ts} +1 -1
- package/lib/devcontainer/index.d.ts.map +1 -0
- package/lib/devcontainer/index.js +6 -0
- package/lib/devcontainer/index.js.map +1 -0
- package/lib/dhcpd/deployment.d.ts +28 -0
- package/lib/dhcpd/deployment.d.ts.map +1 -0
- package/lib/dhcpd/deployment.js +150 -0
- package/lib/dhcpd/deployment.js.map +1 -0
- package/lib/dhcpd/{index.ts → index.d.ts} +1 -1
- package/lib/dhcpd/index.d.ts.map +1 -0
- package/lib/dhcpd/index.js +6 -0
- package/lib/dhcpd/index.js.map +1 -0
- package/lib/externalDns/dnsEndpoint.d.ts +66 -0
- package/lib/externalDns/dnsEndpoint.d.ts.map +1 -0
- package/lib/externalDns/dnsEndpoint.js +40 -0
- package/lib/externalDns/dnsEndpoint.js.map +1 -0
- package/lib/externalDns/index.d.ts +4 -0
- package/lib/externalDns/index.d.ts.map +1 -0
- package/lib/externalDns/index.js +8 -0
- package/lib/externalDns/index.js.map +1 -0
- package/lib/externalDns/operator.d.ts +45 -0
- package/lib/externalDns/operator.d.ts.map +1 -0
- package/lib/externalDns/operator.js +135 -0
- package/lib/externalDns/operator.js.map +1 -0
- package/lib/fcos/config.d.ts +63 -0
- package/lib/fcos/config.d.ts.map +1 -0
- package/lib/fcos/config.js +191 -0
- package/lib/fcos/config.js.map +1 -0
- package/lib/fcos/host.d.ts +34 -0
- package/lib/fcos/host.d.ts.map +1 -0
- package/lib/fcos/host.js +80 -0
- package/lib/fcos/host.js.map +1 -0
- package/lib/fcos/index.d.ts +4 -0
- package/lib/fcos/index.d.ts.map +1 -0
- package/lib/fcos/index.js +8 -0
- package/lib/fcos/index.js.map +1 -0
- package/lib/freeradius/deployment.d.ts +40 -0
- package/lib/freeradius/deployment.d.ts.map +1 -0
- package/lib/freeradius/deployment.js +199 -0
- package/lib/freeradius/deployment.js.map +1 -0
- package/lib/freeradius/{index.ts → index.d.ts} +1 -1
- package/lib/freeradius/index.d.ts.map +1 -0
- package/lib/freeradius/index.js +6 -0
- package/lib/freeradius/index.js.map +1 -0
- package/lib/gitlab/{index.ts → index.d.ts} +2 -13
- package/lib/gitlab/index.d.ts.map +1 -0
- package/lib/gitlab/index.js +12 -0
- package/lib/gitlab/index.js.map +1 -0
- package/lib/gitlab/project.d.ts +18 -0
- package/lib/gitlab/project.d.ts.map +1 -0
- package/lib/gitlab/project.js +139 -0
- package/lib/gitlab/project.js.map +1 -0
- package/lib/gitlab/renovate.d.ts +23 -0
- package/lib/gitlab/renovate.d.ts.map +1 -0
- package/lib/gitlab/renovate.js +100 -0
- package/lib/gitlab/renovate.js.map +1 -0
- package/lib/gitlab/runners/cleanup.d.ts +20 -0
- package/lib/gitlab/runners/cleanup.d.ts.map +1 -0
- package/lib/gitlab/runners/cleanup.js +109 -0
- package/lib/gitlab/runners/cleanup.js.map +1 -0
- package/lib/gitlab/runners/{index.ts → index.d.ts} +1 -1
- package/lib/gitlab/runners/index.d.ts.map +1 -0
- package/lib/gitlab/runners/index.js +10 -0
- package/lib/gitlab/runners/index.js.map +1 -0
- package/lib/gitlab/runners/runner.d.ts +30 -0
- package/lib/gitlab/runners/runner.d.ts.map +1 -0
- package/lib/gitlab/runners/runner.js +112 -0
- package/lib/gitlab/runners/runner.js.map +1 -0
- package/lib/gitlab/runners/runners.d.ts +21 -0
- package/lib/gitlab/runners/runners.d.ts.map +1 -0
- package/lib/gitlab/runners/runners.js +59 -0
- package/lib/gitlab/runners/runners.js.map +1 -0
- package/lib/grafana/agent.d.ts +41 -0
- package/lib/grafana/agent.d.ts.map +1 -0
- package/lib/grafana/agent.js +396 -0
- package/lib/grafana/agent.js.map +1 -0
- package/lib/grafana/dashboard.d.ts +17 -0
- package/lib/grafana/dashboard.d.ts.map +1 -0
- package/lib/grafana/dashboard.js +53 -0
- package/lib/grafana/dashboard.js.map +1 -0
- package/lib/grafana/datasource.d.ts +20 -0
- package/lib/grafana/datasource.d.ts.map +1 -0
- package/lib/grafana/datasource.js +71 -0
- package/lib/grafana/datasource.js.map +1 -0
- package/lib/grafana/deployment.d.ts +21 -0
- package/lib/grafana/deployment.d.ts.map +1 -0
- package/lib/grafana/deployment.js +85 -0
- package/lib/grafana/deployment.js.map +1 -0
- package/lib/grafana/{index.ts → index.d.ts} +2 -13
- package/lib/grafana/index.d.ts.map +1 -0
- package/lib/grafana/index.js +12 -0
- package/lib/grafana/index.js.map +1 -0
- package/lib/hcloud/cluster.d.ts +63 -0
- package/lib/hcloud/cluster.d.ts.map +1 -0
- package/lib/hcloud/cluster.js +344 -0
- package/lib/hcloud/cluster.js.map +1 -0
- package/lib/hcloud/{index.ts → index.d.ts} +1 -1
- package/lib/hcloud/index.d.ts.map +1 -0
- package/lib/hcloud/index.js +10 -0
- package/lib/hcloud/index.js.map +1 -0
- package/lib/hcloud/kubernetes.d.ts +27 -0
- package/lib/hcloud/kubernetes.d.ts.map +1 -0
- package/lib/hcloud/kubernetes.js +211 -0
- package/lib/hcloud/kubernetes.js.map +1 -0
- package/lib/hcloud/wireguard.d.ts +24 -0
- package/lib/hcloud/wireguard.d.ts.map +1 -0
- package/lib/hcloud/wireguard.js +126 -0
- package/lib/hcloud/wireguard.js.map +1 -0
- package/lib/k0s/cluster.d.ts +51 -0
- package/lib/k0s/cluster.d.ts.map +1 -0
- package/lib/k0s/cluster.js +206 -0
- package/lib/k0s/cluster.js.map +1 -0
- package/lib/k0s/{index.ts → index.d.ts} +1 -1
- package/lib/k0s/index.d.ts.map +1 -0
- package/lib/k0s/index.js +6 -0
- package/lib/k0s/index.js.map +1 -0
- package/lib/kubeStateMetrics/deployment.d.ts +20 -0
- package/lib/kubeStateMetrics/deployment.d.ts.map +1 -0
- package/lib/kubeStateMetrics/deployment.js +81 -0
- package/lib/kubeStateMetrics/deployment.js.map +1 -0
- package/lib/kubeStateMetrics/{index.ts → index.d.ts} +1 -1
- package/lib/kubeStateMetrics/index.d.ts.map +1 -0
- package/lib/kubeStateMetrics/index.js +6 -0
- package/lib/kubeStateMetrics/index.js.map +1 -0
- package/lib/kubemq/assets/dashboard.json +5431 -0
- package/lib/kubemq/cluster.d.ts +29 -0
- package/lib/kubemq/cluster.d.ts.map +1 -0
- package/lib/kubemq/cluster.js +77 -0
- package/lib/kubemq/cluster.js.map +1 -0
- package/lib/{postgresql/index.ts → kubemq/index.d.ts} +1 -1
- package/lib/kubemq/index.d.ts.map +1 -0
- package/lib/kubemq/index.js +8 -0
- package/lib/kubemq/index.js.map +1 -0
- package/lib/kubemq/operator.d.ts +18 -0
- package/lib/kubemq/operator.d.ts.map +1 -0
- package/lib/kubemq/operator.js +66 -0
- package/lib/kubemq/operator.js.map +1 -0
- package/lib/kubernetes/helm/{index.ts → index.d.ts} +1 -1
- package/lib/kubernetes/helm/index.d.ts.map +1 -0
- package/lib/kubernetes/helm/index.js +29 -0
- package/lib/kubernetes/helm/index.js.map +1 -0
- package/lib/kubernetes/helm/v3/chart.d.ts +37 -0
- package/lib/kubernetes/helm/v3/chart.d.ts.map +1 -0
- package/lib/kubernetes/helm/v3/chart.js +69 -0
- package/lib/kubernetes/helm/v3/chart.js.map +1 -0
- package/lib/kubernetes/helm/v3/helpers.d.ts +3 -0
- package/lib/kubernetes/helm/v3/helpers.d.ts.map +1 -0
- package/lib/kubernetes/helm/v3/helpers.js +52 -0
- package/lib/kubernetes/helm/v3/helpers.js.map +1 -0
- package/lib/kubernetes/helm/v3/{index.ts → index.d.ts} +1 -1
- package/lib/kubernetes/helm/v3/index.d.ts.map +1 -0
- package/lib/kubernetes/helm/v3/index.js +10 -0
- package/lib/kubernetes/helm/v3/index.js.map +1 -0
- package/lib/kubernetes/helm/v3/release.d.ts +15 -0
- package/lib/kubernetes/helm/v3/release.d.ts.map +1 -0
- package/lib/kubernetes/helm/v3/release.js +41 -0
- package/lib/kubernetes/helm/v3/release.js.map +1 -0
- package/lib/kubernetes/{index.ts → index.d.ts} +1 -1
- package/lib/kubernetes/index.d.ts.map +1 -0
- package/lib/kubernetes/index.js +33 -0
- package/lib/kubernetes/index.js.map +1 -0
- package/lib/kubernetes/transformations/filter.d.ts +13 -0
- package/lib/kubernetes/transformations/filter.d.ts.map +1 -0
- package/lib/kubernetes/transformations/filter.js +32 -0
- package/lib/kubernetes/transformations/filter.js.map +1 -0
- package/lib/kubernetes/transformations/{index.ts → index.d.ts} +1 -1
- package/lib/kubernetes/transformations/index.d.ts.map +1 -0
- package/lib/kubernetes/transformations/index.js +12 -0
- package/lib/kubernetes/transformations/index.js.map +1 -0
- package/lib/kubernetes/transformations/metadataNamespace.d.ts +3 -0
- package/lib/kubernetes/transformations/metadataNamespace.d.ts.map +1 -0
- package/lib/kubernetes/transformations/metadataNamespace.js +27 -0
- package/lib/kubernetes/transformations/metadataNamespace.js.map +1 -0
- package/lib/kubernetes/transformations/removeCrdDescriptions.d.ts +3 -0
- package/lib/kubernetes/transformations/removeCrdDescriptions.d.ts.map +1 -0
- package/lib/kubernetes/transformations/removeCrdDescriptions.js +61 -0
- package/lib/kubernetes/transformations/removeCrdDescriptions.js.map +1 -0
- package/lib/kubernetes/transformations/v1beta1Deprecations.d.ts +3 -0
- package/lib/kubernetes/transformations/v1beta1Deprecations.d.ts.map +1 -0
- package/lib/kubernetes/transformations/v1beta1Deprecations.js +55 -0
- package/lib/kubernetes/transformations/v1beta1Deprecations.js.map +1 -0
- package/lib/kubernetes/v1/{index.ts → index.d.ts} +2 -12
- package/lib/kubernetes/v1/index.d.ts.map +1 -0
- package/lib/kubernetes/v1/index.js +10 -0
- package/lib/kubernetes/v1/index.js.map +1 -0
- package/lib/kubernetes/v1/nfsVolume.d.ts +46 -0
- package/lib/kubernetes/v1/nfsVolume.d.ts.map +1 -0
- package/lib/kubernetes/v1/nfsVolume.js +120 -0
- package/lib/kubernetes/v1/nfsVolume.js.map +1 -0
- package/lib/kubernetes/v1/pullSecret.d.ts +18 -0
- package/lib/kubernetes/v1/pullSecret.d.ts.map +1 -0
- package/lib/kubernetes/v1/pullSecret.js +50 -0
- package/lib/kubernetes/v1/pullSecret.js.map +1 -0
- package/lib/kubernetes/v1/service.d.ts +19 -0
- package/lib/kubernetes/v1/service.d.ts.map +1 -0
- package/lib/kubernetes/v1/service.js +66 -0
- package/lib/kubernetes/v1/service.js.map +1 -0
- package/lib/localPathProvisioner/deployment.d.ts +23 -0
- package/lib/localPathProvisioner/deployment.d.ts.map +1 -0
- package/lib/localPathProvisioner/deployment.js +97 -0
- package/lib/localPathProvisioner/deployment.js.map +1 -0
- package/lib/localPathProvisioner/{index.ts → index.d.ts} +1 -1
- package/lib/localPathProvisioner/index.d.ts.map +1 -0
- package/lib/localPathProvisioner/index.js +6 -0
- package/lib/localPathProvisioner/index.js.map +1 -0
- package/lib/loki/deployment.d.ts +25 -0
- package/lib/loki/deployment.d.ts.map +1 -0
- package/lib/loki/deployment.js +125 -0
- package/lib/loki/deployment.js.map +1 -0
- package/lib/loki/{index.ts → index.d.ts} +1 -1
- package/lib/loki/index.d.ts.map +1 -0
- package/lib/loki/index.js +6 -0
- package/lib/loki/index.js.map +1 -0
- package/lib/metallb/controller.d.ts +17 -0
- package/lib/metallb/controller.d.ts.map +1 -0
- package/lib/metallb/controller.js +110 -0
- package/lib/metallb/controller.js.map +1 -0
- package/lib/metallb/{index.ts → index.d.ts} +2 -11
- package/lib/metallb/index.d.ts.map +1 -0
- package/lib/metallb/index.js +10 -0
- package/lib/metallb/index.js.map +1 -0
- package/lib/metallb/ipAddressPool.d.ts +20 -0
- package/lib/metallb/ipAddressPool.d.ts.map +1 -0
- package/lib/metallb/ipAddressPool.js +45 -0
- package/lib/metallb/ipAddressPool.js.map +1 -0
- package/lib/metallb/l2Advertisement.d.ts +21 -0
- package/lib/metallb/l2Advertisement.d.ts.map +1 -0
- package/lib/metallb/l2Advertisement.js +45 -0
- package/lib/metallb/l2Advertisement.js.map +1 -0
- package/lib/mongodb/cluster.d.ts +47 -0
- package/lib/mongodb/cluster.d.ts.map +1 -0
- package/lib/mongodb/cluster.js +260 -0
- package/lib/mongodb/cluster.js.map +1 -0
- package/lib/mongodb/index.d.ts +4 -0
- package/lib/mongodb/index.d.ts.map +1 -0
- package/lib/mongodb/index.js +8 -0
- package/lib/mongodb/index.js.map +1 -0
- package/lib/mongodb/operator.d.ts +17 -0
- package/lib/mongodb/operator.d.ts.map +1 -0
- package/lib/mongodb/operator.js +67 -0
- package/lib/mongodb/operator.js.map +1 -0
- package/lib/node/{index.ts → index.d.ts} +1 -1
- package/lib/node/index.d.ts.map +1 -0
- package/lib/node/index.js +6 -0
- package/lib/node/index.js.map +1 -0
- package/lib/node/kubernetes.d.ts +23 -0
- package/lib/node/kubernetes.d.ts.map +1 -0
- package/lib/node/kubernetes.js +112 -0
- package/lib/node/kubernetes.js.map +1 -0
- package/lib/node/node.d.ts +21 -0
- package/lib/node/node.d.ts.map +1 -0
- package/lib/node/node.js +3 -0
- package/lib/node/node.js.map +1 -0
- package/lib/openldap/deployment.d.ts +33 -0
- package/lib/openldap/deployment.d.ts.map +1 -0
- package/lib/openldap/deployment.js +200 -0
- package/lib/openldap/deployment.js.map +1 -0
- package/lib/openldap/{index.ts → index.d.ts} +1 -1
- package/lib/openldap/index.d.ts.map +1 -0
- package/lib/openldap/index.js +6 -0
- package/lib/openldap/index.js.map +1 -0
- package/lib/plex/{index.ts → index.d.ts} +1 -1
- package/lib/plex/index.d.ts.map +1 -0
- package/lib/plex/index.js +8 -0
- package/lib/plex/index.js.map +1 -0
- package/lib/plex/mediaServer.d.ts +42 -0
- package/lib/plex/mediaServer.d.ts.map +1 -0
- package/lib/plex/mediaServer.js +217 -0
- package/lib/plex/mediaServer.js.map +1 -0
- package/lib/plex/playlists.d.ts +31 -0
- package/lib/plex/playlists.d.ts.map +1 -0
- package/lib/plex/playlists.js +112 -0
- package/lib/plex/playlists.js.map +1 -0
- package/lib/postgresql/cluster.d.ts +37 -0
- package/lib/postgresql/cluster.d.ts.map +1 -0
- package/lib/postgresql/cluster.js +64 -0
- package/lib/postgresql/cluster.js.map +1 -0
- package/lib/postgresql/index.d.ts +4 -0
- package/lib/postgresql/index.d.ts.map +1 -0
- package/lib/postgresql/index.js +8 -0
- package/lib/postgresql/index.js.map +1 -0
- package/lib/postgresql/operator.d.ts +18 -0
- package/lib/postgresql/operator.d.ts.map +1 -0
- package/lib/postgresql/operator.js +83 -0
- package/lib/postgresql/operator.js.map +1 -0
- package/lib/prometheus/index.d.ts +5 -0
- package/lib/prometheus/index.d.ts.map +1 -0
- package/lib/prometheus/index.js +10 -0
- package/lib/prometheus/index.js.map +1 -0
- package/lib/prometheus/monitor.d.ts +12 -0
- package/lib/prometheus/monitor.d.ts.map +1 -0
- package/lib/prometheus/monitor.js +3 -0
- package/lib/prometheus/monitor.js.map +1 -0
- package/lib/prometheus/operator.d.ts +38 -0
- package/lib/prometheus/operator.d.ts.map +1 -0
- package/lib/prometheus/operator.js +239 -0
- package/lib/prometheus/operator.js.map +1 -0
- package/lib/prometheus/podMonitor.d.ts +27 -0
- package/lib/prometheus/podMonitor.d.ts.map +1 -0
- package/lib/prometheus/podMonitor.js +40 -0
- package/lib/prometheus/podMonitor.js.map +1 -0
- package/lib/prometheus/serviceMonitor.d.ts +37 -0
- package/lib/prometheus/serviceMonitor.d.ts.map +1 -0
- package/lib/prometheus/serviceMonitor.js +40 -0
- package/lib/prometheus/serviceMonitor.js.map +1 -0
- package/lib/raspberrypi/cluster.d.ts +41 -0
- package/lib/raspberrypi/cluster.d.ts.map +1 -0
- package/lib/raspberrypi/cluster.js +215 -0
- package/lib/raspberrypi/cluster.js.map +1 -0
- package/lib/raspberrypi/{index.ts → index.d.ts} +1 -1
- package/lib/raspberrypi/index.d.ts.map +1 -0
- package/lib/raspberrypi/index.js +6 -0
- package/lib/raspberrypi/index.js.map +1 -0
- package/lib/redis/index.d.ts +4 -0
- package/lib/redis/index.d.ts.map +1 -0
- package/lib/redis/index.js +8 -0
- package/lib/redis/index.js.map +1 -0
- package/lib/redis/operator.d.ts +17 -0
- package/lib/redis/operator.d.ts.map +1 -0
- package/lib/redis/operator.js +62 -0
- package/lib/redis/operator.js.map +1 -0
- package/lib/redis/standalone.d.ts +17 -0
- package/lib/redis/standalone.d.ts.map +1 -0
- package/lib/redis/standalone.js +87 -0
- package/lib/redis/standalone.js.map +1 -0
- package/lib/rethinkdb/deployment.d.ts +36 -0
- package/lib/rethinkdb/deployment.d.ts.map +1 -0
- package/lib/rethinkdb/deployment.js +335 -0
- package/lib/rethinkdb/deployment.js.map +1 -0
- package/lib/rethinkdb/{index.ts → index.d.ts} +1 -1
- package/lib/rethinkdb/index.d.ts.map +1 -0
- package/lib/rethinkdb/index.js +6 -0
- package/lib/rethinkdb/index.js.map +1 -0
- package/lib/rook/blockPool.d.ts +28 -0
- package/lib/rook/blockPool.d.ts.map +1 -0
- package/lib/rook/blockPool.js +79 -0
- package/lib/rook/blockPool.js.map +1 -0
- package/lib/rook/cluster.d.ts +55 -0
- package/lib/rook/cluster.d.ts.map +1 -0
- package/lib/rook/cluster.js +133 -0
- package/lib/rook/cluster.js.map +1 -0
- package/lib/rook/filesystem.d.ts +29 -0
- package/lib/rook/filesystem.d.ts.map +1 -0
- package/lib/rook/filesystem.js +133 -0
- package/lib/rook/filesystem.js.map +1 -0
- package/lib/rook/{index.ts → index.d.ts} +2 -15
- package/lib/rook/index.d.ts.map +1 -0
- package/lib/rook/index.js +12 -0
- package/lib/rook/index.js.map +1 -0
- package/lib/rook/operator.d.ts +19 -0
- package/lib/rook/operator.d.ts.map +1 -0
- package/lib/rook/operator.js +186 -0
- package/lib/rook/operator.js.map +1 -0
- package/lib/samba/avahiService.d.ts +20 -0
- package/lib/samba/avahiService.d.ts.map +1 -0
- package/lib/samba/avahiService.js +58 -0
- package/lib/samba/avahiService.js.map +1 -0
- package/lib/samba/deployment.d.ts +40 -0
- package/lib/samba/deployment.d.ts.map +1 -0
- package/lib/samba/deployment.js +251 -0
- package/lib/samba/deployment.js.map +1 -0
- package/lib/samba/{index.ts → index.d.ts} +1 -1
- package/lib/samba/index.d.ts.map +1 -0
- package/lib/samba/index.js +11 -0
- package/lib/samba/index.js.map +1 -0
- package/lib/samba/volumes.d.ts +29 -0
- package/lib/samba/volumes.d.ts.map +1 -0
- package/lib/samba/volumes.js +61 -0
- package/lib/samba/volumes.js.map +1 -0
- package/lib/ssh/exec.d.ts +33 -0
- package/lib/ssh/exec.d.ts.map +1 -0
- package/lib/ssh/exec.js +139 -0
- package/lib/ssh/exec.js.map +1 -0
- package/lib/ssh/file.d.ts +43 -0
- package/lib/ssh/file.d.ts.map +1 -0
- package/lib/ssh/file.js +136 -0
- package/lib/ssh/file.js.map +1 -0
- package/lib/ssh/{index.ts → index.d.ts} +1 -1
- package/lib/ssh/index.d.ts.map +1 -0
- package/lib/ssh/index.js +8 -0
- package/lib/ssh/index.js.map +1 -0
- package/lib/ssh/types.d.ts +19 -0
- package/lib/ssh/types.d.ts.map +1 -0
- package/lib/ssh/types.js +3 -0
- package/lib/ssh/types.js.map +1 -0
- package/lib/torproxy/deployment.d.ts +31 -0
- package/lib/torproxy/deployment.d.ts.map +1 -0
- package/lib/torproxy/deployment.js +154 -0
- package/lib/torproxy/deployment.js.map +1 -0
- package/lib/torproxy/{index.ts → index.d.ts} +1 -1
- package/lib/torproxy/index.d.ts.map +1 -0
- package/lib/torproxy/index.js +6 -0
- package/lib/torproxy/index.js.map +1 -0
- package/lib/traefik/controller.d.ts +29 -0
- package/lib/traefik/controller.d.ts.map +1 -0
- package/lib/traefik/controller.js +189 -0
- package/lib/traefik/controller.js.map +1 -0
- package/lib/traefik/{index.ts → index.d.ts} +1 -1
- package/lib/traefik/index.d.ts.map +1 -0
- package/lib/traefik/index.js +10 -0
- package/lib/traefik/index.js.map +1 -0
- package/lib/traefik/middleware.d.ts +27 -0
- package/lib/traefik/middleware.d.ts.map +1 -0
- package/lib/traefik/middleware.js +45 -0
- package/lib/traefik/middleware.js.map +1 -0
- package/lib/traefik/secureIngress.d.ts +32 -0
- package/lib/traefik/secureIngress.d.ts.map +1 -0
- package/lib/traefik/secureIngress.js +81 -0
- package/lib/traefik/secureIngress.js.map +1 -0
- package/lib/ubuntu/deployment.d.ts +39 -0
- package/lib/ubuntu/deployment.d.ts.map +1 -0
- package/lib/ubuntu/deployment.js +236 -0
- package/lib/ubuntu/deployment.js.map +1 -0
- package/lib/ubuntu/{index.ts → index.d.ts} +1 -1
- package/lib/ubuntu/index.d.ts.map +1 -0
- package/lib/ubuntu/index.js +6 -0
- package/lib/ubuntu/index.js.map +1 -0
- package/lib/unifi/controller.d.ts +28 -0
- package/lib/unifi/controller.d.ts.map +1 -0
- package/lib/unifi/controller.js +217 -0
- package/lib/unifi/controller.js.map +1 -0
- package/lib/unifi/{index.ts → index.d.ts} +1 -1
- package/lib/unifi/index.d.ts.map +1 -0
- package/lib/unifi/index.js +6 -0
- package/lib/unifi/index.js.map +1 -0
- package/lib/velero/{index.ts → index.d.ts} +1 -1
- package/lib/velero/index.d.ts.map +1 -0
- package/lib/velero/index.js +6 -0
- package/lib/velero/index.js.map +1 -0
- package/lib/velero/operator.d.ts +31 -0
- package/lib/velero/operator.d.ts.map +1 -0
- package/lib/velero/operator.js +171 -0
- package/lib/velero/operator.js.map +1 -0
- package/lib/wireguard/deployment.d.ts +42 -0
- package/lib/wireguard/deployment.d.ts.map +1 -0
- package/lib/wireguard/deployment.js +139 -0
- package/lib/wireguard/deployment.js.map +1 -0
- package/lib/wireguard/{index.ts → index.d.ts} +1 -1
- package/lib/wireguard/index.d.ts.map +1 -0
- package/lib/wireguard/index.js +6 -0
- package/lib/wireguard/index.js.map +1 -0
- package/package.json +16 -17
- package/.eslintrc.json +0 -14
- package/.gitlab-ci.yml +0 -73
- package/.prettierrc +0 -3
- package/lib/avahi/deployment.ts +0 -171
- package/lib/avahi/service.ts +0 -118
- package/lib/aws/accessKey.ts +0 -40
- package/lib/aws/bucket.ts +0 -71
- package/lib/blocky/deployment.ts +0 -134
- package/lib/certManager/certificate.ts +0 -168
- package/lib/certManager/index.ts +0 -39
- package/lib/certManager/issuer.ts +0 -141
- package/lib/certManager/operator.ts +0 -244
- package/lib/common/componentResource.ts +0 -78
- package/lib/common/types.ts +0 -3
- package/lib/cups/avahiService.ts +0 -66
- package/lib/cups/deployment.ts +0 -199
- package/lib/devcontainer/deployment.ts +0 -253
- package/lib/dhcpd/deployment.ts +0 -164
- package/lib/externalDns/dnsEndpoint.ts +0 -70
- package/lib/externalDns/index.ts +0 -18
- package/lib/externalDns/operator.ts +0 -165
- package/lib/fcos/config.ts +0 -237
- package/lib/fcos/host.ts +0 -91
- package/lib/fcos/index.ts +0 -27
- package/lib/freeradius/deployment.ts +0 -244
- package/lib/gitlab/project.ts +0 -148
- package/lib/gitlab/renovate.ts +0 -98
- package/lib/gitlab/runners/cleanup.ts +0 -104
- package/lib/gitlab/runners/runner.ts +0 -122
- package/lib/gitlab/runners/runners.ts +0 -49
- package/lib/grafana/agent.ts +0 -449
- package/lib/grafana/dashboard.ts +0 -38
- package/lib/grafana/datasource.ts +0 -59
- package/lib/grafana/deployment.ts +0 -78
- package/lib/hcloud/cluster.ts +0 -500
- package/lib/hcloud/kubernetes.ts +0 -237
- package/lib/hcloud/wireguard.ts +0 -155
- package/lib/k0s/cluster.ts +0 -264
- package/lib/kubeStateMetrics/deployment.ts +0 -60
- package/lib/kubernetes/helm/v3/chart.ts +0 -79
- package/lib/kubernetes/helm/v3/helpers.ts +0 -32
- package/lib/kubernetes/helm/v3/release.ts +0 -17
- package/lib/kubernetes/transformations/filter.ts +0 -43
- package/lib/kubernetes/transformations/metadataNamespace.ts +0 -25
- package/lib/kubernetes/transformations/removeCrdDescriptions.ts +0 -78
- package/lib/kubernetes/transformations/v1beta1Deprecations.ts +0 -60
- package/lib/kubernetes/v1/nfsVolume.ts +0 -145
- package/lib/kubernetes/v1/pullSecret.ts +0 -37
- package/lib/kubernetes/v1/service.ts +0 -58
- package/lib/localPathProvisioner/deployment.ts +0 -88
- package/lib/loki/deployment.ts +0 -122
- package/lib/metallb/controller.ts +0 -96
- package/lib/metallb/ipAddressPool.ts +0 -33
- package/lib/metallb/l2Advertisement.ts +0 -34
- package/lib/node/kubernetes.ts +0 -129
- package/lib/node/node.ts +0 -17
- package/lib/openldap/deployment.ts +0 -226
- package/lib/plex/mediaServer.ts +0 -265
- package/lib/plex/playlists.ts +0 -123
- package/lib/postgresql/cluster.ts +0 -61
- package/lib/postgresql/operator.ts +0 -70
- package/lib/prometheus/index.ts +0 -23
- package/lib/prometheus/monitor.ts +0 -13
- package/lib/prometheus/operator.ts +0 -264
- package/lib/prometheus/podMonitor.ts +0 -32
- package/lib/prometheus/serviceMonitor.ts +0 -43
- package/lib/raspberrypi/cluster.ts +0 -279
- package/lib/rethinkdb/deployment.ts +0 -424
- package/lib/rook/blockPool.ts +0 -80
- package/lib/rook/cluster.ts +0 -168
- package/lib/rook/filesystem.ts +0 -140
- package/lib/rook/operator.ts +0 -175
- package/lib/samba/avahiService.ts +0 -44
- package/lib/samba/deployment.ts +0 -305
- package/lib/samba/volumes.ts +0 -70
- package/lib/ssh/exec.ts +0 -162
- package/lib/ssh/file.ts +0 -165
- package/lib/ssh/types.ts +0 -20
- package/lib/torproxy/deployment.ts +0 -165
- package/lib/traefik/controller.ts +0 -207
- package/lib/traefik/middleware.ts +0 -37
- package/lib/traefik/secureIngress.ts +0 -81
- package/lib/ubuntu/deployment.ts +0 -275
- package/lib/unifi/controller.ts +0 -234
- package/lib/velero/operator.ts +0 -182
- package/lib/wireguard/deployment.ts +0 -168
- package/renovate.json +0 -4
- package/tsconfig.json +0 -21
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.Cluster = void 0;
|
|
27
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
28
|
+
const random = __importStar(require("@pulumi/random"));
|
|
29
|
+
const k8s = __importStar(require("@pulumi/kubernetes"));
|
|
30
|
+
const common_1 = require("../common");
|
|
31
|
+
const fcos = __importStar(require("../fcos"));
|
|
32
|
+
const k0s = __importStar(require("../k0s"));
|
|
33
|
+
class Cluster extends common_1.ComponentResource {
|
|
34
|
+
static sshUsername = "pulumi";
|
|
35
|
+
static ethernetInterfaceName = "eth0";
|
|
36
|
+
name;
|
|
37
|
+
nodes;
|
|
38
|
+
kubeconfig;
|
|
39
|
+
provider;
|
|
40
|
+
kubeletDirPath;
|
|
41
|
+
/**
|
|
42
|
+
* Create a new RaspberryPi cluster resource.
|
|
43
|
+
* @param name The name of RaspberryPi cluster resource.
|
|
44
|
+
* @param args A bag of arguments to control the RaspberryPi cluster creation.
|
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
+
*/
|
|
47
|
+
constructor(name, args, opts) {
|
|
48
|
+
super("raspberrypi:cluster", name, args, opts);
|
|
49
|
+
const emptyOpts = this.opts();
|
|
50
|
+
if (args.name === undefined) {
|
|
51
|
+
this.name = new random.RandomId(name, { byteLength: 3 }, { ...emptyOpts, protect: args.protect }).hex;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
this.name = pulumi.output(args.name);
|
|
55
|
+
}
|
|
56
|
+
const servers = this.createServers(args.nodes, args.modules, args.packages, args.disks, args.filesystems, args.files, args.systemdUnits, args.sshAuthorizedKeys);
|
|
57
|
+
this.nodes = servers.apply((servers) => servers.map((s) => s.node));
|
|
58
|
+
const k0sCluster = new k0s.Cluster(name, {
|
|
59
|
+
name: this.name,
|
|
60
|
+
nodes: servers.apply((servers) => pulumi.all(servers.map((s) => s.node)).apply((nodes) => nodes.filter((n) => n.disabled !== true))),
|
|
61
|
+
k0s: args.k0s,
|
|
62
|
+
hooks: args.hooks,
|
|
63
|
+
cloudProvider: false,
|
|
64
|
+
protect: args.protect,
|
|
65
|
+
}, { ...emptyOpts, dependsOn: servers.apply((servers) => pulumi.all(servers.map((s) => s.depends))) });
|
|
66
|
+
this.kubeletDirPath = k0sCluster.kubeletDirPath;
|
|
67
|
+
this.kubeconfig = k0sCluster.kubeconfig;
|
|
68
|
+
this.provider = new k8s.Provider(`${name}-k8s`, { kubeconfig: this.kubeconfig, suppressHelmHookWarnings: true }, emptyOpts);
|
|
69
|
+
this.registerOutputs();
|
|
70
|
+
}
|
|
71
|
+
createServers(nodes, modules, packages, disks, filesystems, files, systemdUnits, sshAuthorizedKeys) {
|
|
72
|
+
const emptyOpts = this.opts();
|
|
73
|
+
return pulumi.all([nodes]).apply(([nodes]) => {
|
|
74
|
+
const results = [];
|
|
75
|
+
for (let i = 0; i < nodes.length; i++) {
|
|
76
|
+
// eslint-disable-next-line security/detect-object-injection
|
|
77
|
+
const node = nodes[i];
|
|
78
|
+
const nodeId = new random.RandomId(`node-${i}`, { byteLength: 3 }, emptyOpts).hex;
|
|
79
|
+
const hostname = pulumi.interpolate `${this.name}-${k0s.Cluster.rolesHostname(node.roles)}-${nodeId}`;
|
|
80
|
+
const host = pulumi
|
|
81
|
+
.all([hostname, modules, packages, files, disks, filesystems, systemdUnits, sshAuthorizedKeys])
|
|
82
|
+
.apply(([hostname, modules, packages, files, disks, filesystems, systemdUnits, sshAuthorizedKeys]) => {
|
|
83
|
+
const fcosHost = new fcos.Host(hostname, {
|
|
84
|
+
hostname,
|
|
85
|
+
disks: pulumi
|
|
86
|
+
.all(disks || [])
|
|
87
|
+
.apply((disks) => pulumi.all(node.disks || []).apply((nodeDisks) => disks.concat(nodeDisks))),
|
|
88
|
+
filesystems: pulumi
|
|
89
|
+
.all(filesystems || [])
|
|
90
|
+
.apply((filesystems) => pulumi.all(node.filesystems || []).apply((nodeFilesystems) => filesystems.concat(nodeFilesystems))),
|
|
91
|
+
files: pulumi
|
|
92
|
+
.all(files || [])
|
|
93
|
+
.apply((files) => pulumi
|
|
94
|
+
.all(node.files || [])
|
|
95
|
+
.apply((nodeFiles) => pulumi
|
|
96
|
+
.all([this.networkManagerConfigFiles(node)])
|
|
97
|
+
.apply(([networkManagerFiles]) => files.concat(nodeFiles).concat(networkManagerFiles)))),
|
|
98
|
+
systemdUnits: pulumi
|
|
99
|
+
.all(systemdUnits || [])
|
|
100
|
+
.apply((systemdUnits) => pulumi
|
|
101
|
+
.all(node.systemdUnits || [])
|
|
102
|
+
.apply((nodeSystemdUnits) => systemdUnits.concat(nodeSystemdUnits))),
|
|
103
|
+
packages: pulumi
|
|
104
|
+
.all(packages || [])
|
|
105
|
+
.apply((packages) => pulumi.all(node.packages || []).apply((nodePackages) => packages.concat(nodePackages))),
|
|
106
|
+
modules: pulumi
|
|
107
|
+
.all(modules || [])
|
|
108
|
+
.apply((modules) => pulumi.all(node.modules || []).apply((nodeModules) => modules.concat(nodeModules))),
|
|
109
|
+
users: pulumi.all(node.users || []).apply((users) => {
|
|
110
|
+
return users.concat([{ name: "core", sshAuthorizedKeys: (sshAuthorizedKeys || []).map((k) => k) }]);
|
|
111
|
+
}),
|
|
112
|
+
sshUsers: [{ name: Cluster.sshUsername, groups: ["sudo"] }],
|
|
113
|
+
}, emptyOpts);
|
|
114
|
+
const roles = node.roles || [];
|
|
115
|
+
let isController = false;
|
|
116
|
+
for (const role of roles) {
|
|
117
|
+
if (role === "controller") {
|
|
118
|
+
isController = true;
|
|
119
|
+
break;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
if (isController) {
|
|
123
|
+
roles.push("etcd");
|
|
124
|
+
}
|
|
125
|
+
return {
|
|
126
|
+
id: hostname,
|
|
127
|
+
hostname,
|
|
128
|
+
roles,
|
|
129
|
+
ipv4Address: node.ipv4Address,
|
|
130
|
+
privateIpv4Address: node.privateIpv4Address,
|
|
131
|
+
ipv6Address: node.ipv6Address,
|
|
132
|
+
privateIpv6Address: node.privateIpv6Address,
|
|
133
|
+
labels: node.labels ?? {},
|
|
134
|
+
taints: node.taints ?? [],
|
|
135
|
+
username: Cluster.sshUsername,
|
|
136
|
+
privateKey: fcosHost.sshPrivateKeys.apply((sshPrivateKeys) => {
|
|
137
|
+
for (const username in sshPrivateKeys) {
|
|
138
|
+
if (username === Cluster.sshUsername) {
|
|
139
|
+
// eslint-disable-next-line security/detect-object-injection
|
|
140
|
+
return sshPrivateKeys[username].privateKeyOpenssh;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
throw new Error(`No private key found for user ${Cluster.sshUsername}`);
|
|
144
|
+
}),
|
|
145
|
+
disabled: node.disabled ?? false,
|
|
146
|
+
fcosHost,
|
|
147
|
+
};
|
|
148
|
+
});
|
|
149
|
+
results.push({ node: host, depends: host.fcosHost });
|
|
150
|
+
}
|
|
151
|
+
return results;
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
networkManagerConfigFiles(node) {
|
|
155
|
+
return pulumi.all([node.vlans]).apply(([vlans]) => {
|
|
156
|
+
const configs = [];
|
|
157
|
+
configs.push({
|
|
158
|
+
path: `/etc/NetworkManager/system-connections/${Cluster.ethernetInterfaceName}.nmconnection`,
|
|
159
|
+
contents: [
|
|
160
|
+
"[connection]",
|
|
161
|
+
"type=ethernet",
|
|
162
|
+
`id=${Cluster.ethernetInterfaceName}`,
|
|
163
|
+
`interface-name=${Cluster.ethernetInterfaceName}`,
|
|
164
|
+
"[ipv4]",
|
|
165
|
+
"method=auto",
|
|
166
|
+
"[ipv6]",
|
|
167
|
+
"method=auto",
|
|
168
|
+
"addr-gen-mode=eui64",
|
|
169
|
+
].join("\n"),
|
|
170
|
+
mode: 0o600,
|
|
171
|
+
});
|
|
172
|
+
for (const vlan of vlans || []) {
|
|
173
|
+
const parentInterfaceName = vlan.interface ?? Cluster.ethernetInterfaceName;
|
|
174
|
+
const interfaceName = `${parentInterfaceName}.${vlan.id}`;
|
|
175
|
+
const ipv4 = ["never-default=true"];
|
|
176
|
+
const ipv6 = ["never-default=true"];
|
|
177
|
+
if (vlan.ipv4Address !== undefined) {
|
|
178
|
+
ipv4.push("method=manual", `address1=${vlan.ipv4Address}`);
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
ipv4.push("method=auto");
|
|
182
|
+
}
|
|
183
|
+
if (vlan.ipv6Address !== undefined) {
|
|
184
|
+
ipv6.push("method=manual", `address1=${vlan.ipv6Address}`);
|
|
185
|
+
}
|
|
186
|
+
else {
|
|
187
|
+
ipv6.push("method=auto", "addr-gen-mode=eui64");
|
|
188
|
+
}
|
|
189
|
+
configs.push({
|
|
190
|
+
path: `/etc/NetworkManager/system-connections/${interfaceName}.nmconnection`,
|
|
191
|
+
contents: [
|
|
192
|
+
"[connection]",
|
|
193
|
+
`id=${interfaceName}`,
|
|
194
|
+
"type=vlan",
|
|
195
|
+
`interface-name=${interfaceName}`,
|
|
196
|
+
"[vlan]",
|
|
197
|
+
"egress-priority-map=",
|
|
198
|
+
"flags=1",
|
|
199
|
+
`id=${vlan.id}`,
|
|
200
|
+
"ingress-priority-map=",
|
|
201
|
+
`parent=${parentInterfaceName}`,
|
|
202
|
+
"[ipv4]",
|
|
203
|
+
...ipv4,
|
|
204
|
+
"[ipv6]",
|
|
205
|
+
...ipv6,
|
|
206
|
+
].join("\n"),
|
|
207
|
+
mode: 0o600,
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
return configs;
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
exports.Cluster = Cluster;
|
|
215
|
+
//# sourceMappingURL=cluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../../lib/raspberrypi/cluster.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAyC;AACzC,uDAAyC;AACzC,wDAA0C;AAC1C,sCAA8C;AAE9C,8CAAgC;AAChC,4CAA8B;AAoB9B,MAAa,OAAQ,SAAQ,0BAAiB;IACpC,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC;IACvC,MAAM,CAAU,qBAAqB,GAAG,MAAM,CAAC;IAEvC,IAAI,CAAwB;IAC5B,KAAK,CAA4C;IACjD,UAAU,CAAwB;IAClC,QAAQ,CAAe;IACvB,cAAc,CAAwB;IAEtD;;;;;OAKG;IACH,YAAY,IAAY,EAAE,IAAiB,EAAE,IAAsC;QACjF,KAAK,CAAC,qBAAqB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAE/C,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;QAE9B,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE;YAC3B,IAAI,CAAC,IAAI,GAAG,IAAI,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,EAAE,EAAE,GAAG,SAAS,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,GAAG,CAAC;SACvG;aAAM;YACL,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACtC;QAED,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,CAChC,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,WAAW,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Ae,EAAE,YAAY,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;iBAC5D;qBAAM;oBACL,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,qBAAqB,CAAC,CAAC;iBACjD;gBAED,OAAO,CAAC,IAAI,CAAC;oBACX,IAAI,EAAE,0CAA0C,aAAa,eAAe;oBAC5E,QAAQ,EAAE;wBACR,cAAc;wBACd,MAAM,aAAa,EAAE;wBACrB,WAAW;wBACX,kBAAkB,aAAa,EAAE;wBACjC,QAAQ;wBACR,sBAAsB;wBACtB,SAAS;wBACT,MAAM,IAAI,CAAC,EAAE,EAAE;wBACf,uBAAuB;wBACvB,UAAU,mBAAmB,EAAE;wBAC/B,QAAQ;wBACR,GAAG,IAAI;wBACP,QAAQ;wBACR,GAAG,IAAI;qBACR,CAAC,IAAI,CAAC,IAAI,CAAC;oBACZ,IAAI,EAAE,KAAK;iBACZ,CAAC,CAAC;aACJ;YAED,OAAO,OAAO,CAAC;QACjB,CAAC,CAAC,CAAC;IACL,CAAC;;AAzPH,0BA0PC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/raspberrypi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Cluster = void 0;
|
|
4
|
+
const cluster_1 = require("./cluster");
|
|
5
|
+
Object.defineProperty(exports, "Cluster", { enumerable: true, get: function () { return cluster_1.Cluster; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/raspberrypi/index.ts"],"names":[],"mappings":";;;AAAA,uCAAiD;AAE3B,wFAFA,iBAAO,OAEA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/redis/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Standalone = exports.Operator = void 0;
|
|
4
|
+
const operator_1 = require("./operator");
|
|
5
|
+
Object.defineProperty(exports, "Operator", { enumerable: true, get: function () { return operator_1.Operator; } });
|
|
6
|
+
const standalone_1 = require("./standalone");
|
|
7
|
+
Object.defineProperty(exports, "Standalone", { enumerable: true, get: function () { return standalone_1.Standalone; } });
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/redis/index.ts"],"names":[],"mappings":";;;AAAA,yCAAoD;AAG7B,yFAHA,mBAAQ,OAGA;AAF/B,6CAA0D;AAET,2FAFxB,uBAAU,OAEwB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { ComponentResource } from "../common";
|
|
3
|
+
export interface OperatorArgs {
|
|
4
|
+
namespace?: pulumi.Input<string>;
|
|
5
|
+
}
|
|
6
|
+
export declare class Operator extends ComponentResource {
|
|
7
|
+
private readonly helmRelease;
|
|
8
|
+
readonly namespace: pulumi.Output<string>;
|
|
9
|
+
/**
|
|
10
|
+
* Create a new Redis operator resource.
|
|
11
|
+
* @param name The name of Redis operator resource.
|
|
12
|
+
* @param args A bag of arguments to control the Redis operator creation.
|
|
13
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
14
|
+
*/
|
|
15
|
+
constructor(name: string, args: OperatorArgs, opts?: pulumi.ComponentResourceOptions);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=operator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operator.d.ts","sourceRoot":"","sources":["../../../lib/redis/operator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAG9C,MAAM,WAAW,YAAY;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC;AAED,qBAAa,QAAS,SAAQ,iBAAiB;IAC7C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA6B;IACzD,SAAgB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEjD;;;;;OAKG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,wBAAwB;CA4BrF"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.Operator = void 0;
|
|
27
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
28
|
+
const k8s = __importStar(require("@pulumi/kubernetes"));
|
|
29
|
+
const common_1 = require("../common");
|
|
30
|
+
const kubernetes = __importStar(require("../kubernetes"));
|
|
31
|
+
class Operator extends common_1.ComponentResource {
|
|
32
|
+
helmRelease;
|
|
33
|
+
namespace;
|
|
34
|
+
/**
|
|
35
|
+
* Create a new Redis operator resource.
|
|
36
|
+
* @param name The name of Redis operator resource.
|
|
37
|
+
* @param args A bag of arguments to control the Redis operator creation.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
super("redis:operator", name, args, opts);
|
|
42
|
+
opts = this.opts(k8s.Provider);
|
|
43
|
+
this.namespace = args.namespace
|
|
44
|
+
? pulumi.output(args.namespace)
|
|
45
|
+
: new k8s.core.v1.Namespace(name, { metadata: { name } }, opts).metadata.name;
|
|
46
|
+
this.helmRelease = new kubernetes.helm.v3.Release(name, {
|
|
47
|
+
namespace: this.namespace,
|
|
48
|
+
repositoryOpts: { repo: "https://ot-container-kit.github.io/helm-charts/" },
|
|
49
|
+
chart: "redis-operator",
|
|
50
|
+
values: {
|
|
51
|
+
fullnameOverride: name,
|
|
52
|
+
resources: {
|
|
53
|
+
requests: { cpu: "50m", memory: "64Mi" },
|
|
54
|
+
limits: { cpu: "200m", memory: "96Mi" },
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
}, opts);
|
|
58
|
+
this.registerOutputs();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.Operator = Operator;
|
|
62
|
+
//# sourceMappingURL=operator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operator.js","sourceRoot":"","sources":["../../../lib/redis/operator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAyC;AACzC,wDAA0C;AAC1C,sCAA8C;AAC9C,0DAA4C;AAM5C,MAAa,QAAS,SAAQ,0BAAiB;IAC5B,WAAW,CAA6B;IACzC,SAAS,CAAwB;IAEjD;;;;;OAKG;IACH,YAAY,IAAY,EAAE,IAAkB,EAAE,IAAsC;QAClF,KAAK,CAAC,gBAAgB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAE1C,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAE/B,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS;YAC7B,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC;YAC/B,CAAC,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;QAEhF,IAAI,CAAC,WAAW,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAC/C,IAAI,EACJ;YACE,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,cAAc,EAAE,EAAE,IAAI,EAAE,iDAAiD,EAAE;YAC3E,KAAK,EAAE,gBAAgB;YACvB,MAAM,EAAE;gBACN,gBAAgB,EAAE,IAAI;gBACtB,SAAS,EAAE;oBACT,QAAQ,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE;oBACxC,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE;iBACxC;aACF;SACF,EACD,IAAI,CACL,CAAC;QAEF,IAAI,CAAC,eAAe,EAAE,CAAC;IACzB,CAAC;CACF;AAtCD,4BAsCC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as k8s from "@pulumi/kubernetes";
|
|
3
|
+
import { ComponentResource } from "../common";
|
|
4
|
+
export interface StandaloneArgs {
|
|
5
|
+
metadata: pulumi.Input<k8s.types.input.meta.v1.ObjectMeta>;
|
|
6
|
+
}
|
|
7
|
+
export declare class Standalone extends ComponentResource {
|
|
8
|
+
private readonly deployment;
|
|
9
|
+
/**
|
|
10
|
+
* Create a new Redis standalone resource.
|
|
11
|
+
* @param name The name of the Redis standalone resource.
|
|
12
|
+
* @param args A bag of arguments to control the Redis standalone creation.
|
|
13
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
14
|
+
*/
|
|
15
|
+
constructor(name: string, args: StandaloneArgs, opts?: pulumi.ComponentResourceOptions);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=standalone.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"standalone.d.ts","sourceRoot":"","sources":["../../../lib/redis/standalone.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC;CAC5D;AAED,qBAAa,UAAW,SAAQ,iBAAiB;IAC/C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAmC;IAE9D;;;;;OAKG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,wBAAwB;CAuDvF"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.Standalone = void 0;
|
|
27
|
+
const k8s = __importStar(require("@pulumi/kubernetes"));
|
|
28
|
+
const common_1 = require("../common");
|
|
29
|
+
class Standalone extends common_1.ComponentResource {
|
|
30
|
+
deployment;
|
|
31
|
+
/**
|
|
32
|
+
* Create a new Redis standalone resource.
|
|
33
|
+
* @param name The name of the Redis standalone resource.
|
|
34
|
+
* @param args A bag of arguments to control the Redis standalone creation.
|
|
35
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
+
*/
|
|
37
|
+
constructor(name, args, opts) {
|
|
38
|
+
super("redis:standalone", name, args, opts);
|
|
39
|
+
const k8sOpts = this.opts(k8s.Provider);
|
|
40
|
+
this.deployment = new k8s.apiextensions.CustomResource(name, {
|
|
41
|
+
apiVersion: "redis.redis.opstreelabs.in/v1beta1",
|
|
42
|
+
kind: "Redis",
|
|
43
|
+
metadata: args.metadata,
|
|
44
|
+
spec: {
|
|
45
|
+
redisConfig: {},
|
|
46
|
+
redisExporter: {
|
|
47
|
+
enabled: true,
|
|
48
|
+
image: "quay.io/opstree/redis-exporter:v1.44.0",
|
|
49
|
+
imagePullPolicy: "Always",
|
|
50
|
+
},
|
|
51
|
+
kubernetesConfig: {
|
|
52
|
+
image: "quay.io/opstree/redis:v7.0.5",
|
|
53
|
+
imagePullPolicy: "Always",
|
|
54
|
+
resources: {
|
|
55
|
+
requests: {
|
|
56
|
+
cpu: "100m",
|
|
57
|
+
memory: "96Mi",
|
|
58
|
+
},
|
|
59
|
+
limits: {
|
|
60
|
+
cpu: "500m",
|
|
61
|
+
memory: "128Mi",
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
storage: {
|
|
66
|
+
volumeClaimTemplate: {
|
|
67
|
+
spec: {
|
|
68
|
+
accessModes: ["ReadWriteOnce"],
|
|
69
|
+
resources: {
|
|
70
|
+
requests: {
|
|
71
|
+
storage: "10Gi",
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
securityContext: {
|
|
78
|
+
runAsUser: 1000,
|
|
79
|
+
fsGroup: 1000,
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
}, k8sOpts);
|
|
83
|
+
this.registerOutputs();
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.Standalone = Standalone;
|
|
87
|
+
//# sourceMappingURL=standalone.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"standalone.js","sourceRoot":"","sources":["../../../lib/redis/standalone.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wDAA0C;AAC1C,sCAA8C;AAM9C,MAAa,UAAW,SAAQ,0BAAiB;IAC9B,UAAU,CAAmC;IAE9D;;;;;OAKG;IACH,YAAY,IAAY,EAAE,IAAoB,EAAE,IAAsC;QACpF,KAAK,CAAC,kBAAkB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAE5C,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAExC,IAAI,CAAC,UAAU,GAAG,IAAI,GAAG,CAAC,aAAa,CAAC,cAAc,CACpD,IAAI,EACJ;YACE,UAAU,EAAE,oCAAoC;YAChD,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,IAAI,EAAE;gBACJ,WAAW,EAAE,EAAE;gBACf,aAAa,EAAE;oBACb,OAAO,EAAE,IAAI;oBACb,KAAK,EAAE,wCAAwC;oBAC/C,eAAe,EAAE,QAAQ;iBAC1B;gBACD,gBAAgB,EAAE;oBAChB,KAAK,EAAE,8BAA8B;oBACrC,eAAe,EAAE,QAAQ;oBACzB,SAAS,EAAE;wBACT,QAAQ,EAAE;4BACR,GAAG,EAAE,MAAM;4BACX,MAAM,EAAE,MAAM;yBACf;wBACD,MAAM,EAAE;4BACN,GAAG,EAAE,MAAM;4BACX,MAAM,EAAE,OAAO;yBAChB;qBACF;iBACF;gBACD,OAAO,EAAE;oBACP,mBAAmB,EAAE;wBACnB,IAAI,EAAE;4BACJ,WAAW,EAAE,CAAC,eAAe,CAAC;4BAC9B,SAAS,EAAE;gCACT,QAAQ,EAAE;oCACR,OAAO,EAAE,MAAM;iCAChB;6BACF;yBACF;qBACF;iBACF;gBACD,eAAe,EAAE;oBACf,SAAS,EAAE,IAAI;oBACf,OAAO,EAAE,IAAI;iBACd;aACF;SACF,EACD,OAAO,CACR,CAAC;QAEF,IAAI,CAAC,eAAe,EAAE,CAAC;IACzB,CAAC;CACF;AAhED,gCAgEC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as k8s from "@pulumi/kubernetes";
|
|
3
|
+
import { ComponentResource } from "../common";
|
|
4
|
+
export interface RethinkDbArgs {
|
|
5
|
+
namespace?: pulumi.Input<string>;
|
|
6
|
+
hostname: pulumi.Input<string>;
|
|
7
|
+
ingressClassName?: pulumi.Input<string>;
|
|
8
|
+
replicas?: pulumi.Input<number>;
|
|
9
|
+
storage?: pulumi.Input<string>;
|
|
10
|
+
resources?: pulumi.Input<k8s.types.input.core.v1.ResourceRequirements>;
|
|
11
|
+
protect?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare class RethinkDb extends ComponentResource {
|
|
14
|
+
private static readonly adminPort;
|
|
15
|
+
private static readonly clientsPort;
|
|
16
|
+
private static readonly clusterPort;
|
|
17
|
+
private readonly clusterIssuer;
|
|
18
|
+
private readonly clusterCACertificate;
|
|
19
|
+
private readonly podDisruptionBudget;
|
|
20
|
+
private readonly adminService;
|
|
21
|
+
private readonly clientsService;
|
|
22
|
+
private readonly adminIngress;
|
|
23
|
+
readonly adminPassword: pulumi.Output<string>;
|
|
24
|
+
readonly namespace: pulumi.Output<string>;
|
|
25
|
+
readonly address: pulumi.Output<string>;
|
|
26
|
+
readonly addresses: pulumi.Output<pulumi.Output<string>[]>;
|
|
27
|
+
/**
|
|
28
|
+
* Create a new RethinkDB cluster resource.
|
|
29
|
+
* @param name The name of the RethinkDB cluster resource.
|
|
30
|
+
* @param args A bag of arguments to control the RethinkDB cluster creation.
|
|
31
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
32
|
+
*/
|
|
33
|
+
constructor(name: string, args: RethinkDbArgs, opts?: pulumi.ComponentResourceOptions);
|
|
34
|
+
private replicaDeployment;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=deployment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment.d.ts","sourceRoot":"","sources":["../../../lib/rethinkdb/deployment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAK9C,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC;IACvE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,qBAAa,SAAU,SAAQ,iBAAiB;IAC9C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAQ;IACzC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAS;IAC5C,OAAO,CAAC,MAAM,CAAC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