-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
180a5c4
commit a01390d
Showing
18 changed files
with
319 additions
and
47 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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Add Helm Repository | ||
|
||
Action handler that allows to add new repository. | ||
|
||
**ID:** `com.fireblink.fbl.plugins.k8s.helm.repo.add` | ||
|
||
**Aliases:** | ||
|
||
- `fbl.plugins.k8s.helm.repo.add` | ||
- `k8s.helm.repo.add` | ||
- `helm.repo.add` | ||
|
||
## Syntax: | ||
|
||
```yaml | ||
pipeline: | ||
helm.repo.add: | ||
# [required] Name of the repository to add | ||
name: repo_name | ||
|
||
# [required] URL address of the repository | ||
url: http://localhost:8888 | ||
|
||
# [optional] Enable verbose output. | ||
# Default value: false | ||
debug: true | ||
|
||
# [optional] Raise error if repo is already registered | ||
# Default value: false | ||
noUpdate: true | ||
|
||
# [optional] Chart repository username | ||
username: root | ||
|
||
# [optional] Chart repository password | ||
password: toor | ||
|
||
# [optional] Verify certificates of HTTPS-enabled servers using this CA bundle | ||
ca: server.ca | ||
|
||
# [optional] Identify HTTPS client using this SSL certificate file | ||
cert: server.cert | ||
``` |
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
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,3 +1,4 @@ | ||
export * from './repo'; | ||
export * from './DeleteActionHandler'; | ||
export * from './TestActionHandler'; | ||
export * from './UpgradeOrInstallActionHandler'; |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { | ||
ActionHandler, | ||
ActionProcessor, | ||
IActionHandlerMetadata, | ||
IContext, | ||
ActionSnapshot, | ||
IDelegatedParameters, | ||
} from 'fbl'; | ||
import { AddRepoActionProcessor } from '../../processors'; | ||
|
||
export class AddRepoActionHandler extends ActionHandler { | ||
private static metadata = <IActionHandlerMetadata>{ | ||
id: 'com.fireblink.fbl.plugins.k8s.helm.repo.add', | ||
aliases: ['fbl.plugins.k8s.helm.repo.add', 'k8s.helm.repo.add', 'helm.repo.add'], | ||
}; | ||
|
||
/* istanbul ignore next */ | ||
/** | ||
* @inheritdoc | ||
*/ | ||
getMetadata(): IActionHandlerMetadata { | ||
return AddRepoActionHandler.metadata; | ||
} | ||
|
||
/** | ||
* @inheritdoc | ||
*/ | ||
getProcessor( | ||
options: any, | ||
context: IContext, | ||
snapshot: ActionSnapshot, | ||
parameters: IDelegatedParameters, | ||
): ActionProcessor { | ||
return new AddRepoActionProcessor(options, context, snapshot, parameters); | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './AddRepoActionHandler'; |
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
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,3 +1,4 @@ | ||
export * from './repo'; | ||
export * from './DeleteActionProcessor'; | ||
export * from './TestActionProcessor'; | ||
export * from './UpgradeOrInstallActionProcessor'; |
Oops, something went wrong.