@illuin-public/wombat-pulumi 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -32,14 +32,60 @@ These are optional settings, if left out the app's defaults apply.
32
32
  * `compaction`: how sampled metrics are folded (`persistence.compaction` in the app): `cron` (default `"0 1 * * * ?"`), `window` (default `"1h"`) and `delay` (default `"1m"`).
33
33
  * `ui.maxDateRange`: `{ duration: number, unit: "DAYS" | "MONTHS" | "YEARS" }` specifying the maximum date range queryable in the dashboard UI (default `{ duration: 1, unit: "YEARS" }`).
34
34
 
35
+ ### OIDC Authentication (optional)
36
+
37
+ `security` turns on the app's `oidc` profile (see [access control](https://github.com/illuin-tech/wombat/blob/master/doc/access-control.md)). Without it, the app runs without authentication.
38
+
39
+ * `security.enabled`: turns it on.
40
+ * `security.oidc`: the identity provider, written to `quarkus.oidc`
41
+ * `authServerUrl` (the issuer URL) and `clientId` are required.
42
+ * `authentication` (`scopes`, `userInfoRequired`, `extraParams`) and `roles` (`roleClaimPath`, `source`) are optional.
43
+ * `security.oidc.credentials.secret`: the OIDC client secret, required, as a Pulumi secret. It is written to the `application.yaml` override, which is itself a Secret.
44
+ * `security.auth`: the access rules, written to `auth`.
45
+ * `roles.admin` is required.
46
+ * `roles.user`, `roles.apiKeyManager`, `allowedEmailDomains`, `emailClaim`, `requireVerifiedEmail`, `displayNameClaims`, `idpLogout` and `apiKeys` (`maxLifetime`, `allowNeverExpiring`) are all optional.
47
+
48
+ ```yaml
49
+ security:
50
+ enabled: true
51
+ oidc:
52
+ authServerUrl: https://idp.example.com
53
+ clientId: wombat
54
+ authentication:
55
+ userInfoRequired: true
56
+ auth:
57
+ allowedEmailDomains: [example.com]
58
+ roles:
59
+ admin: [wombat-admins]
60
+ user: [wombat-users]
61
+ ```
62
+
63
+ ```bash
64
+ pulumi config set --secret --path 'service.security.oidc.credentials.secret' <client-secret>
65
+ ```
66
+
67
+ ### Deployment Mode
68
+
69
+ * `mode`: optional, `{ type: "standalone" }` by default. Each `WombatResource` deploys a single instance in one of these modes:
70
+ * `standalone`: samples its environments into its own database and serves them.
71
+ * `aggregator`: stores and serves the metrics pushed by workers, and samples nothing itself.
72
+ * `worker`: samples its environments and pushes the metrics to an aggregator. Requires `id` (unique among the workers of an aggregator), `aggregator.url` and `aggregator.apiKey` (holding `api.metric.write` and `api.environment.write` on the aggregator), and optionally `aggregator.proxyUrl` and `aggregator.timeout` (e.g. `30s`). A worker writes no metric to its own database, so it requires the `SQLITE_TRANSIENT` persistence type.
73
+
74
+ A distributed setup is one `aggregator` resource plus one `worker` resource next to each environment the aggregator cannot reach. See the [Wombat distributed setup documentation](https://github.com/illuin-tech/wombat/blob/master/doc/distributed.md) for details.
75
+
76
+ ```bash
77
+ pulumi config set --path 'service.mode.type' worker
78
+ pulumi config set --path 'service.mode.id' east
79
+ pulumi config set --path 'service.mode.aggregator.url' https://wombat-aggregator.example.com
80
+ pulumi config set --secret --path 'service.mode.aggregator.apiKey' <api-key>
81
+ ```
82
+
35
83
  ### Provisioned Environments (optional)
36
84
 
37
85
  `monitoredEnvironments` is optional. Without it, Wombat starts with no environment, and they are created from its dashboard or its API. With it, the environments it declares are provisioned at every startup: kept in sync with your stack, and read-only in the app. See [environments and provisioning](https://github.com/illuin-tech/wombat/blob/master/doc/provisioning.md).
38
86
 
39
87
  * `monitoredEnvironments.environments`: a map of environment id → `{ assets }`. Each asset has a `type` and an `id`, and the properties of its module, as documented in [the `wombat-core` modules](https://github.com/illuin-tech/wombat-core/tree/master/doc/module). They are passed through as they are, their keys in kebab-case (camelCase keys are converted), so a block from the module documentation or from the app's environments file can be pasted as is. See the commented sample in `Pulumi.local.yaml.dist`.
40
88
 
41
- Upgrading to 0.24: assets are no longer typed per module (`K8SApiAsset`, `LLMStaticAsset` and `LLMPrometheusAsset` are gone, replaced by `MonitoredEnvironmentAsset`), and their 0.20 shapes (`name`, `requestProfile`, `heartbeatSkip`) are no longer read by the app.
42
-
43
89
  They are compiled into a `/monitored/monitored-environments.yaml` file mounted in the container, with `environments: {}` when there are none.
44
90
 
45
91
  ### Secrets
@@ -57,10 +103,6 @@ They are compiled into a Kubernetes `Secret`, mounted at `/secrets` as the app's
57
103
 
58
104
  Kubeconfigs are provisioned secrets too. An asset, provisioned or created in the app, names its kubeconfig in `kubeconfigKey`. The kubeconfig must inline its certificates and keys (`certificate-authority-data`, `client-certificate-data`, `client-key-data`): the app reads it in memory, with no file to resolve a relative path against.
59
105
 
60
- Upgrading to 0.24:
61
- * `secrets` used to be a flat map of keys: move them under `secrets.provisioned`.
62
- * `monitoredEnvironments.kubeconfigs` is gone. Each kubeconfig becomes a provisioned secret, and each `kubernetes-api` asset names it in `kubeconfigKey`, instead of being matched to it by `id`. The assets created in the app pointed their config path at `/kubeconfigs`, which no longer exists: set their kubeconfig key from the app.
63
-
64
106
  ### Extensions
65
107
 
66
108
  Mount user-provided extension JARs into the container (default mount path `/extensions`):
@@ -0,0 +1,36 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare enum NodeMode {
3
+ STANDALONE = "standalone",
4
+ AGGREGATOR = "aggregator",
5
+ WORKER = "worker"
6
+ }
7
+ interface NodeModeProfileBase {
8
+ type: NodeMode;
9
+ }
10
+ /**
11
+ * Samples its environments into its own database and serves them: the single-instance setup.
12
+ */
13
+ export interface Standalone extends NodeModeProfileBase {
14
+ type: NodeMode.STANDALONE;
15
+ }
16
+ /**
17
+ * Stores and serves the metrics pushed by workers, and samples nothing itself.
18
+ */
19
+ export interface Aggregator extends NodeModeProfileBase {
20
+ type: NodeMode.AGGREGATOR;
21
+ }
22
+ /**
23
+ * Samples its environments and pushes the metrics to an aggregator instead of its own database.
24
+ */
25
+ export interface Worker extends NodeModeProfileBase {
26
+ type: NodeMode.WORKER;
27
+ id: pulumi.Input<string>;
28
+ aggregator: {
29
+ url: pulumi.Input<string>;
30
+ apiKey: pulumi.Input<string>;
31
+ proxyUrl?: pulumi.Input<string>;
32
+ timeout?: pulumi.Input<string>;
33
+ };
34
+ }
35
+ export type NodeModeProfile = Standalone | Aggregator | Worker;
36
+ export {};
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NodeMode = void 0;
4
+ var NodeMode;
5
+ (function (NodeMode) {
6
+ NodeMode["STANDALONE"] = "standalone";
7
+ NodeMode["AGGREGATOR"] = "aggregator";
8
+ NodeMode["WORKER"] = "worker";
9
+ })(NodeMode || (exports.NodeMode = NodeMode = {}));
10
+ //# sourceMappingURL=node-mode-args.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node-mode-args.js","sourceRoot":"","sources":["../../../components/args/node-mode-args.ts"],"names":[],"mappings":";;;AAEA,IAAY,QAIX;AAJD,WAAY,QAAQ;IAChB,qCAAyB,CAAA;IACzB,qCAAyB,CAAA;IACzB,6BAAiB,CAAA;AACrB,CAAC,EAJW,QAAQ,wBAAR,QAAQ,QAInB"}
@@ -0,0 +1,7 @@
1
+ import { AppConfig, AppConfigCompiler, AppPackage, WombatArgs } from "./wombat-args";
2
+ /**
3
+ * Tweaks the Quarkus application configuration based on the NodeModeProfile.
4
+ */
5
+ export declare class NodeModeConfigCompiler implements AppConfigCompiler {
6
+ compile(config: AppConfig, args: WombatArgs): AppPackage;
7
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NodeModeConfigCompiler = void 0;
4
+ const node_mode_args_1 = require("./node-mode-args");
5
+ const persistence_args_1 = require("./persistence-args");
6
+ /**
7
+ * Tweaks the Quarkus application configuration based on the NodeModeProfile.
8
+ */
9
+ class NodeModeConfigCompiler {
10
+ compile(config, args) {
11
+ var _a, _b;
12
+ const mode = ((_a = args.mode) === null || _a === void 0 ? void 0 : _a.type) || node_mode_args_1.NodeMode.STANDALONE;
13
+ switch ((_b = args.mode) === null || _b === void 0 ? void 0 : _b.type) {
14
+ case undefined:
15
+ case node_mode_args_1.NodeMode.STANDALONE:
16
+ // Left unset, as images predating the distributed setup do not know it
17
+ return { config };
18
+ case node_mode_args_1.NodeMode.AGGREGATOR:
19
+ config.wombat.mode = mode;
20
+ return { config };
21
+ case node_mode_args_1.NodeMode.WORKER:
22
+ // Workers write no metric to their database and always run on an in-memory SQLite one
23
+ if (args.persistence.type !== persistence_args_1.PersistenceMode.SQLITE_TRANSIENT) {
24
+ throw new Error(`Worker mode requires the ${persistence_args_1.PersistenceMode.SQLITE_TRANSIENT} persistence type, got ${args.persistence.type}`);
25
+ }
26
+ config.wombat.mode = mode;
27
+ config.wombat.worker = Object.assign(Object.assign({}, (config.wombat.worker || {})), { id: args.mode.id, aggregator: args.mode.aggregator });
28
+ return { config };
29
+ }
30
+ throw new Error(`Unsupported node mode: ${mode}`);
31
+ }
32
+ }
33
+ exports.NodeModeConfigCompiler = NodeModeConfigCompiler;
34
+ //# sourceMappingURL=node-mode-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node-mode-config.js","sourceRoot":"","sources":["../../../components/args/node-mode-config.ts"],"names":[],"mappings":";;;AACA,qDAA0C;AAC1C,yDAAmD;AAEnD;;GAEG;AACH,MAAa,sBAAsB;IAC/B,OAAO,CAAC,MAAiB,EAAE,IAAgB;;QACvC,MAAM,IAAI,GAAG,CAAA,MAAA,IAAI,CAAC,IAAI,0CAAE,IAAI,KAAI,yBAAQ,CAAC,UAAU,CAAC;QACpD,QAAQ,MAAA,IAAI,CAAC,IAAI,0CAAE,IAAI,EAAE,CAAC;YACtB,KAAK,SAAS,CAAC;YACf,KAAK,yBAAQ,CAAC,UAAU;gBACpB,uEAAuE;gBACvE,OAAO,EAAE,MAAM,EAAE,CAAC;YAEtB,KAAK,yBAAQ,CAAC,UAAU;gBACpB,MAAM,CAAC,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC;gBAC1B,OAAO,EAAE,MAAM,EAAE,CAAC;YAEtB,KAAK,yBAAQ,CAAC,MAAM;gBAChB,sFAAsF;gBACtF,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,KAAK,kCAAe,CAAC,gBAAgB,EAAE,CAAC;oBAC7D,MAAM,IAAI,KAAK,CAAC,4BAA4B,kCAAe,CAAC,gBAAgB,0BAA0B,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC;gBACnI,CAAC;gBACD,MAAM,CAAC,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC;gBAC1B,MAAM,CAAC,MAAM,CAAC,MAAM,mCACb,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,IAAI,EAAE,CAAC,KAC/B,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,EAChB,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,UAAU,GACnC,CAAC;gBACF,OAAO,EAAE,MAAM,EAAE,CAAC;QAC1B,CAAC;QAED,MAAM,IAAI,KAAK,CAAC,0BAA0B,IAAI,EAAE,CAAC,CAAC;IACtD,CAAC;CACJ;AA7BD,wDA6BC"}
@@ -0,0 +1,53 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Turns on the app's OIDC authentication, its `oidc` profile. See
4
+ * https://github.com/illuin-tech/wombat/blob/master/doc/access-control.md
5
+ */
6
+ export interface SecurityConfig {
7
+ enabled: boolean;
8
+ oidc?: OidcConfig;
9
+ auth?: AuthConfig;
10
+ }
11
+ /**
12
+ * The identity provider, written to `quarkus.oidc`. The `oidc` profile sets the rest: callback path, protected paths.
13
+ */
14
+ export interface OidcConfig {
15
+ /** The issuer URL. */
16
+ authServerUrl: pulumi.Input<string>;
17
+ clientId: pulumi.Input<string>;
18
+ credentials: {
19
+ /** The client secret, as a Pulumi secret: it is written to the `application.yaml` override, itself a Secret. */
20
+ secret: pulumi.Input<string>;
21
+ };
22
+ authentication?: {
23
+ scopes?: pulumi.Input<string[]>;
24
+ userInfoRequired?: pulumi.Input<boolean>;
25
+ extraParams?: {
26
+ [key: string]: pulumi.Input<string>;
27
+ };
28
+ };
29
+ roles?: {
30
+ roleClaimPath?: pulumi.Input<string>;
31
+ source?: pulumi.Input<string>;
32
+ };
33
+ }
34
+ /**
35
+ * The app's access rules, written to its top-level `auth`. Unset keys keep the app's defaults.
36
+ */
37
+ export interface AuthConfig {
38
+ /** Provider roles or groups, emails, or `"*"` granting each Wombat role. `admin` is required. */
39
+ roles: {
40
+ admin: pulumi.Input<string[]>;
41
+ user?: pulumi.Input<string[]>;
42
+ apiKeyManager?: pulumi.Input<string[]>;
43
+ };
44
+ allowedEmailDomains?: pulumi.Input<string[]>;
45
+ emailClaim?: pulumi.Input<string>;
46
+ requireVerifiedEmail?: pulumi.Input<boolean>;
47
+ displayNameClaims?: pulumi.Input<string[]>;
48
+ idpLogout?: pulumi.Input<boolean>;
49
+ apiKeys?: {
50
+ maxLifetime?: pulumi.Input<string>;
51
+ allowNeverExpiring?: pulumi.Input<boolean>;
52
+ };
53
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=security-args.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"security-args.js","sourceRoot":"","sources":["../../../components/args/security-args.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { AppConfig, AppConfigCompiler, AppPackage, WombatArgs } from "./wombat-args";
2
+ /**
3
+ * Turns on the app's `oidc` profile, and writes the provider to `quarkus.oidc` and the access rules to `auth`.
4
+ */
5
+ export declare class SecurityConfigCompiler implements AppConfigCompiler {
6
+ compile(config: AppConfig, args: WombatArgs): AppPackage;
7
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SecurityConfigCompiler = void 0;
4
+ /**
5
+ * Turns on the app's `oidc` profile, and writes the provider to `quarkus.oidc` and the access rules to `auth`.
6
+ */
7
+ class SecurityConfigCompiler {
8
+ compile(config, args) {
9
+ var _a, _b, _c;
10
+ const security = args.security;
11
+ if (!(security === null || security === void 0 ? void 0 : security.enabled))
12
+ return { config: config };
13
+ const oidc = security.oidc;
14
+ if (!oidc)
15
+ throw new Error("security.oidc is required when security.enabled is true");
16
+ if (((_a = oidc.credentials) === null || _a === void 0 ? void 0 : _a.secret) === undefined)
17
+ throw new Error("security.oidc.credentials.secret is required when security.enabled is true");
18
+ if (!((_c = (_b = security.auth) === null || _b === void 0 ? void 0 : _b.roles) === null || _c === void 0 ? void 0 : _c.admin))
19
+ throw new Error("security.auth.roles.admin is required when security.enabled is true, or nobody can administer Wombat");
20
+ /* The override is a Secret, so the client secret can sit there */
21
+ config.quarkus = config.quarkus || {};
22
+ config.quarkus.oidc = oidc;
23
+ config.auth = security.auth;
24
+ return {
25
+ config: config,
26
+ envVariables: [{ name: "QUARKUS_PROFILE", value: "prod,oidc" }],
27
+ };
28
+ }
29
+ }
30
+ exports.SecurityConfigCompiler = SecurityConfigCompiler;
31
+ //# sourceMappingURL=security-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"security-config.js","sourceRoot":"","sources":["../../../components/args/security-config.ts"],"names":[],"mappings":";;;AAEA;;GAEG;AACH,MAAa,sBAAsB;IAC/B,OAAO,CAAC,MAAiB,EAAE,IAAgB;;QACvC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,OAAO,CAAA;YAClB,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QAE9B,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;QAC3B,IAAI,CAAC,IAAI;YACL,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAC;QAC/E,IAAI,CAAA,MAAA,IAAI,CAAC,WAAW,0CAAE,MAAM,MAAK,SAAS;YACtC,MAAM,IAAI,KAAK,CAAC,4EAA4E,CAAC,CAAC;QAClG,IAAI,CAAC,CAAA,MAAA,MAAA,QAAQ,CAAC,IAAI,0CAAE,KAAK,0CAAE,KAAK,CAAA;YAC5B,MAAM,IAAI,KAAK,CAAC,sGAAsG,CAAC,CAAC;QAE5H,kEAAkE;QAClE,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,IAAI,EAAE,CAAC;QACtC,MAAM,CAAC,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC;QAC3B,MAAM,CAAC,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;QAE5B,OAAO;YACH,MAAM,EAAE,MAAM;YACd,YAAY,EAAE,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC;SAClE,CAAC;IACN,CAAC;CACJ;AAxBD,wDAwBC"}
@@ -9,6 +9,8 @@ import { IngressArgs } from "./k8s-args";
9
9
  import { CompactionConfig, PersistenceProfile } from "./persistence-args";
10
10
  import { WombatDependencyConfig } from "./dependencies-args";
11
11
  import { ExtensionsConfig } from "./extensions-args";
12
+ import { SecurityConfig } from "./security-args";
13
+ import { NodeModeProfile } from "./node-mode-args";
12
14
  import * as inputs from "@pulumi/kubernetes/types/input";
13
15
  export interface UiConfig {
14
16
  maxDateRange?: Duration;
@@ -24,6 +26,12 @@ export interface AppConfig {
24
26
  ui?: {
25
27
  [key: string]: any;
26
28
  };
29
+ auth?: {
30
+ [key: string]: any;
31
+ };
32
+ quarkus?: {
33
+ [key: string]: any;
34
+ };
27
35
  }
28
36
  export interface AppConfigCompiler {
29
37
  compile(config: AppConfig, args: WombatArgs): AppPackage;
@@ -35,7 +43,10 @@ export interface AppPackage {
35
43
  export interface WombatArgs {
36
44
  namespace: pulumi.Input<string>;
37
45
  environment: pulumi.Input<string>;
46
+ mode?: NodeModeProfile;
38
47
  config: WombatConfig;
48
+ /** Optional: without it, the app runs without authentication. */
49
+ security?: SecurityConfig;
39
50
  secrets?: SecretsConfig;
40
51
  /** Optional: environments can be created from the app instead. Without it, nothing is provisioned. */
41
52
  monitoredEnvironments?: {
@@ -5,20 +5,24 @@ exports.compileWorkloadConfig = compileWorkloadConfig;
5
5
  const persistence_config_1 = require("./persistence-config");
6
6
  const dependencies_config_1 = require("./dependencies-config");
7
7
  const extensions_config_1 = require("./extensions-config");
8
+ const node_mode_config_1 = require("./node-mode-config");
8
9
  const ui_config_1 = require("./ui-config");
9
10
  const secrets_config_1 = require("./secrets-config");
11
+ const security_config_1 = require("./security-config");
10
12
  const persistence_args_1 = require("./persistence-args");
11
13
  const k8s_config_1 = require("./k8s-config");
12
14
  function compileNativeConfig(args) {
13
15
  var _a;
14
16
  const config = { wombat: Object.assign({}, args.config) };
15
17
  const compilers = [
18
+ new node_mode_config_1.NodeModeConfigCompiler(),
16
19
  new persistence_config_1.PersistenceConfigCompiler(),
17
20
  new persistence_config_1.CompactionConfigCompiler(),
18
21
  new dependencies_config_1.DependenciesConfigCompiler(),
19
22
  new extensions_config_1.ExtensionsConfigCompiler(),
20
23
  new ui_config_1.UiConfigCompiler(),
21
24
  new secrets_config_1.SecretsConfigCompiler(),
25
+ new security_config_1.SecurityConfigCompiler(),
22
26
  ];
23
27
  /* Apply dynamic mutations to the quarkus configuration */
24
28
  const compiled = { config: config, envVariables: [] };
@@ -1 +1 @@
1
- {"version":3,"file":"wombat-config.js","sourceRoot":"","sources":["../../../components/args/wombat-config.ts"],"names":[],"mappings":";;AASA,kDAuBC;AAED,sDAkBC;AAnDD,6DAAyF;AACzF,+DAAiE;AACjE,2DAA6D;AAC7D,2CAA6C;AAC7C,qDAAuD;AACvD,yDAAmD;AACnD,6CAA0D;AAE1D,SAAgB,mBAAmB,CAAC,IAAgB;;IAChD,MAAM,MAAM,GAAc,EAAE,MAAM,oBAAO,IAAI,CAAC,MAAM,CAAE,EAAE,CAAC;IAEzD,MAAM,SAAS,GAAwB;QACnC,IAAI,8CAAyB,EAAE;QAC/B,IAAI,6CAAwB,EAAE;QAC9B,IAAI,gDAA0B,EAAE;QAChC,IAAI,4CAAwB,EAAE;QAC9B,IAAI,4BAAgB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P,6BAA6B,EAAE,GAAG;iBACrC;aACJ,CAAC;IACV,CAAC;AACL,CAAC"}
@@ -14,7 +14,7 @@ const k8s_config_1 = require("./args/k8s-config");
14
14
  const dependencies_config_1 = require("./args/dependencies-config");
15
15
  class WombatResource extends pulumi.ComponentResource {
16
16
  constructor(name, args, opts) {
17
- super(`illuin:wombat:service-${args.environment}`, name, Object.assign(Object.assign({}, args), { config: pulumi.secret(args.config), persistence: pulumi.secret(args.persistence) }), opts);
17
+ super(`illuin:wombat:service-${args.environment}`, name, Object.assign(Object.assign({}, args), { config: pulumi.secret(args.config), security: pulumi.secret(args.security), persistence: pulumi.secret(args.persistence) }), opts);
18
18
  const selectorLabels = {
19
19
  "app.kubernetes.io/name": "wombat",
20
20
  "app.kubernetes.io/instance": `${name}-${args.environment}`,
@@ -1 +1 @@
1
- {"version":3,"file":"wombat.js","sourceRoot":"","sources":["../../components/wombat.ts"],"names":[],"mappings":";;;AAAA,yCAAyC;AACzC,0CAA0C;AAE1C,yCAAyD;AACzD,0DAAyD;AACzD,wFAAqF;AACrF,0DAAmE;AACnE,mEAAiE;AACjE,mDAAqF;AACrF,wDAAgF;AAChF,kDAA+D;AAE/D,oEAAsE;AAEtE,MAAa,cAAe,SAAQ,MAAM,CAAC,iBAAiB;IACxD,YAAY,IAAY,EAAE,IAAgB,EAAE,IAAsC;QAC9E,KAAK,CAAC,yBAAyB,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,kCAChD,IAAI,KACP,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAClC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,KAC7C,IAAI,CAAC,CAAC;QAET,MAAM,cAAc,GAA4B;YAC5C,wBAAwB,EAAE,QAAQ;YAClC,4BAA4B,EAAE,GAAG,IAAI,IAAI,IAAI,CAAC,WAAW,EAAE;SAC9D,CAAC;QACF,MAAM,MAAM,mCACL,cAAc,KACjB,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AAE,CAAC,UAAU,CAAC,YAAY,EAAE;oBAC5C,QAAQ,EAAE,gBAAgB;oBAC1B,IAAI,EAAE;wBACF,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE;wBACzC,QAAQ,EAAE,CAAC;wBACX,QAAQ,EAAE,eAAe;qBAC5B;iBACJ,CAAC,CAAC;YACP,KAAK,yBAAY,CAAC,YAAY;gBAC1B,OAAO,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC,YAAY,EAAE;oBAC7C,QAAQ,EAAE,gBAAgB;oBAC1B,IAAI,EAAE;wBACF,WAAW,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;wBAClC,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE;wBACzC,QAAQ,EAAE,CAAC;wBACX,QAAQ,EAAE,eAAe;qBAC5B;iBACJ,CAAC,CAAC;QACX,CAAC;IACL,CAAC;CACJ;AApQD,wCAoQC"}
package/bin/index.d.ts CHANGED
@@ -11,10 +11,14 @@ export * from "./components/args/k8s-args";
11
11
  export * from "./components/args/k8s-config";
12
12
  export * from "./components/args/monitored-environments-args";
13
13
  export * from "./components/args/monitored-environments-config";
14
+ export * from "./components/args/node-mode-args";
15
+ export * from "./components/args/node-mode-config";
14
16
  export * from "./components/args/persistence-args";
15
17
  export * from "./components/args/persistence-config";
16
18
  export * from "./components/args/secrets-args";
17
19
  export * from "./components/args/secrets-config";
20
+ export * from "./components/args/security-args";
21
+ export * from "./components/args/security-config";
18
22
  export * from "./components/args/ui-config";
19
23
  export * from "./components/utils/basic-auth";
20
24
  export * from "./components/utils/image-pull-secrets";
package/bin/index.js CHANGED
@@ -27,10 +27,14 @@ __exportStar(require("./components/args/k8s-args"), exports);
27
27
  __exportStar(require("./components/args/k8s-config"), exports);
28
28
  __exportStar(require("./components/args/monitored-environments-args"), exports);
29
29
  __exportStar(require("./components/args/monitored-environments-config"), exports);
30
+ __exportStar(require("./components/args/node-mode-args"), exports);
31
+ __exportStar(require("./components/args/node-mode-config"), exports);
30
32
  __exportStar(require("./components/args/persistence-args"), exports);
31
33
  __exportStar(require("./components/args/persistence-config"), exports);
32
34
  __exportStar(require("./components/args/secrets-args"), exports);
33
35
  __exportStar(require("./components/args/secrets-config"), exports);
36
+ __exportStar(require("./components/args/security-args"), exports);
37
+ __exportStar(require("./components/args/security-config"), exports);
34
38
  __exportStar(require("./components/args/ui-config"), exports);
35
39
  __exportStar(require("./components/utils/basic-auth"), exports);
36
40
  __exportStar(require("./components/utils/image-pull-secrets"), exports);
package/bin/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,gEAA8C;AAC9C,kEAAgD;AAChD,iEAA+C;AAC/C,mEAAiD;AACjD,sEAAoD;AACpD,wEAAsD;AACtD,oEAAkD;AAClD,sEAAoD;AACpD,6DAA2C;AAC3C,+DAA6C;AAC7C,gFAA8D;AAC9D,kFAAgE;AAChE,qEAAmD;AACnD,uEAAqD;AACrD,iEAA+C;AAC/C,mEAAiD;AACjD,8DAA4C;AAC5C,gEAA8C;AAC9C,wEAAsD;AACtD,2DAAyC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,gEAA8C;AAC9C,kEAAgD;AAChD,iEAA+C;AAC/C,mEAAiD;AACjD,sEAAoD;AACpD,wEAAsD;AACtD,oEAAkD;AAClD,sEAAoD;AACpD,6DAA2C;AAC3C,+DAA6C;AAC7C,gFAA8D;AAC9D,kFAAgE;AAChE,mEAAiD;AACjD,qEAAmD;AACnD,qEAAmD;AACnD,uEAAqD;AACrD,iEAA+C;AAC/C,mEAAiD;AACjD,kEAAgD;AAChD,oEAAkD;AAClD,8DAA4C;AAC5C,gEAA8C;AAC9C,wEAAsD;AACtD,2DAAyC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@illuin-public/wombat-pulumi",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "Pulumi component resource for deploying Wombat to Kubernetes",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",