@r8s/operator-paperclip 0.19.0 → 0.19.1
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/dist/index.d.ts +11 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +22 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,11 +8,21 @@
|
|
|
8
8
|
import { declareOperator } from '@r8s/core';
|
|
9
9
|
import type { Operator } from '@r8s/k8s-types';
|
|
10
10
|
/** The paperclip-operator operator version this package was cut for. */
|
|
11
|
-
export declare const DEFAULT_PAPERCLIP_VERSION = "0.19.
|
|
11
|
+
export declare const DEFAULT_PAPERCLIP_VERSION = "0.19.1";
|
|
12
12
|
/**
|
|
13
13
|
* Operator declaration — mirror of the `paperclip-operator` entry in
|
|
14
14
|
* packages/crds/operators.yaml (registry stays the CLI metadata source;
|
|
15
15
|
* version parity is enforced by the operator-contracts suite).
|
|
16
|
+
*
|
|
17
|
+
* Helm-free install: paperclipinc attaches the fully rendered install.yaml
|
|
18
|
+
* (Namespace, CRDs, RBAC, Deployment, Service) to every GitHub release —
|
|
19
|
+
* fetched at render time by the recipes/flux pipeline, no OCI chart access.
|
|
20
|
+
*
|
|
21
|
+
* The static manifest deploys into `paperclip-operator-system` (the chart
|
|
22
|
+
* defaulted to `paperclip-system`) and carries all three CRDs the operator
|
|
23
|
+
* owns, not just `instances.paperclip.inc`. The previous chart tuning
|
|
24
|
+
* values (metrics serviceMonitor off, leaderElection off) do not apply —
|
|
25
|
+
* the manifest ships its own metrics Service and single-replica manager.
|
|
16
26
|
*/
|
|
17
27
|
export declare function PaperclipOperator(version?: string): Operator & {
|
|
18
28
|
namespace: string;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAE9C,wEAAwE;AACxE,eAAO,MAAM,yBAAyB,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAE9C,wEAAwE;AACxE,eAAO,MAAM,yBAAyB,WAAW,CAAA;AAMjD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,GAAE,MAAkC,GAC1C,QAAQ,GAAG;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAkBlC;AAED,kEAAkE;AAClE,eAAO,MAAM,YAAY,uBAAuB,CAAA;AAEhD,kEAAkE;AAClE,eAAO,MAAM,eAAe,0BAAoB,CAAA;AAEhD;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,QAAQ,EAAE,EAClB,OAAO,CAAC,EAAE,MAAM,GACf,UAAU,CAAC,OAAO,eAAe,CAAC,EAAE,CAGtC"}
|
package/dist/index.js
CHANGED
|
@@ -12,30 +12,41 @@ exports.declareIfMissing = declareIfMissing;
|
|
|
12
12
|
*/
|
|
13
13
|
const core_1 = require("@r8s/core");
|
|
14
14
|
/** The paperclip-operator operator version this package was cut for. */
|
|
15
|
-
exports.DEFAULT_PAPERCLIP_VERSION = '0.19.
|
|
15
|
+
exports.DEFAULT_PAPERCLIP_VERSION = '0.19.1';
|
|
16
|
+
/** Upstream static install manifest, expanded from the version. */
|
|
17
|
+
const PAPERCLIP_MANIFEST_URL = 'https://github.com/paperclipinc/paperclip-operator/releases/download/v{version}/install.yaml';
|
|
16
18
|
/**
|
|
17
19
|
* Operator declaration — mirror of the `paperclip-operator` entry in
|
|
18
20
|
* packages/crds/operators.yaml (registry stays the CLI metadata source;
|
|
19
21
|
* version parity is enforced by the operator-contracts suite).
|
|
22
|
+
*
|
|
23
|
+
* Helm-free install: paperclipinc attaches the fully rendered install.yaml
|
|
24
|
+
* (Namespace, CRDs, RBAC, Deployment, Service) to every GitHub release —
|
|
25
|
+
* fetched at render time by the recipes/flux pipeline, no OCI chart access.
|
|
26
|
+
*
|
|
27
|
+
* The static manifest deploys into `paperclip-operator-system` (the chart
|
|
28
|
+
* defaulted to `paperclip-system`) and carries all three CRDs the operator
|
|
29
|
+
* owns, not just `instances.paperclip.inc`. The previous chart tuning
|
|
30
|
+
* values (metrics serviceMonitor off, leaderElection off) do not apply —
|
|
31
|
+
* the manifest ships its own metrics Service and single-replica manager.
|
|
20
32
|
*/
|
|
21
33
|
function PaperclipOperator(version = exports.DEFAULT_PAPERCLIP_VERSION) {
|
|
22
34
|
return {
|
|
23
35
|
name: 'paperclip-operator',
|
|
24
36
|
description: 'Paperclip agent orchestration operator',
|
|
25
37
|
source: {
|
|
26
|
-
type: '
|
|
27
|
-
|
|
28
|
-
repository: 'oci://ghcr.io/paperclipinc/charts',
|
|
38
|
+
type: 'manifest',
|
|
39
|
+
url: PAPERCLIP_MANIFEST_URL.replaceAll('{version}', version),
|
|
29
40
|
version,
|
|
30
|
-
namespace: 'paperclip-system',
|
|
31
|
-
values: {
|
|
32
|
-
metrics: { enabled: true, serviceMonitor: { enabled: false } },
|
|
33
|
-
leaderElection: { enabled: false },
|
|
34
|
-
},
|
|
41
|
+
namespace: 'paperclip-operator-system',
|
|
35
42
|
},
|
|
36
43
|
version,
|
|
37
|
-
namespace: 'paperclip-system',
|
|
38
|
-
crds: [
|
|
44
|
+
namespace: 'paperclip-operator-system',
|
|
45
|
+
crds: [
|
|
46
|
+
'instances.paperclip.inc',
|
|
47
|
+
'paperclipclusterdefaults.paperclip.inc',
|
|
48
|
+
'paperclipselfconfigs.paperclip.inc',
|
|
49
|
+
],
|
|
39
50
|
};
|
|
40
51
|
}
|
|
41
52
|
/** Registry identity for the operator-contracts mirror checks. */
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";;;AAgCA,8CAoBC;AAYD,4CAMC;AAtED;;;;;;GAMG;AACH,oCAA2C;AAG3C,wEAAwE;AAC3D,QAAA,yBAAyB,GAAG,QAAQ,CAAA;AAEjD,mEAAmE;AACnE,MAAM,sBAAsB,GAC1B,8FAA8F,CAAA;AAEhG;;;;;;;;;;;;;;GAcG;AACH,SAAgB,iBAAiB,CAC/B,UAAkB,iCAAyB;IAE3C,OAAO;QACL,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EAAE,wCAAwC;QACrD,MAAM,EAAE;YACN,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,sBAAsB,CAAC,UAAU,CAAC,WAAW,EAAE,OAAO,CAAC;YAC5D,OAAO;YACP,SAAS,EAAE,2BAA2B;SACvC;QACD,OAAO;QACP,SAAS,EAAE,2BAA2B;QACtC,IAAI,EAAE;YACJ,yBAAyB;YACzB,wCAAwC;YACxC,oCAAoC;SACrC;KACF,CAAA;AACH,CAAC;AAED,kEAAkE;AACrD,QAAA,YAAY,GAAG,oBAAoB,CAAA;AAEhD,kEAAkE;AACrD,QAAA,eAAe,GAAG,iBAAiB,CAAA;AAEhD;;;GAGG;AACH,SAAgB,gBAAgB,CAC9B,MAAkB,EAClB,OAAgB;IAEhB,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,KAAK,oBAAoB,CAAC;QAAE,OAAO,EAAE,CAAA;IACpE,OAAO,CAAC,IAAA,sBAAe,EAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;AACtD,CAAC"}
|