fix: use k8s git mirror source snapshots
This commit is contained in:
@@ -294,7 +294,22 @@ export interface ControlPlaneTargetSpec {
|
||||
enabled: boolean;
|
||||
ciNamespace: string;
|
||||
runtimeNamespace: string;
|
||||
source: { repository: string; branch: string };
|
||||
source: {
|
||||
repository: string;
|
||||
branch: string;
|
||||
sourceAuthority: {
|
||||
mode: "gitMirrorSnapshot";
|
||||
resolver: "k8s-git-mirror";
|
||||
allowHostGit: false;
|
||||
allowHostWorkspace: false;
|
||||
allowGithubDirectInPipeline: false;
|
||||
};
|
||||
sourceSnapshot: {
|
||||
stageRefPrefix: string;
|
||||
missingObjectPolicy: "fail-fast";
|
||||
refreshPolicy: "sync-before-snapshot";
|
||||
};
|
||||
};
|
||||
gitops: { branch: string; path: string };
|
||||
gitMirror: {
|
||||
namespace: string;
|
||||
|
||||
Reference in New Issue
Block a user