Skip to content

Commit

Permalink
feat(argocd): Add new options and fix old (#6)
Browse files Browse the repository at this point in the history
* Updated ArgoCDApplication to be close to current ArgoCD documentation
added number options and moved one property to

* Bring yarn.lock back

* Running yarn install and yarn build

---------

Co-authored-by: Lev <lev@ozeryansky.com>
  • Loading branch information
ozlevka and ozlevka-work committed Mar 30, 2024
1 parent 9db036e commit 6ab4e3d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion API.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/index.ts
Expand Up @@ -5,11 +5,13 @@ export * as k8s from './imports/k8s';

export interface ApplicationSource {
readonly repoURL?: string;
readonly chart?: string;
readonly targetRevision?: string;
readonly path?: string;
readonly directory?: ApplicationDirectory;
readonly plugin?: ApplicationPlugin;
readonly helm?: HelmOptions;
readonly ref?: string;

}

Expand Down Expand Up @@ -54,6 +56,7 @@ export interface ApplicationSyncPolicy {
export interface ArgoCdApplicationSpec {
readonly project?: string;
readonly source?: ApplicationSource;
readonly sources?: ApplicationSource[];
readonly destination?: ApplicationDestination;
readonly syncPolicy?: ApplicationSyncPolicy;
readonly ignoreDifferences?: ResourceIgnoreDifferences[];
Expand All @@ -63,7 +66,6 @@ export interface HelmOptions {
readonly valueFiles?: string[];
readonly values?: { [key: string]: string };
readonly releaseName?: string;
readonly chart?: string;
readonly version?: string;
readonly repo?: string;
readonly targetRevision?: string;
Expand Down

0 comments on commit 6ab4e3d

Please sign in to comment.