@firestartr/cli 1.49.0-snapshot-12 → 1.49.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/build/index.js +134 -102
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/index.d.ts +91 -71
- package/build/packages/cdk8s_renderer/src/claims/external-secrets/external-secrets.schema.d.ts +91 -71
- package/build/packages/cdk8s_renderer/src/claims/external-secrets/index.d.ts +91 -71
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -302525,95 +302525,116 @@ const ArgoCDSchemas = [argocd_schema];
|
|
|
302525
302525
|
$schema: SCHEMA,
|
|
302526
302526
|
$id: 'ExternalSecretsProvider',
|
|
302527
302527
|
definitions: {
|
|
302528
|
+
SecretStore: {
|
|
302529
|
+
$id: 'firestartr.dev://secrets/SecretStore',
|
|
302530
|
+
type: 'object',
|
|
302531
|
+
properties: {
|
|
302532
|
+
name: { type: 'string' },
|
|
302533
|
+
kind: {
|
|
302534
|
+
type: 'string',
|
|
302535
|
+
enum: ['SecretStore', 'ClusterSecretStore'],
|
|
302536
|
+
},
|
|
302537
|
+
},
|
|
302538
|
+
required: ['name'],
|
|
302539
|
+
},
|
|
302540
|
+
ExternalSecretsSection: {
|
|
302541
|
+
$id: 'firestartr.dev://secrets/ExternalSecretsSection',
|
|
302542
|
+
type: 'object',
|
|
302543
|
+
properties: {
|
|
302544
|
+
refreshInterval: { type: 'string' },
|
|
302545
|
+
secrets: {
|
|
302546
|
+
type: 'array',
|
|
302547
|
+
items: {
|
|
302548
|
+
additionalProperties: false,
|
|
302549
|
+
type: 'object',
|
|
302550
|
+
properties: {
|
|
302551
|
+
secretName: { type: 'string' },
|
|
302552
|
+
remoteRef: { type: 'string' },
|
|
302553
|
+
},
|
|
302554
|
+
required: ['secretName'],
|
|
302555
|
+
},
|
|
302556
|
+
},
|
|
302557
|
+
},
|
|
302558
|
+
},
|
|
302559
|
+
PushSecretsSection: {
|
|
302560
|
+
$id: 'firestartr.dev://secrets/PushSecretsSection',
|
|
302561
|
+
type: 'array',
|
|
302562
|
+
items: {
|
|
302563
|
+
type: 'object',
|
|
302564
|
+
properties: {
|
|
302565
|
+
data: { type: 'object' },
|
|
302566
|
+
template: { type: 'object' },
|
|
302567
|
+
secretName: { type: 'string' },
|
|
302568
|
+
refreshInterval: { type: 'string' },
|
|
302569
|
+
generator: {
|
|
302570
|
+
type: 'object',
|
|
302571
|
+
properties: {
|
|
302572
|
+
name: { type: 'string' },
|
|
302573
|
+
kind: {
|
|
302574
|
+
type: 'string',
|
|
302575
|
+
enum: [
|
|
302576
|
+
'ACRAccessToken',
|
|
302577
|
+
'ClusterGenerator',
|
|
302578
|
+
'ECRAuthorizationToken',
|
|
302579
|
+
'Fake',
|
|
302580
|
+
'GCRAccessToken',
|
|
302581
|
+
'GithubAccessToken',
|
|
302582
|
+
'QuayAccessToken',
|
|
302583
|
+
'Password',
|
|
302584
|
+
'STSSessionToken',
|
|
302585
|
+
'UUID',
|
|
302586
|
+
'VaultDynamicSecret',
|
|
302587
|
+
'Webhook',
|
|
302588
|
+
'Grafana',
|
|
302589
|
+
],
|
|
302590
|
+
},
|
|
302591
|
+
apiVersion: {
|
|
302592
|
+
type: 'string',
|
|
302593
|
+
},
|
|
302594
|
+
conversionStrategy: {
|
|
302595
|
+
type: 'string',
|
|
302596
|
+
},
|
|
302597
|
+
outputKey: {
|
|
302598
|
+
type: 'string',
|
|
302599
|
+
},
|
|
302600
|
+
},
|
|
302601
|
+
required: ['name'],
|
|
302602
|
+
},
|
|
302603
|
+
},
|
|
302604
|
+
required: ['secretName', 'generator'],
|
|
302605
|
+
},
|
|
302606
|
+
},
|
|
302528
302607
|
ExternalSecretsProvider: {
|
|
302529
302608
|
$id: 'firestartr.dev://secrets/ExternalSecretsProvider',
|
|
302530
302609
|
type: 'object',
|
|
302531
302610
|
description: 'A external secrets claim provider',
|
|
302532
302611
|
allOf: [
|
|
302612
|
+
{ $ref: 'firestartr.dev://common/ClaimProviderEnvelope' },
|
|
302533
302613
|
{
|
|
302534
|
-
|
|
302535
|
-
|
|
302536
|
-
{
|
|
302537
|
-
type: 'object',
|
|
302538
|
-
properties: {
|
|
302539
|
-
secretStore: {
|
|
302540
|
-
type: 'object',
|
|
302614
|
+
anyOf: [
|
|
302615
|
+
{
|
|
302541
302616
|
properties: {
|
|
302542
|
-
|
|
302543
|
-
|
|
302544
|
-
type: 'string',
|
|
302545
|
-
enum: ['SecretStore', 'ClusterSecretStore'],
|
|
302617
|
+
externalSecrets: {
|
|
302618
|
+
$ref: 'firestartr.dev://secrets/ExternalSecretsSection',
|
|
302546
302619
|
},
|
|
302547
|
-
|
|
302548
|
-
|
|
302549
|
-
},
|
|
302550
|
-
pushSecrets: {
|
|
302551
|
-
type: 'array',
|
|
302552
|
-
items: {
|
|
302553
|
-
type: 'object',
|
|
302554
|
-
properties: {
|
|
302555
|
-
data: { type: 'object' },
|
|
302556
|
-
template: { type: 'object' },
|
|
302557
|
-
secretName: { type: 'string' },
|
|
302558
|
-
refreshInterval: { type: 'string' },
|
|
302559
|
-
generator: {
|
|
302560
|
-
type: 'object',
|
|
302561
|
-
properties: {
|
|
302562
|
-
name: { type: 'string' },
|
|
302563
|
-
kind: {
|
|
302564
|
-
type: 'string',
|
|
302565
|
-
enum: [
|
|
302566
|
-
'ACRAccessToken',
|
|
302567
|
-
'ClusterGenerator',
|
|
302568
|
-
'ECRAuthorizationToken',
|
|
302569
|
-
'Fake',
|
|
302570
|
-
'GCRAccessToken',
|
|
302571
|
-
'GithubAccessToken',
|
|
302572
|
-
'QuayAccessToken',
|
|
302573
|
-
'Password',
|
|
302574
|
-
'STSSessionToken',
|
|
302575
|
-
'UUID',
|
|
302576
|
-
'VaultDynamicSecret',
|
|
302577
|
-
'Webhook',
|
|
302578
|
-
'Grafana',
|
|
302579
|
-
],
|
|
302580
|
-
},
|
|
302581
|
-
apiVersion: {
|
|
302582
|
-
type: 'string',
|
|
302583
|
-
},
|
|
302584
|
-
conversionStrategy: {
|
|
302585
|
-
type: 'string',
|
|
302586
|
-
},
|
|
302587
|
-
outputKey: {
|
|
302588
|
-
type: 'string',
|
|
302589
|
-
},
|
|
302590
|
-
},
|
|
302591
|
-
required: ['name'],
|
|
302592
|
-
},
|
|
302620
|
+
secretStore: {
|
|
302621
|
+
$ref: 'firestartr.dev://secrets/SecretStore',
|
|
302593
302622
|
},
|
|
302594
|
-
required: ['secretName', 'generator'],
|
|
302595
302623
|
},
|
|
302624
|
+
required: ['secretStore', 'externalSecrets'],
|
|
302596
302625
|
},
|
|
302597
|
-
|
|
302598
|
-
type: 'object',
|
|
302626
|
+
{
|
|
302599
302627
|
properties: {
|
|
302600
|
-
|
|
302601
|
-
|
|
302602
|
-
|
|
302603
|
-
|
|
302604
|
-
|
|
302605
|
-
type: 'object',
|
|
302606
|
-
properties: {
|
|
302607
|
-
secretName: { type: 'string' },
|
|
302608
|
-
remoteRef: { type: 'string' },
|
|
302609
|
-
},
|
|
302610
|
-
required: ['secretName'],
|
|
302611
|
-
},
|
|
302628
|
+
pushSecrets: {
|
|
302629
|
+
$ref: 'firestartr.dev://secrets/PushSecretsSection',
|
|
302630
|
+
},
|
|
302631
|
+
secretStore: {
|
|
302632
|
+
$ref: 'firestartr.dev://secrets/SecretStore',
|
|
302612
302633
|
},
|
|
302613
302634
|
},
|
|
302635
|
+
required: ['secretStore', 'pushSecrets'],
|
|
302614
302636
|
},
|
|
302615
|
-
|
|
302616
|
-
required: ['secretStore', 'externalSecrets', 'pushSecrets'],
|
|
302637
|
+
],
|
|
302617
302638
|
},
|
|
302618
302639
|
],
|
|
302619
302640
|
},
|
|
@@ -308599,8 +308620,8 @@ class SecretsChart extends BaseSecretsChart {
|
|
|
308599
308620
|
};
|
|
308600
308621
|
}
|
|
308601
308622
|
extraCharts() {
|
|
308602
|
-
const externalSecrets = this.get('
|
|
308603
|
-
const pushSecrets = this.get('
|
|
308623
|
+
const externalSecrets = this.get('externalSecrets');
|
|
308624
|
+
const pushSecrets = this.get('pushSecrets');
|
|
308604
308625
|
const kind = this.get('claim').kind;
|
|
308605
308626
|
const name = this.get('claim').name;
|
|
308606
308627
|
const concatenated = externalSecrets
|
|
@@ -314273,7 +314294,7 @@ ${commentContent}
|
|
|
314273
314294
|
}
|
|
314274
314295
|
}
|
|
314275
314296
|
catch (e) {
|
|
314276
|
-
operator_src_logger.error(`An error occurred while publishing user feedback for item '${item.kind}/${item.metadata.name}'
|
|
314297
|
+
operator_src_logger.error(`An error occurred while publishing user feedback for item '${item.kind}/${item.metadata.name}': '${e}'.`);
|
|
314277
314298
|
}
|
|
314278
314299
|
}
|
|
314279
314300
|
async function publishApply(item, applyOutput, kind) {
|
|
@@ -315715,38 +315736,48 @@ async function* errorPolicyCompatibility(syncPolicy, generalPolicy, item, op) {
|
|
|
315715
315736
|
|
|
315716
315737
|
;// CONCATENATED MODULE: ../operator/src/user-feedback-ops/tf-checkrun.ts
|
|
315717
315738
|
|
|
315739
|
+
|
|
315718
315740
|
async function TFCheckRun(cmd, item) {
|
|
315719
|
-
|
|
315720
|
-
|
|
315721
|
-
|
|
315741
|
+
try {
|
|
315742
|
+
const prInfo = tf_checkrun_extractPrInfo(item);
|
|
315743
|
+
const checkRun = await github_0.feedback.createCheckRun(prInfo.org, prInfo.repo, tf_checkrun_helperCreateCheckRunName(cmd), {
|
|
315744
|
+
pullNumber: Number(prInfo.prNumber),
|
|
315745
|
+
includeCheckRunComment: true,
|
|
315746
|
+
checkRunComment: `The TFWorkspace is being processed (cmd=${cmd}). Details: `,
|
|
315747
|
+
});
|
|
315748
|
+
checkRun.mdOptionsDetails({
|
|
315749
|
+
quotes: 'terraform',
|
|
315750
|
+
});
|
|
315751
|
+
checkRun.update('Initiating', 'queued');
|
|
315752
|
+
return {
|
|
315753
|
+
fnData: (d) => {
|
|
315754
|
+
checkRun.update(d.toString(), 'in_progress');
|
|
315755
|
+
},
|
|
315756
|
+
fnEnd: () => {
|
|
315757
|
+
checkRun.close('OK', true);
|
|
315758
|
+
},
|
|
315759
|
+
fnOnError: (err) => {
|
|
315760
|
+
checkRun.close('KO', false);
|
|
315761
|
+
},
|
|
315762
|
+
};
|
|
315763
|
+
}
|
|
315764
|
+
catch (e) {
|
|
315765
|
+
// log error and return empty fns
|
|
315766
|
+
logger_logger.warn('Error in TFCheckRun:', e);
|
|
315767
|
+
return {
|
|
315768
|
+
fnData: (d) => { },
|
|
315769
|
+
fnEnd: () => { },
|
|
315770
|
+
fnOnError: (err) => { },
|
|
315771
|
+
};
|
|
315722
315772
|
}
|
|
315723
|
-
const checkRun = await github_0.feedback.createCheckRun(prInfo.org, prInfo.repo, tf_checkrun_helperCreateCheckRunName(cmd), {
|
|
315724
|
-
//Number(pr_number),
|
|
315725
|
-
pullNumber: Number(prInfo.prNumber),
|
|
315726
|
-
includeCheckRunComment: true,
|
|
315727
|
-
checkRunComment: `The TFWorkspace is being processed (cmd=${cmd}). Details: `,
|
|
315728
|
-
});
|
|
315729
|
-
checkRun.mdOptionsDetails({
|
|
315730
|
-
quotes: 'terraform',
|
|
315731
|
-
});
|
|
315732
|
-
checkRun.update('Initiating', 'queued');
|
|
315733
|
-
return {
|
|
315734
|
-
fnData: (d) => {
|
|
315735
|
-
checkRun.update(d.toString(), 'in_progress');
|
|
315736
|
-
},
|
|
315737
|
-
fnEnd: () => {
|
|
315738
|
-
checkRun.close('OK', true);
|
|
315739
|
-
},
|
|
315740
|
-
fnOnError: (err) => {
|
|
315741
|
-
checkRun.close('KO', false);
|
|
315742
|
-
},
|
|
315743
|
-
};
|
|
315744
315773
|
}
|
|
315745
315774
|
function tf_checkrun_helperCreateCheckRunName(cmd) {
|
|
315746
315775
|
return `TFWorkspace - ${cmd}`;
|
|
315747
315776
|
}
|
|
315748
315777
|
function tf_checkrun_extractPrInfo(item) {
|
|
315749
315778
|
const prInfo = item.metadata.annotations['firestartr.dev/last-state-pr'];
|
|
315779
|
+
if (!prInfo)
|
|
315780
|
+
throw new Error('No firestartr.dev/last-state-pr field in CR');
|
|
315750
315781
|
const prNumber = prInfo.split('#')[1];
|
|
315751
315782
|
if (!prNumber)
|
|
315752
315783
|
throw new Error('No PR number found in CR');
|
|
@@ -317503,7 +317534,8 @@ class CRStateMetrics {
|
|
|
317503
317534
|
catch (err) {
|
|
317504
317535
|
console.log(`CRStateMetrics: update ${err}`);
|
|
317505
317536
|
this.onUpdate = false;
|
|
317506
|
-
operator_src_logger.error(
|
|
317537
|
+
operator_src_logger.error(`On update of CR metrics: ${err}`);
|
|
317538
|
+
await this.__prepareConnection();
|
|
317507
317539
|
}
|
|
317508
317540
|
this.onUpdate = false;
|
|
317509
317541
|
}
|
|
@@ -837,100 +837,120 @@ declare const schemas: {
|
|
|
837
837
|
$schema: string;
|
|
838
838
|
$id: string;
|
|
839
839
|
definitions: {
|
|
840
|
-
|
|
840
|
+
SecretStore: {
|
|
841
841
|
$id: string;
|
|
842
842
|
type: string;
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
843
|
+
properties: {
|
|
844
|
+
name: {
|
|
845
|
+
type: string;
|
|
846
|
+
};
|
|
847
|
+
kind: {
|
|
848
|
+
type: string;
|
|
849
|
+
enum: string[];
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
required: string[];
|
|
853
|
+
};
|
|
854
|
+
ExternalSecretsSection: {
|
|
855
|
+
$id: string;
|
|
856
|
+
type: string;
|
|
857
|
+
properties: {
|
|
858
|
+
refreshInterval: {
|
|
859
|
+
type: string;
|
|
860
|
+
};
|
|
861
|
+
secrets: {
|
|
862
|
+
type: string;
|
|
863
|
+
items: {
|
|
864
|
+
additionalProperties: boolean;
|
|
853
865
|
type: string;
|
|
854
866
|
properties: {
|
|
855
|
-
|
|
867
|
+
secretName: {
|
|
856
868
|
type: string;
|
|
857
869
|
};
|
|
858
|
-
|
|
870
|
+
remoteRef: {
|
|
859
871
|
type: string;
|
|
860
|
-
enum: string[];
|
|
861
872
|
};
|
|
862
873
|
};
|
|
863
874
|
required: string[];
|
|
864
875
|
};
|
|
865
|
-
|
|
876
|
+
};
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
PushSecretsSection: {
|
|
880
|
+
$id: string;
|
|
881
|
+
type: string;
|
|
882
|
+
items: {
|
|
883
|
+
type: string;
|
|
884
|
+
properties: {
|
|
885
|
+
data: {
|
|
886
|
+
type: string;
|
|
887
|
+
};
|
|
888
|
+
template: {
|
|
889
|
+
type: string;
|
|
890
|
+
};
|
|
891
|
+
secretName: {
|
|
892
|
+
type: string;
|
|
893
|
+
};
|
|
894
|
+
refreshInterval: {
|
|
866
895
|
type: string;
|
|
867
|
-
items: {
|
|
868
|
-
type: string;
|
|
869
|
-
properties: {
|
|
870
|
-
data: {
|
|
871
|
-
type: string;
|
|
872
|
-
};
|
|
873
|
-
template: {
|
|
874
|
-
type: string;
|
|
875
|
-
};
|
|
876
|
-
secretName: {
|
|
877
|
-
type: string;
|
|
878
|
-
};
|
|
879
|
-
refreshInterval: {
|
|
880
|
-
type: string;
|
|
881
|
-
};
|
|
882
|
-
generator: {
|
|
883
|
-
type: string;
|
|
884
|
-
properties: {
|
|
885
|
-
name: {
|
|
886
|
-
type: string;
|
|
887
|
-
};
|
|
888
|
-
kind: {
|
|
889
|
-
type: string;
|
|
890
|
-
enum: string[];
|
|
891
|
-
};
|
|
892
|
-
apiVersion: {
|
|
893
|
-
type: string;
|
|
894
|
-
};
|
|
895
|
-
conversionStrategy: {
|
|
896
|
-
type: string;
|
|
897
|
-
};
|
|
898
|
-
outputKey: {
|
|
899
|
-
type: string;
|
|
900
|
-
};
|
|
901
|
-
};
|
|
902
|
-
required: string[];
|
|
903
|
-
};
|
|
904
|
-
};
|
|
905
|
-
required: string[];
|
|
906
|
-
};
|
|
907
896
|
};
|
|
908
|
-
|
|
897
|
+
generator: {
|
|
909
898
|
type: string;
|
|
910
899
|
properties: {
|
|
911
|
-
|
|
900
|
+
name: {
|
|
912
901
|
type: string;
|
|
913
902
|
};
|
|
914
|
-
|
|
903
|
+
kind: {
|
|
904
|
+
type: string;
|
|
905
|
+
enum: string[];
|
|
906
|
+
};
|
|
907
|
+
apiVersion: {
|
|
908
|
+
type: string;
|
|
909
|
+
};
|
|
910
|
+
conversionStrategy: {
|
|
911
|
+
type: string;
|
|
912
|
+
};
|
|
913
|
+
outputKey: {
|
|
915
914
|
type: string;
|
|
916
|
-
items: {
|
|
917
|
-
additionalProperties: boolean;
|
|
918
|
-
type: string;
|
|
919
|
-
properties: {
|
|
920
|
-
secretName: {
|
|
921
|
-
type: string;
|
|
922
|
-
};
|
|
923
|
-
remoteRef: {
|
|
924
|
-
type: string;
|
|
925
|
-
};
|
|
926
|
-
};
|
|
927
|
-
required: string[];
|
|
928
|
-
};
|
|
929
915
|
};
|
|
930
916
|
};
|
|
917
|
+
required: string[];
|
|
931
918
|
};
|
|
932
919
|
};
|
|
933
920
|
required: string[];
|
|
921
|
+
};
|
|
922
|
+
};
|
|
923
|
+
ExternalSecretsProvider: {
|
|
924
|
+
$id: string;
|
|
925
|
+
type: string;
|
|
926
|
+
description: string;
|
|
927
|
+
allOf: ({
|
|
928
|
+
$ref: string;
|
|
929
|
+
anyOf?: undefined;
|
|
930
|
+
} | {
|
|
931
|
+
anyOf: ({
|
|
932
|
+
properties: {
|
|
933
|
+
externalSecrets: {
|
|
934
|
+
$ref: string;
|
|
935
|
+
};
|
|
936
|
+
secretStore: {
|
|
937
|
+
$ref: string;
|
|
938
|
+
};
|
|
939
|
+
pushSecrets?: undefined;
|
|
940
|
+
};
|
|
941
|
+
required: string[];
|
|
942
|
+
} | {
|
|
943
|
+
properties: {
|
|
944
|
+
pushSecrets: {
|
|
945
|
+
$ref: string;
|
|
946
|
+
};
|
|
947
|
+
secretStore: {
|
|
948
|
+
$ref: string;
|
|
949
|
+
};
|
|
950
|
+
externalSecrets?: undefined;
|
|
951
|
+
};
|
|
952
|
+
required: string[];
|
|
953
|
+
})[];
|
|
934
954
|
$ref?: undefined;
|
|
935
955
|
})[];
|
|
936
956
|
};
|
package/build/packages/cdk8s_renderer/src/claims/external-secrets/external-secrets.schema.d.ts
CHANGED
|
@@ -2,100 +2,120 @@ declare const _default: {
|
|
|
2
2
|
$schema: string;
|
|
3
3
|
$id: string;
|
|
4
4
|
definitions: {
|
|
5
|
-
|
|
5
|
+
SecretStore: {
|
|
6
6
|
$id: string;
|
|
7
7
|
type: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
properties: {
|
|
9
|
+
name: {
|
|
10
|
+
type: string;
|
|
11
|
+
};
|
|
12
|
+
kind: {
|
|
13
|
+
type: string;
|
|
14
|
+
enum: string[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
required: string[];
|
|
18
|
+
};
|
|
19
|
+
ExternalSecretsSection: {
|
|
20
|
+
$id: string;
|
|
21
|
+
type: string;
|
|
22
|
+
properties: {
|
|
23
|
+
refreshInterval: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
secrets: {
|
|
27
|
+
type: string;
|
|
28
|
+
items: {
|
|
29
|
+
additionalProperties: boolean;
|
|
18
30
|
type: string;
|
|
19
31
|
properties: {
|
|
20
|
-
|
|
32
|
+
secretName: {
|
|
21
33
|
type: string;
|
|
22
34
|
};
|
|
23
|
-
|
|
35
|
+
remoteRef: {
|
|
24
36
|
type: string;
|
|
25
|
-
enum: string[];
|
|
26
37
|
};
|
|
27
38
|
};
|
|
28
39
|
required: string[];
|
|
29
40
|
};
|
|
30
|
-
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
PushSecretsSection: {
|
|
45
|
+
$id: string;
|
|
46
|
+
type: string;
|
|
47
|
+
items: {
|
|
48
|
+
type: string;
|
|
49
|
+
properties: {
|
|
50
|
+
data: {
|
|
51
|
+
type: string;
|
|
52
|
+
};
|
|
53
|
+
template: {
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
secretName: {
|
|
57
|
+
type: string;
|
|
58
|
+
};
|
|
59
|
+
refreshInterval: {
|
|
31
60
|
type: string;
|
|
32
|
-
items: {
|
|
33
|
-
type: string;
|
|
34
|
-
properties: {
|
|
35
|
-
data: {
|
|
36
|
-
type: string;
|
|
37
|
-
};
|
|
38
|
-
template: {
|
|
39
|
-
type: string;
|
|
40
|
-
};
|
|
41
|
-
secretName: {
|
|
42
|
-
type: string;
|
|
43
|
-
};
|
|
44
|
-
refreshInterval: {
|
|
45
|
-
type: string;
|
|
46
|
-
};
|
|
47
|
-
generator: {
|
|
48
|
-
type: string;
|
|
49
|
-
properties: {
|
|
50
|
-
name: {
|
|
51
|
-
type: string;
|
|
52
|
-
};
|
|
53
|
-
kind: {
|
|
54
|
-
type: string;
|
|
55
|
-
enum: string[];
|
|
56
|
-
};
|
|
57
|
-
apiVersion: {
|
|
58
|
-
type: string;
|
|
59
|
-
};
|
|
60
|
-
conversionStrategy: {
|
|
61
|
-
type: string;
|
|
62
|
-
};
|
|
63
|
-
outputKey: {
|
|
64
|
-
type: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
required: string[];
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
required: string[];
|
|
71
|
-
};
|
|
72
61
|
};
|
|
73
|
-
|
|
62
|
+
generator: {
|
|
74
63
|
type: string;
|
|
75
64
|
properties: {
|
|
76
|
-
|
|
65
|
+
name: {
|
|
66
|
+
type: string;
|
|
67
|
+
};
|
|
68
|
+
kind: {
|
|
69
|
+
type: string;
|
|
70
|
+
enum: string[];
|
|
71
|
+
};
|
|
72
|
+
apiVersion: {
|
|
77
73
|
type: string;
|
|
78
74
|
};
|
|
79
|
-
|
|
75
|
+
conversionStrategy: {
|
|
76
|
+
type: string;
|
|
77
|
+
};
|
|
78
|
+
outputKey: {
|
|
80
79
|
type: string;
|
|
81
|
-
items: {
|
|
82
|
-
additionalProperties: boolean;
|
|
83
|
-
type: string;
|
|
84
|
-
properties: {
|
|
85
|
-
secretName: {
|
|
86
|
-
type: string;
|
|
87
|
-
};
|
|
88
|
-
remoteRef: {
|
|
89
|
-
type: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
required: string[];
|
|
93
|
-
};
|
|
94
80
|
};
|
|
95
81
|
};
|
|
82
|
+
required: string[];
|
|
96
83
|
};
|
|
97
84
|
};
|
|
98
85
|
required: string[];
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
ExternalSecretsProvider: {
|
|
89
|
+
$id: string;
|
|
90
|
+
type: string;
|
|
91
|
+
description: string;
|
|
92
|
+
allOf: ({
|
|
93
|
+
$ref: string;
|
|
94
|
+
anyOf?: undefined;
|
|
95
|
+
} | {
|
|
96
|
+
anyOf: ({
|
|
97
|
+
properties: {
|
|
98
|
+
externalSecrets: {
|
|
99
|
+
$ref: string;
|
|
100
|
+
};
|
|
101
|
+
secretStore: {
|
|
102
|
+
$ref: string;
|
|
103
|
+
};
|
|
104
|
+
pushSecrets?: undefined;
|
|
105
|
+
};
|
|
106
|
+
required: string[];
|
|
107
|
+
} | {
|
|
108
|
+
properties: {
|
|
109
|
+
pushSecrets: {
|
|
110
|
+
$ref: string;
|
|
111
|
+
};
|
|
112
|
+
secretStore: {
|
|
113
|
+
$ref: string;
|
|
114
|
+
};
|
|
115
|
+
externalSecrets?: undefined;
|
|
116
|
+
};
|
|
117
|
+
required: string[];
|
|
118
|
+
})[];
|
|
99
119
|
$ref?: undefined;
|
|
100
120
|
})[];
|
|
101
121
|
};
|
|
@@ -2,100 +2,120 @@ export declare const SecretsSchemas: {
|
|
|
2
2
|
$schema: string;
|
|
3
3
|
$id: string;
|
|
4
4
|
definitions: {
|
|
5
|
-
|
|
5
|
+
SecretStore: {
|
|
6
6
|
$id: string;
|
|
7
7
|
type: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
properties: {
|
|
9
|
+
name: {
|
|
10
|
+
type: string;
|
|
11
|
+
};
|
|
12
|
+
kind: {
|
|
13
|
+
type: string;
|
|
14
|
+
enum: string[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
required: string[];
|
|
18
|
+
};
|
|
19
|
+
ExternalSecretsSection: {
|
|
20
|
+
$id: string;
|
|
21
|
+
type: string;
|
|
22
|
+
properties: {
|
|
23
|
+
refreshInterval: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
secrets: {
|
|
27
|
+
type: string;
|
|
28
|
+
items: {
|
|
29
|
+
additionalProperties: boolean;
|
|
18
30
|
type: string;
|
|
19
31
|
properties: {
|
|
20
|
-
|
|
32
|
+
secretName: {
|
|
21
33
|
type: string;
|
|
22
34
|
};
|
|
23
|
-
|
|
35
|
+
remoteRef: {
|
|
24
36
|
type: string;
|
|
25
|
-
enum: string[];
|
|
26
37
|
};
|
|
27
38
|
};
|
|
28
39
|
required: string[];
|
|
29
40
|
};
|
|
30
|
-
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
PushSecretsSection: {
|
|
45
|
+
$id: string;
|
|
46
|
+
type: string;
|
|
47
|
+
items: {
|
|
48
|
+
type: string;
|
|
49
|
+
properties: {
|
|
50
|
+
data: {
|
|
51
|
+
type: string;
|
|
52
|
+
};
|
|
53
|
+
template: {
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
secretName: {
|
|
57
|
+
type: string;
|
|
58
|
+
};
|
|
59
|
+
refreshInterval: {
|
|
31
60
|
type: string;
|
|
32
|
-
items: {
|
|
33
|
-
type: string;
|
|
34
|
-
properties: {
|
|
35
|
-
data: {
|
|
36
|
-
type: string;
|
|
37
|
-
};
|
|
38
|
-
template: {
|
|
39
|
-
type: string;
|
|
40
|
-
};
|
|
41
|
-
secretName: {
|
|
42
|
-
type: string;
|
|
43
|
-
};
|
|
44
|
-
refreshInterval: {
|
|
45
|
-
type: string;
|
|
46
|
-
};
|
|
47
|
-
generator: {
|
|
48
|
-
type: string;
|
|
49
|
-
properties: {
|
|
50
|
-
name: {
|
|
51
|
-
type: string;
|
|
52
|
-
};
|
|
53
|
-
kind: {
|
|
54
|
-
type: string;
|
|
55
|
-
enum: string[];
|
|
56
|
-
};
|
|
57
|
-
apiVersion: {
|
|
58
|
-
type: string;
|
|
59
|
-
};
|
|
60
|
-
conversionStrategy: {
|
|
61
|
-
type: string;
|
|
62
|
-
};
|
|
63
|
-
outputKey: {
|
|
64
|
-
type: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
required: string[];
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
required: string[];
|
|
71
|
-
};
|
|
72
61
|
};
|
|
73
|
-
|
|
62
|
+
generator: {
|
|
74
63
|
type: string;
|
|
75
64
|
properties: {
|
|
76
|
-
|
|
65
|
+
name: {
|
|
66
|
+
type: string;
|
|
67
|
+
};
|
|
68
|
+
kind: {
|
|
69
|
+
type: string;
|
|
70
|
+
enum: string[];
|
|
71
|
+
};
|
|
72
|
+
apiVersion: {
|
|
77
73
|
type: string;
|
|
78
74
|
};
|
|
79
|
-
|
|
75
|
+
conversionStrategy: {
|
|
76
|
+
type: string;
|
|
77
|
+
};
|
|
78
|
+
outputKey: {
|
|
80
79
|
type: string;
|
|
81
|
-
items: {
|
|
82
|
-
additionalProperties: boolean;
|
|
83
|
-
type: string;
|
|
84
|
-
properties: {
|
|
85
|
-
secretName: {
|
|
86
|
-
type: string;
|
|
87
|
-
};
|
|
88
|
-
remoteRef: {
|
|
89
|
-
type: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
required: string[];
|
|
93
|
-
};
|
|
94
80
|
};
|
|
95
81
|
};
|
|
82
|
+
required: string[];
|
|
96
83
|
};
|
|
97
84
|
};
|
|
98
85
|
required: string[];
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
ExternalSecretsProvider: {
|
|
89
|
+
$id: string;
|
|
90
|
+
type: string;
|
|
91
|
+
description: string;
|
|
92
|
+
allOf: ({
|
|
93
|
+
$ref: string;
|
|
94
|
+
anyOf?: undefined;
|
|
95
|
+
} | {
|
|
96
|
+
anyOf: ({
|
|
97
|
+
properties: {
|
|
98
|
+
externalSecrets: {
|
|
99
|
+
$ref: string;
|
|
100
|
+
};
|
|
101
|
+
secretStore: {
|
|
102
|
+
$ref: string;
|
|
103
|
+
};
|
|
104
|
+
pushSecrets?: undefined;
|
|
105
|
+
};
|
|
106
|
+
required: string[];
|
|
107
|
+
} | {
|
|
108
|
+
properties: {
|
|
109
|
+
pushSecrets: {
|
|
110
|
+
$ref: string;
|
|
111
|
+
};
|
|
112
|
+
secretStore: {
|
|
113
|
+
$ref: string;
|
|
114
|
+
};
|
|
115
|
+
externalSecrets?: undefined;
|
|
116
|
+
};
|
|
117
|
+
required: string[];
|
|
118
|
+
})[];
|
|
99
119
|
$ref?: undefined;
|
|
100
120
|
})[];
|
|
101
121
|
};
|