@firestartr/cli 3.1.1-snapshot-pagination-fix → 3.2.0-snapshot-00
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/build/index.js
CHANGED
|
@@ -166239,17 +166239,17 @@ class GithubRepositoryChart extends BaseGithubChart {
|
|
|
166239
166239
|
/**
|
|
166240
166240
|
* @description This method creates the vars data for the repository
|
|
166241
166241
|
* @param claim
|
|
166242
|
-
* @returns VarsConfiguration
|
|
166242
|
+
* @returns VarsConfiguration, or undefined when the claim has no variables
|
|
166243
166243
|
*/
|
|
166244
166244
|
createVars(claim) {
|
|
166245
|
-
const
|
|
166246
|
-
|
|
166247
|
-
|
|
166248
|
-
|
|
166249
|
-
|
|
166250
|
-
|
|
166251
|
-
|
|
166252
|
-
|
|
166245
|
+
const actions = claim.providers?.github?.vars?.actions;
|
|
166246
|
+
// Omit the field entirely: an empty `vars: {}` becomes null under
|
|
166247
|
+
// Kubernetes Server-Side Apply when the last variable is removed.
|
|
166248
|
+
if (!actions?.length)
|
|
166249
|
+
return undefined;
|
|
166250
|
+
return {
|
|
166251
|
+
actions: this.formatVars(actions),
|
|
166252
|
+
};
|
|
166253
166253
|
}
|
|
166254
166254
|
formatVars(blockDefinition) {
|
|
166255
166255
|
return blockDefinition.map((varDef) => {
|
|
@@ -352243,7 +352243,9 @@ async function upsertInitialStatus(pluralKind, namespace, item) {
|
|
|
352243
352243
|
async function needsProvisioningOnCreateOrUpdate(cr) {
|
|
352244
352244
|
const fCrLog = (cr) => `The item ${cr.kind}: ${cr.metadata.name}`;
|
|
352245
352245
|
// NO STATUS
|
|
352246
|
-
if (!('status' in cr) ||
|
|
352246
|
+
if (!('status' in cr) ||
|
|
352247
|
+
!('conditions' in cr.status) ||
|
|
352248
|
+
cr.status.conditions.length === 0) {
|
|
352247
352249
|
operator_src_logger.debug(`The custom resource '${cr.kind}/${cr.metadata.name}' is missing a status and any conditions.`);
|
|
352248
352250
|
return { needs: true, reason: 'CREATED' };
|
|
352249
352251
|
}
|
|
@@ -364937,7 +364939,7 @@ const crsStatusSubcommand = {
|
|
|
364937
364939
|
};
|
|
364938
364940
|
|
|
364939
364941
|
;// CONCATENATED MODULE: ./package.json
|
|
364940
|
-
const package_namespaceObject = /*#__PURE__*/JSON.parse('{"rE":"3.
|
|
364942
|
+
const package_namespaceObject = /*#__PURE__*/JSON.parse('{"rE":"3.2.0-snapshot-00"}');
|
|
364941
364943
|
;// CONCATENATED MODULE: ../../package.json
|
|
364942
364944
|
const package_namespaceObject_1 = {"rE":"3.1.1"};
|
|
364943
364945
|
// EXTERNAL MODULE: ../../node_modules/semver/index.js
|
|
@@ -19,7 +19,7 @@ export declare class GithubRepositoryChart extends BaseGithubChart {
|
|
|
19
19
|
/**
|
|
20
20
|
* @description This method creates the vars data for the repository
|
|
21
21
|
* @param claim
|
|
22
|
-
* @returns VarsConfiguration
|
|
22
|
+
* @returns VarsConfiguration, or undefined when the claim has no variables
|
|
23
23
|
*/
|
|
24
24
|
private createVars;
|
|
25
25
|
formatVars(blockDefinition: any): NamedVars;
|