-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(helm-manager): allow either tag or version for images in helm ch…
…arts (#16058) * update Allow either tag or version for images in helm charts * undo * lint * undo * exports * rewrite * add spaces for lint * chore: prettier fix Co-authored-by: Rhys Arkins <rhys@arkins.net> Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
- Loading branch information
1 parent
ee52021
commit 29a272c
Showing
4 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
export type HelmDockerImageDependency = { | ||
export interface HelmDockerImageDependencyBasic { | ||
registry?: string; | ||
repository: string; | ||
} | ||
|
||
export interface HelmDockerImageDependencyTag | ||
extends HelmDockerImageDependencyBasic { | ||
tag: string; | ||
}; | ||
version?: never; | ||
} | ||
|
||
export interface HelmDockerImageDependencyVersion | ||
extends HelmDockerImageDependencyBasic { | ||
version: string; | ||
tag?: never; | ||
} | ||
|
||
export type HelmDockerImageDependency = | ||
| HelmDockerImageDependencyTag | ||
| HelmDockerImageDependencyVersion; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters