@firestartr/cli 2.11.0-snapshot-patch-claims-5 → 2.11.0-snapshot-org-secrets-03
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 +2 -2
- package/build/packages/cdk8s_renderer/imports/firestartr.dev.d.ts +491 -0
- package/build/packages/cdk8s_renderer/src/charts/catalog/groupChart.d.ts +1 -1
- package/build/packages/cdk8s_renderer/src/charts/github/index.d.ts +1 -0
- package/build/packages/cdk8s_renderer/src/charts/github/orgSecretSectionChart.d.ts +8 -0
- package/build/packages/cdk8s_renderer/src/charts/index.d.ts +2 -1
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/index.d.ts +89 -0
- package/build/packages/cdk8s_renderer/src/claims/github/index.d.ts +89 -0
- package/build/packages/cdk8s_renderer/src/claims/github/orgSecrets.schema.d.ts +67 -0
- package/build/packages/cdk8s_renderer/src/claims/github/orgSettings.d.ts +20 -0
- package/build/packages/cdk8s_renderer/src/claims/github/orgsettings.schema.d.ts +24 -0
- package/build/packages/cdk8s_renderer/src/renderer/claims-render.d.ts +1 -1
- package/build/packages/cdk8s_renderer/src/validations/githubOrgSecretSection.d.ts +4 -0
- package/build/packages/gh_provisioner/src/entities/ghorgsecretsection/index.d.ts +7 -0
- package/build/packages/gh_provisioner/src/entities/ghorgsecretsection/secrets.d.ts +16 -0
- package/build/packages/github/index.d.ts +7 -1
- package/build/packages/github/src/orgSecrets.d.ts +10 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/build/index.js
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 52712960 bytes
|
|
4
|
+
sha256: c8194ff5dd3d4fd89d78ca815075ad7d323eb80e7bd4f3ea0e3f1c244b1e4063
|
|
@@ -522,6 +522,497 @@ export declare enum FirestartrGithubMembershipSpecContextProviderRefKind {
|
|
|
522
522
|
/** FirestartrProviderConfig */
|
|
523
523
|
FIRESTARTR_PROVIDER_CONFIG = "FirestartrProviderConfig"
|
|
524
524
|
}
|
|
525
|
+
/**
|
|
526
|
+
* A resource to handle GitHub Organization Actions Secrets.
|
|
527
|
+
*
|
|
528
|
+
* @schema FirestartrGithubOrganizationSecretSection
|
|
529
|
+
*/
|
|
530
|
+
export declare class FirestartrGithubOrganizationSecretSection extends ApiObject {
|
|
531
|
+
/**
|
|
532
|
+
* Returns the apiVersion and kind for "FirestartrGithubOrganizationSecretSection"
|
|
533
|
+
*/
|
|
534
|
+
static readonly GVK: GroupVersionKind;
|
|
535
|
+
/**
|
|
536
|
+
* Renders a Kubernetes manifest for "FirestartrGithubOrganizationSecretSection".
|
|
537
|
+
*
|
|
538
|
+
* This can be used to inline resource manifests inside other objects (e.g. as templates).
|
|
539
|
+
*
|
|
540
|
+
* @param props initialization props
|
|
541
|
+
*/
|
|
542
|
+
static manifest(props: FirestartrGithubOrganizationSecretSectionProps): any;
|
|
543
|
+
/**
|
|
544
|
+
* Defines a "FirestartrGithubOrganizationSecretSection" API object
|
|
545
|
+
* @param scope the scope in which to define this object
|
|
546
|
+
* @param id a scope-local name for the object
|
|
547
|
+
* @param props initialization props
|
|
548
|
+
*/
|
|
549
|
+
constructor(scope: Construct, id: string, props: FirestartrGithubOrganizationSecretSectionProps);
|
|
550
|
+
/**
|
|
551
|
+
* Renders the object to Kubernetes JSON.
|
|
552
|
+
*/
|
|
553
|
+
toJson(): any;
|
|
554
|
+
}
|
|
555
|
+
/**
|
|
556
|
+
* A resource to handle GitHub Organization Actions Secrets.
|
|
557
|
+
*
|
|
558
|
+
* @schema FirestartrGithubOrganizationSecretSection
|
|
559
|
+
*/
|
|
560
|
+
export interface FirestartrGithubOrganizationSecretSectionProps {
|
|
561
|
+
/**
|
|
562
|
+
* @schema FirestartrGithubOrganizationSecretSection#metadata
|
|
563
|
+
*/
|
|
564
|
+
readonly metadata: ApiObjectMetadata;
|
|
565
|
+
/**
|
|
566
|
+
* @schema FirestartrGithubOrganizationSecretSection#spec
|
|
567
|
+
*/
|
|
568
|
+
readonly spec: FirestartrGithubOrganizationSecretSectionSpec;
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionProps' to JSON representation.
|
|
572
|
+
*/
|
|
573
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionProps(obj: FirestartrGithubOrganizationSecretSectionProps | undefined): Record<string, any> | undefined;
|
|
574
|
+
/**
|
|
575
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpec
|
|
576
|
+
*/
|
|
577
|
+
export interface FirestartrGithubOrganizationSecretSectionSpec {
|
|
578
|
+
/**
|
|
579
|
+
* GitHub organization targeted by this resource
|
|
580
|
+
*
|
|
581
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpec#org
|
|
582
|
+
*/
|
|
583
|
+
readonly org: string;
|
|
584
|
+
/**
|
|
585
|
+
* A map of secret types, each containing a list of secrets.
|
|
586
|
+
*
|
|
587
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpec#secrets
|
|
588
|
+
*/
|
|
589
|
+
readonly secrets: FirestartrGithubOrganizationSecretSectionSpecSecrets;
|
|
590
|
+
/**
|
|
591
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpec#context
|
|
592
|
+
*/
|
|
593
|
+
readonly context: FirestartrGithubOrganizationSecretSectionSpecContext;
|
|
594
|
+
/**
|
|
595
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpec#firestartr
|
|
596
|
+
*/
|
|
597
|
+
readonly firestartr: FirestartrGithubOrganizationSecretSectionSpecFirestartr;
|
|
598
|
+
/**
|
|
599
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpec#writeConnectionSecretToRef
|
|
600
|
+
*/
|
|
601
|
+
readonly writeConnectionSecretToRef: FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef;
|
|
602
|
+
}
|
|
603
|
+
/**
|
|
604
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpec' to JSON representation.
|
|
605
|
+
*/
|
|
606
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpec(obj: FirestartrGithubOrganizationSecretSectionSpec | undefined): Record<string, any> | undefined;
|
|
607
|
+
/**
|
|
608
|
+
* A map of secret types, each containing a list of secrets.
|
|
609
|
+
*
|
|
610
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecrets
|
|
611
|
+
*/
|
|
612
|
+
export interface FirestartrGithubOrganizationSecretSectionSpecSecrets {
|
|
613
|
+
/**
|
|
614
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecrets#actions
|
|
615
|
+
*/
|
|
616
|
+
readonly actions?: FirestartrGithubOrganizationSecretSectionSpecSecretsActions[];
|
|
617
|
+
/**
|
|
618
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecrets#codespaces
|
|
619
|
+
*/
|
|
620
|
+
readonly codespaces?: FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces[];
|
|
621
|
+
/**
|
|
622
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecrets#dependabot
|
|
623
|
+
*/
|
|
624
|
+
readonly dependabot?: FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot[];
|
|
625
|
+
}
|
|
626
|
+
/**
|
|
627
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecrets' to JSON representation.
|
|
628
|
+
*/
|
|
629
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecrets(obj: FirestartrGithubOrganizationSecretSectionSpecSecrets | undefined): Record<string, any> | undefined;
|
|
630
|
+
/**
|
|
631
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecContext
|
|
632
|
+
*/
|
|
633
|
+
export interface FirestartrGithubOrganizationSecretSectionSpecContext {
|
|
634
|
+
/**
|
|
635
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecContext#backend
|
|
636
|
+
*/
|
|
637
|
+
readonly backend: FirestartrGithubOrganizationSecretSectionSpecContextBackend;
|
|
638
|
+
/**
|
|
639
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecContext#provider
|
|
640
|
+
*/
|
|
641
|
+
readonly provider: FirestartrGithubOrganizationSecretSectionSpecContextProvider;
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecContext' to JSON representation.
|
|
645
|
+
*/
|
|
646
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecContext(obj: FirestartrGithubOrganizationSecretSectionSpecContext | undefined): Record<string, any> | undefined;
|
|
647
|
+
/**
|
|
648
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecFirestartr
|
|
649
|
+
*/
|
|
650
|
+
export interface FirestartrGithubOrganizationSecretSectionSpecFirestartr {
|
|
651
|
+
/**
|
|
652
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecFirestartr#tfStateKey
|
|
653
|
+
*/
|
|
654
|
+
readonly tfStateKey: string;
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecFirestartr' to JSON representation.
|
|
658
|
+
*/
|
|
659
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecFirestartr(obj: FirestartrGithubOrganizationSecretSectionSpecFirestartr | undefined): Record<string, any> | undefined;
|
|
660
|
+
/**
|
|
661
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef
|
|
662
|
+
*/
|
|
663
|
+
export interface FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef {
|
|
664
|
+
/**
|
|
665
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef#name
|
|
666
|
+
*/
|
|
667
|
+
readonly name: string;
|
|
668
|
+
/**
|
|
669
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef#outputs
|
|
670
|
+
*/
|
|
671
|
+
readonly outputs: FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRefOutputs[];
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef' to JSON representation.
|
|
675
|
+
*/
|
|
676
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef(obj: FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef | undefined): Record<string, any> | undefined;
|
|
677
|
+
/**
|
|
678
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActions
|
|
679
|
+
*/
|
|
680
|
+
export interface FirestartrGithubOrganizationSecretSectionSpecSecretsActions {
|
|
681
|
+
/**
|
|
682
|
+
* The name of the secret.
|
|
683
|
+
*
|
|
684
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActions#name
|
|
685
|
+
*/
|
|
686
|
+
readonly name: string;
|
|
687
|
+
/**
|
|
688
|
+
* A reference to the Kubernetes Secret resource that contains the value.
|
|
689
|
+
*
|
|
690
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActions#ref
|
|
691
|
+
*/
|
|
692
|
+
readonly ref: FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef;
|
|
693
|
+
/**
|
|
694
|
+
* Which repositories can access the secret.
|
|
695
|
+
*
|
|
696
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActions#visibility
|
|
697
|
+
*/
|
|
698
|
+
readonly visibility?: FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility;
|
|
699
|
+
/**
|
|
700
|
+
* List of repository names when visibility is selected.
|
|
701
|
+
*
|
|
702
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActions#selectedRepositories
|
|
703
|
+
*/
|
|
704
|
+
readonly selectedRepositories?: string[];
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsActions' to JSON representation.
|
|
708
|
+
*/
|
|
709
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsActions(obj: FirestartrGithubOrganizationSecretSectionSpecSecretsActions | undefined): Record<string, any> | undefined;
|
|
710
|
+
/**
|
|
711
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces
|
|
712
|
+
*/
|
|
713
|
+
export interface FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces {
|
|
714
|
+
/**
|
|
715
|
+
* The name of the secret.
|
|
716
|
+
*
|
|
717
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces#name
|
|
718
|
+
*/
|
|
719
|
+
readonly name: string;
|
|
720
|
+
/**
|
|
721
|
+
* A reference to the Kubernetes Secret resource that contains the value.
|
|
722
|
+
*
|
|
723
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces#ref
|
|
724
|
+
*/
|
|
725
|
+
readonly ref: FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef;
|
|
726
|
+
/**
|
|
727
|
+
* Which repositories can access the secret.
|
|
728
|
+
*
|
|
729
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces#visibility
|
|
730
|
+
*/
|
|
731
|
+
readonly visibility?: FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility;
|
|
732
|
+
/**
|
|
733
|
+
* List of repository names when visibility is selected.
|
|
734
|
+
*
|
|
735
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces#selectedRepositories
|
|
736
|
+
*/
|
|
737
|
+
readonly selectedRepositories?: string[];
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces' to JSON representation.
|
|
741
|
+
*/
|
|
742
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces(obj: FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces | undefined): Record<string, any> | undefined;
|
|
743
|
+
/**
|
|
744
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot
|
|
745
|
+
*/
|
|
746
|
+
export interface FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot {
|
|
747
|
+
/**
|
|
748
|
+
* The name of the secret.
|
|
749
|
+
*
|
|
750
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot#name
|
|
751
|
+
*/
|
|
752
|
+
readonly name: string;
|
|
753
|
+
/**
|
|
754
|
+
* A reference to the Kubernetes Secret resource that contains the value.
|
|
755
|
+
*
|
|
756
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot#ref
|
|
757
|
+
*/
|
|
758
|
+
readonly ref: FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef;
|
|
759
|
+
/**
|
|
760
|
+
* Which repositories can access the secret.
|
|
761
|
+
*
|
|
762
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot#visibility
|
|
763
|
+
*/
|
|
764
|
+
readonly visibility?: FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility;
|
|
765
|
+
/**
|
|
766
|
+
* List of repository names when visibility is selected.
|
|
767
|
+
*
|
|
768
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot#selectedRepositories
|
|
769
|
+
*/
|
|
770
|
+
readonly selectedRepositories?: string[];
|
|
771
|
+
}
|
|
772
|
+
/**
|
|
773
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot' to JSON representation.
|
|
774
|
+
*/
|
|
775
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot(obj: FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot | undefined): Record<string, any> | undefined;
|
|
776
|
+
/**
|
|
777
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecContextBackend
|
|
778
|
+
*/
|
|
779
|
+
export interface FirestartrGithubOrganizationSecretSectionSpecContextBackend {
|
|
780
|
+
/**
|
|
781
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecContextBackend#ref
|
|
782
|
+
*/
|
|
783
|
+
readonly ref: FirestartrGithubOrganizationSecretSectionSpecContextBackendRef;
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecContextBackend' to JSON representation.
|
|
787
|
+
*/
|
|
788
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecContextBackend(obj: FirestartrGithubOrganizationSecretSectionSpecContextBackend | undefined): Record<string, any> | undefined;
|
|
789
|
+
/**
|
|
790
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecContextProvider
|
|
791
|
+
*/
|
|
792
|
+
export interface FirestartrGithubOrganizationSecretSectionSpecContextProvider {
|
|
793
|
+
/**
|
|
794
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecContextProvider#ref
|
|
795
|
+
*/
|
|
796
|
+
readonly ref: FirestartrGithubOrganizationSecretSectionSpecContextProviderRef;
|
|
797
|
+
}
|
|
798
|
+
/**
|
|
799
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecContextProvider' to JSON representation.
|
|
800
|
+
*/
|
|
801
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecContextProvider(obj: FirestartrGithubOrganizationSecretSectionSpecContextProvider | undefined): Record<string, any> | undefined;
|
|
802
|
+
/**
|
|
803
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRefOutputs
|
|
804
|
+
*/
|
|
805
|
+
export interface FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRefOutputs {
|
|
806
|
+
/**
|
|
807
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRefOutputs#key
|
|
808
|
+
*/
|
|
809
|
+
readonly key: string;
|
|
810
|
+
}
|
|
811
|
+
/**
|
|
812
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRefOutputs' to JSON representation.
|
|
813
|
+
*/
|
|
814
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRefOutputs(obj: FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRefOutputs | undefined): Record<string, any> | undefined;
|
|
815
|
+
/**
|
|
816
|
+
* A reference to the Kubernetes Secret resource that contains the value.
|
|
817
|
+
*
|
|
818
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef
|
|
819
|
+
*/
|
|
820
|
+
export interface FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef {
|
|
821
|
+
/**
|
|
822
|
+
* The type of Kubernetes resource to reference.
|
|
823
|
+
*
|
|
824
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef#kind
|
|
825
|
+
*/
|
|
826
|
+
readonly kind: FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRefKind;
|
|
827
|
+
/**
|
|
828
|
+
* The name of the Kubernetes Secret resource.
|
|
829
|
+
*
|
|
830
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef#name
|
|
831
|
+
*/
|
|
832
|
+
readonly name: string;
|
|
833
|
+
/**
|
|
834
|
+
* The key within the Kubernetes Secret data.
|
|
835
|
+
*
|
|
836
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef#key
|
|
837
|
+
*/
|
|
838
|
+
readonly key: string;
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef' to JSON representation.
|
|
842
|
+
*/
|
|
843
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef(obj: FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef | undefined): Record<string, any> | undefined;
|
|
844
|
+
/**
|
|
845
|
+
* Which repositories can access the secret.
|
|
846
|
+
*
|
|
847
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility
|
|
848
|
+
*/
|
|
849
|
+
export declare enum FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility {
|
|
850
|
+
/** all */
|
|
851
|
+
ALL = "all",
|
|
852
|
+
/** selected */
|
|
853
|
+
SELECTED = "selected",
|
|
854
|
+
/** private */
|
|
855
|
+
PRIVATE = "private"
|
|
856
|
+
}
|
|
857
|
+
/**
|
|
858
|
+
* A reference to the Kubernetes Secret resource that contains the value.
|
|
859
|
+
*
|
|
860
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef
|
|
861
|
+
*/
|
|
862
|
+
export interface FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef {
|
|
863
|
+
/**
|
|
864
|
+
* The type of Kubernetes resource to reference.
|
|
865
|
+
*
|
|
866
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef#kind
|
|
867
|
+
*/
|
|
868
|
+
readonly kind: FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRefKind;
|
|
869
|
+
/**
|
|
870
|
+
* The name of the Kubernetes Secret resource.
|
|
871
|
+
*
|
|
872
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef#name
|
|
873
|
+
*/
|
|
874
|
+
readonly name: string;
|
|
875
|
+
/**
|
|
876
|
+
* The key within the Kubernetes Secret data.
|
|
877
|
+
*
|
|
878
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef#key
|
|
879
|
+
*/
|
|
880
|
+
readonly key: string;
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef' to JSON representation.
|
|
884
|
+
*/
|
|
885
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef(obj: FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef | undefined): Record<string, any> | undefined;
|
|
886
|
+
/**
|
|
887
|
+
* Which repositories can access the secret.
|
|
888
|
+
*
|
|
889
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility
|
|
890
|
+
*/
|
|
891
|
+
export declare enum FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility {
|
|
892
|
+
/** all */
|
|
893
|
+
ALL = "all",
|
|
894
|
+
/** selected */
|
|
895
|
+
SELECTED = "selected",
|
|
896
|
+
/** private */
|
|
897
|
+
PRIVATE = "private"
|
|
898
|
+
}
|
|
899
|
+
/**
|
|
900
|
+
* A reference to the Kubernetes Secret resource that contains the value.
|
|
901
|
+
*
|
|
902
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef
|
|
903
|
+
*/
|
|
904
|
+
export interface FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef {
|
|
905
|
+
/**
|
|
906
|
+
* The type of Kubernetes resource to reference.
|
|
907
|
+
*
|
|
908
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef#kind
|
|
909
|
+
*/
|
|
910
|
+
readonly kind: FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRefKind;
|
|
911
|
+
/**
|
|
912
|
+
* The name of the Kubernetes Secret resource.
|
|
913
|
+
*
|
|
914
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef#name
|
|
915
|
+
*/
|
|
916
|
+
readonly name: string;
|
|
917
|
+
/**
|
|
918
|
+
* The key within the Kubernetes Secret data.
|
|
919
|
+
*
|
|
920
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef#key
|
|
921
|
+
*/
|
|
922
|
+
readonly key: string;
|
|
923
|
+
}
|
|
924
|
+
/**
|
|
925
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef' to JSON representation.
|
|
926
|
+
*/
|
|
927
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef(obj: FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef | undefined): Record<string, any> | undefined;
|
|
928
|
+
/**
|
|
929
|
+
* Which repositories can access the secret.
|
|
930
|
+
*
|
|
931
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility
|
|
932
|
+
*/
|
|
933
|
+
export declare enum FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility {
|
|
934
|
+
/** all */
|
|
935
|
+
ALL = "all",
|
|
936
|
+
/** selected */
|
|
937
|
+
SELECTED = "selected",
|
|
938
|
+
/** private */
|
|
939
|
+
PRIVATE = "private"
|
|
940
|
+
}
|
|
941
|
+
/**
|
|
942
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecContextBackendRef
|
|
943
|
+
*/
|
|
944
|
+
export interface FirestartrGithubOrganizationSecretSectionSpecContextBackendRef {
|
|
945
|
+
/**
|
|
946
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecContextBackendRef#kind
|
|
947
|
+
*/
|
|
948
|
+
readonly kind: FirestartrGithubOrganizationSecretSectionSpecContextBackendRefKind;
|
|
949
|
+
/**
|
|
950
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecContextBackendRef#name
|
|
951
|
+
*/
|
|
952
|
+
readonly name: string;
|
|
953
|
+
}
|
|
954
|
+
/**
|
|
955
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecContextBackendRef' to JSON representation.
|
|
956
|
+
*/
|
|
957
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecContextBackendRef(obj: FirestartrGithubOrganizationSecretSectionSpecContextBackendRef | undefined): Record<string, any> | undefined;
|
|
958
|
+
/**
|
|
959
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecContextProviderRef
|
|
960
|
+
*/
|
|
961
|
+
export interface FirestartrGithubOrganizationSecretSectionSpecContextProviderRef {
|
|
962
|
+
/**
|
|
963
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecContextProviderRef#kind
|
|
964
|
+
*/
|
|
965
|
+
readonly kind: FirestartrGithubOrganizationSecretSectionSpecContextProviderRefKind;
|
|
966
|
+
/**
|
|
967
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecContextProviderRef#name
|
|
968
|
+
*/
|
|
969
|
+
readonly name: string;
|
|
970
|
+
}
|
|
971
|
+
/**
|
|
972
|
+
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecContextProviderRef' to JSON representation.
|
|
973
|
+
*/
|
|
974
|
+
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecContextProviderRef(obj: FirestartrGithubOrganizationSecretSectionSpecContextProviderRef | undefined): Record<string, any> | undefined;
|
|
975
|
+
/**
|
|
976
|
+
* The type of Kubernetes resource to reference.
|
|
977
|
+
*
|
|
978
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRefKind
|
|
979
|
+
*/
|
|
980
|
+
export declare enum FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRefKind {
|
|
981
|
+
/** Secret */
|
|
982
|
+
SECRET = "Secret"
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* The type of Kubernetes resource to reference.
|
|
986
|
+
*
|
|
987
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRefKind
|
|
988
|
+
*/
|
|
989
|
+
export declare enum FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRefKind {
|
|
990
|
+
/** Secret */
|
|
991
|
+
SECRET = "Secret"
|
|
992
|
+
}
|
|
993
|
+
/**
|
|
994
|
+
* The type of Kubernetes resource to reference.
|
|
995
|
+
*
|
|
996
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRefKind
|
|
997
|
+
*/
|
|
998
|
+
export declare enum FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRefKind {
|
|
999
|
+
/** Secret */
|
|
1000
|
+
SECRET = "Secret"
|
|
1001
|
+
}
|
|
1002
|
+
/**
|
|
1003
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecContextBackendRefKind
|
|
1004
|
+
*/
|
|
1005
|
+
export declare enum FirestartrGithubOrganizationSecretSectionSpecContextBackendRefKind {
|
|
1006
|
+
/** FirestartrProviderConfig */
|
|
1007
|
+
FIRESTARTR_PROVIDER_CONFIG = "FirestartrProviderConfig"
|
|
1008
|
+
}
|
|
1009
|
+
/**
|
|
1010
|
+
* @schema FirestartrGithubOrganizationSecretSectionSpecContextProviderRefKind
|
|
1011
|
+
*/
|
|
1012
|
+
export declare enum FirestartrGithubOrganizationSecretSectionSpecContextProviderRefKind {
|
|
1013
|
+
/** FirestartrProviderConfig */
|
|
1014
|
+
FIRESTARTR_PROVIDER_CONFIG = "FirestartrProviderConfig"
|
|
1015
|
+
}
|
|
525
1016
|
/**
|
|
526
1017
|
* A resource to handle GitHub Organization Settings.
|
|
527
1018
|
*
|
|
@@ -4,3 +4,4 @@ export { GithubRepositoryChart } from './repositoryChart';
|
|
|
4
4
|
export { GithubOrgWebhookChart } from './orgWebhookChart';
|
|
5
5
|
export { GithubOrgSettingsChart } from './orgSettingsChart';
|
|
6
6
|
export { GithubOrgVariableSectionChart } from './orgVariableSectionChart';
|
|
7
|
+
export { GithubOrgSecretSectionChart } from './orgSecretSectionChart';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FirestartrGithubOrganizationSecretSection, FirestartrGithubOrganizationSecretSectionProps } from '../../../imports/firestartr.dev';
|
|
2
|
+
import { IUnitializedStateKey } from '../../claims/base';
|
|
3
|
+
import { BaseGithubChart } from './base';
|
|
4
|
+
export declare class GithubOrgSecretSectionChart extends BaseGithubChart {
|
|
5
|
+
template(): FirestartrGithubOrganizationSecretSectionProps | IUnitializedStateKey;
|
|
6
|
+
gvk(): import("cdk8s").GroupVersionKind;
|
|
7
|
+
instanceApiObject(template: any): FirestartrGithubOrganizationSecretSection;
|
|
8
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GithubGroupChart, GithubMembershipChart, GithubRepositoryChart, GithubOrgWebhookChart, GithubOrgSettingsChart, GithubOrgVariableSectionChart } from './github';
|
|
1
|
+
import { GithubGroupChart, GithubMembershipChart, GithubRepositoryChart, GithubOrgWebhookChart, GithubOrgSettingsChart, GithubOrgVariableSectionChart, GithubOrgSecretSectionChart } from './github';
|
|
2
2
|
import { CatalogComponentChart, CatalogDomainChart, CatalogGroupChart, CatalogSystemChart, CatalogUserChart, CatalogTFWorkspaceChart, CatalogArgoDeployChart, CatalogSecretsChart, CatalogOrgWebhookChart, CatalogApiChart } from './catalog';
|
|
3
3
|
import { TFWorkspaceChart } from './workspaces/tfworkspaceChart';
|
|
4
4
|
import { ArgoDeployChart } from './argocd/argodeployChart';
|
|
@@ -23,5 +23,6 @@ declare const _default: {
|
|
|
23
23
|
GithubOrgWebhookChart: typeof GithubOrgWebhookChart;
|
|
24
24
|
GithubOrgSettingsChart: typeof GithubOrgSettingsChart;
|
|
25
25
|
GithubOrgVariableSectionChart: typeof GithubOrgVariableSectionChart;
|
|
26
|
+
GithubOrgSecretSectionChart: typeof GithubOrgSecretSectionChart;
|
|
26
27
|
};
|
|
27
28
|
export default _default;
|
|
@@ -998,6 +998,30 @@ declare const schemas: {
|
|
|
998
998
|
}[];
|
|
999
999
|
};
|
|
1000
1000
|
};
|
|
1001
|
+
org_secrets: {
|
|
1002
|
+
type: string;
|
|
1003
|
+
properties: {
|
|
1004
|
+
actions: {
|
|
1005
|
+
type: string;
|
|
1006
|
+
items: {
|
|
1007
|
+
$ref: string;
|
|
1008
|
+
};
|
|
1009
|
+
};
|
|
1010
|
+
codespaces: {
|
|
1011
|
+
type: string;
|
|
1012
|
+
items: {
|
|
1013
|
+
$ref: string;
|
|
1014
|
+
};
|
|
1015
|
+
};
|
|
1016
|
+
dependabot: {
|
|
1017
|
+
type: string;
|
|
1018
|
+
items: {
|
|
1019
|
+
$ref: string;
|
|
1020
|
+
};
|
|
1021
|
+
};
|
|
1022
|
+
};
|
|
1023
|
+
additionalProperties: boolean;
|
|
1024
|
+
};
|
|
1001
1025
|
};
|
|
1002
1026
|
additionalProperties: boolean;
|
|
1003
1027
|
required: string[];
|
|
@@ -1168,6 +1192,71 @@ declare const schemas: {
|
|
|
1168
1192
|
};
|
|
1169
1193
|
};
|
|
1170
1194
|
};
|
|
1195
|
+
} | {
|
|
1196
|
+
$schema: string;
|
|
1197
|
+
$id: string;
|
|
1198
|
+
definitions: {
|
|
1199
|
+
GithubOrgClaimSecrets: {
|
|
1200
|
+
$id: string;
|
|
1201
|
+
type: string;
|
|
1202
|
+
description: string;
|
|
1203
|
+
properties: {
|
|
1204
|
+
actions: {
|
|
1205
|
+
type: string;
|
|
1206
|
+
items: {
|
|
1207
|
+
$ref: string;
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
codespaces: {
|
|
1211
|
+
type: string;
|
|
1212
|
+
items: {
|
|
1213
|
+
$ref: string;
|
|
1214
|
+
};
|
|
1215
|
+
};
|
|
1216
|
+
dependabot: {
|
|
1217
|
+
type: string;
|
|
1218
|
+
items: {
|
|
1219
|
+
$ref: string;
|
|
1220
|
+
};
|
|
1221
|
+
};
|
|
1222
|
+
};
|
|
1223
|
+
additionalProperties: boolean;
|
|
1224
|
+
};
|
|
1225
|
+
GithubOrgClaimSecretRef: {
|
|
1226
|
+
$id: string;
|
|
1227
|
+
type: string;
|
|
1228
|
+
description: string;
|
|
1229
|
+
pattern: string;
|
|
1230
|
+
};
|
|
1231
|
+
GithubOrgClaimSecret: {
|
|
1232
|
+
$id: string;
|
|
1233
|
+
type: string;
|
|
1234
|
+
description: string;
|
|
1235
|
+
properties: {
|
|
1236
|
+
name: {
|
|
1237
|
+
type: string;
|
|
1238
|
+
description: string;
|
|
1239
|
+
};
|
|
1240
|
+
value: {
|
|
1241
|
+
$ref: string;
|
|
1242
|
+
};
|
|
1243
|
+
visibility: {
|
|
1244
|
+
type: string;
|
|
1245
|
+
enum: string[];
|
|
1246
|
+
description: string;
|
|
1247
|
+
};
|
|
1248
|
+
selected_repositories: {
|
|
1249
|
+
type: string;
|
|
1250
|
+
items: {
|
|
1251
|
+
type: string;
|
|
1252
|
+
};
|
|
1253
|
+
description: string;
|
|
1254
|
+
};
|
|
1255
|
+
};
|
|
1256
|
+
required: string[];
|
|
1257
|
+
additionalProperties: boolean;
|
|
1258
|
+
};
|
|
1259
|
+
};
|
|
1171
1260
|
})[] | {
|
|
1172
1261
|
$id: string;
|
|
1173
1262
|
definitions: {
|
|
@@ -529,6 +529,30 @@ export declare const GithubSchemas: ({
|
|
|
529
529
|
}[];
|
|
530
530
|
};
|
|
531
531
|
};
|
|
532
|
+
org_secrets: {
|
|
533
|
+
type: string;
|
|
534
|
+
properties: {
|
|
535
|
+
actions: {
|
|
536
|
+
type: string;
|
|
537
|
+
items: {
|
|
538
|
+
$ref: string;
|
|
539
|
+
};
|
|
540
|
+
};
|
|
541
|
+
codespaces: {
|
|
542
|
+
type: string;
|
|
543
|
+
items: {
|
|
544
|
+
$ref: string;
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
dependabot: {
|
|
548
|
+
type: string;
|
|
549
|
+
items: {
|
|
550
|
+
$ref: string;
|
|
551
|
+
};
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
additionalProperties: boolean;
|
|
555
|
+
};
|
|
532
556
|
};
|
|
533
557
|
additionalProperties: boolean;
|
|
534
558
|
required: string[];
|
|
@@ -699,4 +723,69 @@ export declare const GithubSchemas: ({
|
|
|
699
723
|
};
|
|
700
724
|
};
|
|
701
725
|
};
|
|
726
|
+
} | {
|
|
727
|
+
$schema: string;
|
|
728
|
+
$id: string;
|
|
729
|
+
definitions: {
|
|
730
|
+
GithubOrgClaimSecrets: {
|
|
731
|
+
$id: string;
|
|
732
|
+
type: string;
|
|
733
|
+
description: string;
|
|
734
|
+
properties: {
|
|
735
|
+
actions: {
|
|
736
|
+
type: string;
|
|
737
|
+
items: {
|
|
738
|
+
$ref: string;
|
|
739
|
+
};
|
|
740
|
+
};
|
|
741
|
+
codespaces: {
|
|
742
|
+
type: string;
|
|
743
|
+
items: {
|
|
744
|
+
$ref: string;
|
|
745
|
+
};
|
|
746
|
+
};
|
|
747
|
+
dependabot: {
|
|
748
|
+
type: string;
|
|
749
|
+
items: {
|
|
750
|
+
$ref: string;
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
additionalProperties: boolean;
|
|
755
|
+
};
|
|
756
|
+
GithubOrgClaimSecretRef: {
|
|
757
|
+
$id: string;
|
|
758
|
+
type: string;
|
|
759
|
+
description: string;
|
|
760
|
+
pattern: string;
|
|
761
|
+
};
|
|
762
|
+
GithubOrgClaimSecret: {
|
|
763
|
+
$id: string;
|
|
764
|
+
type: string;
|
|
765
|
+
description: string;
|
|
766
|
+
properties: {
|
|
767
|
+
name: {
|
|
768
|
+
type: string;
|
|
769
|
+
description: string;
|
|
770
|
+
};
|
|
771
|
+
value: {
|
|
772
|
+
$ref: string;
|
|
773
|
+
};
|
|
774
|
+
visibility: {
|
|
775
|
+
type: string;
|
|
776
|
+
enum: string[];
|
|
777
|
+
description: string;
|
|
778
|
+
};
|
|
779
|
+
selected_repositories: {
|
|
780
|
+
type: string;
|
|
781
|
+
items: {
|
|
782
|
+
type: string;
|
|
783
|
+
};
|
|
784
|
+
description: string;
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
required: string[];
|
|
788
|
+
additionalProperties: boolean;
|
|
789
|
+
};
|
|
790
|
+
};
|
|
702
791
|
})[];
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
$schema: string;
|
|
3
|
+
$id: string;
|
|
4
|
+
definitions: {
|
|
5
|
+
GithubOrgClaimSecrets: {
|
|
6
|
+
$id: string;
|
|
7
|
+
type: string;
|
|
8
|
+
description: string;
|
|
9
|
+
properties: {
|
|
10
|
+
actions: {
|
|
11
|
+
type: string;
|
|
12
|
+
items: {
|
|
13
|
+
$ref: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
codespaces: {
|
|
17
|
+
type: string;
|
|
18
|
+
items: {
|
|
19
|
+
$ref: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
dependabot: {
|
|
23
|
+
type: string;
|
|
24
|
+
items: {
|
|
25
|
+
$ref: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
additionalProperties: boolean;
|
|
30
|
+
};
|
|
31
|
+
GithubOrgClaimSecretRef: {
|
|
32
|
+
$id: string;
|
|
33
|
+
type: string;
|
|
34
|
+
description: string;
|
|
35
|
+
pattern: string;
|
|
36
|
+
};
|
|
37
|
+
GithubOrgClaimSecret: {
|
|
38
|
+
$id: string;
|
|
39
|
+
type: string;
|
|
40
|
+
description: string;
|
|
41
|
+
properties: {
|
|
42
|
+
name: {
|
|
43
|
+
type: string;
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
46
|
+
value: {
|
|
47
|
+
$ref: string;
|
|
48
|
+
};
|
|
49
|
+
visibility: {
|
|
50
|
+
type: string;
|
|
51
|
+
enum: string[];
|
|
52
|
+
description: string;
|
|
53
|
+
};
|
|
54
|
+
selected_repositories: {
|
|
55
|
+
type: string;
|
|
56
|
+
items: {
|
|
57
|
+
type: string;
|
|
58
|
+
};
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
required: string[];
|
|
63
|
+
additionalProperties: boolean;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
export default _default;
|
|
@@ -35,6 +35,26 @@ export interface IGithubOrgSettingsClaim extends IOrgSettingsClaim {
|
|
|
35
35
|
visibility: 'all' | 'private' | 'selected';
|
|
36
36
|
selected_repositories?: string[];
|
|
37
37
|
}[];
|
|
38
|
+
org_secrets?: {
|
|
39
|
+
actions?: {
|
|
40
|
+
name: string;
|
|
41
|
+
value: string;
|
|
42
|
+
visibility?: 'all' | 'private' | 'selected';
|
|
43
|
+
selected_repositories?: string[];
|
|
44
|
+
}[];
|
|
45
|
+
codespaces?: {
|
|
46
|
+
name: string;
|
|
47
|
+
value: string;
|
|
48
|
+
visibility?: 'all' | 'private' | 'selected';
|
|
49
|
+
selected_repositories?: string[];
|
|
50
|
+
}[];
|
|
51
|
+
dependabot?: {
|
|
52
|
+
name: string;
|
|
53
|
+
value: string;
|
|
54
|
+
visibility?: 'all' | 'private' | 'selected';
|
|
55
|
+
selected_repositories?: string[];
|
|
56
|
+
}[];
|
|
57
|
+
};
|
|
38
58
|
};
|
|
39
59
|
};
|
|
40
60
|
}
|
|
@@ -146,6 +146,30 @@ declare const _default: {
|
|
|
146
146
|
}[];
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
+
org_secrets: {
|
|
150
|
+
type: string;
|
|
151
|
+
properties: {
|
|
152
|
+
actions: {
|
|
153
|
+
type: string;
|
|
154
|
+
items: {
|
|
155
|
+
$ref: string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
codespaces: {
|
|
159
|
+
type: string;
|
|
160
|
+
items: {
|
|
161
|
+
$ref: string;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
dependabot: {
|
|
165
|
+
type: string;
|
|
166
|
+
items: {
|
|
167
|
+
$ref: string;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
additionalProperties: boolean;
|
|
172
|
+
};
|
|
149
173
|
};
|
|
150
174
|
additionalProperties: boolean;
|
|
151
175
|
required: string[];
|
|
@@ -8,5 +8,5 @@ export declare function renderClaims(catalogScope: Construct, firestartrScope: C
|
|
|
8
8
|
crs: any;
|
|
9
9
|
renames?: IRenameResult[];
|
|
10
10
|
}): Promise<RenderedCrMap>;
|
|
11
|
-
export declare function renderClaim(catalogScope: Construct, firestartrScope: Construct, claim: any, patches: ICustomResourcePatch[], previousCR?: any | null, claimPath?: string, variableSectionPreviousCR?: any | false, variableSectionPatches?: ICustomResourcePatch[], crs?: any): Promise<IRenderClaimResult>;
|
|
11
|
+
export declare function renderClaim(catalogScope: Construct, firestartrScope: Construct, claim: any, patches: ICustomResourcePatch[], previousCR?: any | null, claimPath?: string, variableSectionPreviousCR?: any | false, variableSectionPatches?: ICustomResourcePatch[], crs?: any, secretSectionPreviousCR?: any | false, secretSectionPatches?: ICustomResourcePatch[]): Promise<IRenderClaimResult>;
|
|
12
12
|
export declare function renameVariantCrFiles(outputDir: string, renderedMap: RenderedCrMap): void;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { RenderClaims, RenderedCrMap } from '../renderer/types';
|
|
2
|
+
export declare function validateGithubOrgSecretSectionSingleton(crs: RenderedCrMap): void;
|
|
3
|
+
export declare function validateSecretNamesUniqueness(crs: RenderedCrMap): void;
|
|
4
|
+
export declare function validateOrgSecretsCrossReferences(renderClaims: RenderClaims): void;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { EntityGHOrgSecretSection } from '.';
|
|
2
|
+
import { type OrgSecretsSection } from 'github';
|
|
3
|
+
export type SecretEntry = {
|
|
4
|
+
name: string;
|
|
5
|
+
ref: {
|
|
6
|
+
kind: string;
|
|
7
|
+
name: string;
|
|
8
|
+
key: string;
|
|
9
|
+
};
|
|
10
|
+
visibility: string;
|
|
11
|
+
selectedRepositories?: string[];
|
|
12
|
+
};
|
|
13
|
+
declare const SECTIONS: OrgSecretsSection[];
|
|
14
|
+
export { SECTIONS };
|
|
15
|
+
export declare function provisionOrgSecrets(entity: EntityGHOrgSecretSection, secrets: Record<string, SecretEntry[]>): Promise<void>;
|
|
16
|
+
export declare function adoptSecretsIfNeeded(entity: EntityGHOrgSecretSection, secrets: Record<string, SecretEntry[]>): Promise<void>;
|
|
@@ -2,7 +2,9 @@ import { createCheckRun } from './src/check_run';
|
|
|
2
2
|
import { upsertMultiPartStickyComments } from './src/sticky_comment';
|
|
3
3
|
import { getOctokitForOrg, getGithubAppToken, getOctokitFromPat } from './src/auth';
|
|
4
4
|
import { encryptRepoSecret, getRepoPublicKey } from './src/encrypt';
|
|
5
|
+
import { getOrgPublicKey, encryptOrgSecret, getOrgSecret } from './src/orgSecrets';
|
|
5
6
|
import type { RepoSecretsSection } from './src/encrypt';
|
|
7
|
+
import type { OrgSecretsSection } from './src/orgSecrets';
|
|
6
8
|
import type { WorkflowCompletionResult, WorkflowDispatchInputs, WorkflowRunConclusion, WorkflowRunStatus, WorkflowRunStatusFilter, WorkflowRunSummary } from './src/workflow';
|
|
7
9
|
import { withProfile } from './src/with_profile';
|
|
8
10
|
import { createProfile } from './src/profile';
|
|
@@ -103,10 +105,14 @@ declare const _default: {
|
|
|
103
105
|
encryption: {
|
|
104
106
|
encryptRepoSecret: typeof encryptRepoSecret;
|
|
105
107
|
getRepoPublicKey: typeof getRepoPublicKey;
|
|
108
|
+
getOrgPublicKey: typeof getOrgPublicKey;
|
|
109
|
+
encryptOrgSecret: typeof encryptOrgSecret;
|
|
110
|
+
getOrgSecret: typeof getOrgSecret;
|
|
106
111
|
};
|
|
107
112
|
withProfile: typeof withProfile;
|
|
108
113
|
createProfile: typeof createProfile;
|
|
109
114
|
};
|
|
110
115
|
export default _default;
|
|
111
|
-
export {
|
|
116
|
+
export { createProfile };
|
|
117
|
+
export type { RepoSecretsSection, OrgSecretsSection };
|
|
112
118
|
export type { WorkflowCompletionResult, WorkflowDispatchInputs, WorkflowRunConclusion, WorkflowRunStatus, WorkflowRunStatusFilter, WorkflowRunSummary, };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type OrgSecretsSection = 'actions' | 'dependabot' | 'codespaces';
|
|
2
|
+
export declare function getOrgPublicKey(org: string, section: OrgSecretsSection, octokit?: any): Promise<any>;
|
|
3
|
+
export declare function encryptOrgSecret(org: string, section: OrgSecretsSection, plaintextValue: string, preFetchedKey?: {
|
|
4
|
+
key_id: string;
|
|
5
|
+
key: string;
|
|
6
|
+
}, octokit?: any): Promise<{
|
|
7
|
+
key_id: any;
|
|
8
|
+
encrypted_value: string;
|
|
9
|
+
}>;
|
|
10
|
+
export declare function getOrgSecret(org: string, section: OrgSecretsSection, name: string, octokit?: any): Promise<any>;
|