-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jira EPMDEDP-12592 Related #16 Change-Id: Ic7247da439f692f6f6e4d207a9862c0ef1d55c4a
- Loading branch information
Oleksandr Taruraiev
committed
Sep 25, 2023
1 parent
8cb49a5
commit 4a05f09
Showing
6 changed files
with
93 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: v2 | ||
name: capsule | ||
description: A Helm chart for capsule | ||
|
||
# Application charts are a collection of templates that can be packaged into versioned archives | ||
# to be deployed. | ||
type: application | ||
|
||
# The chart version. This version number should be incremented each time you make changes | ||
# to the chart and its templates, including the app version. | ||
version: 0.4.6 | ||
|
||
# Version number of the application being deployed. This version number should be | ||
# incremented each time you make changes to the application. | ||
appVersion: "0.3.3" | ||
|
||
dependencies: | ||
- name: capsule | ||
version: 0.4.6 | ||
repository: https://clastix.github.io/charts |
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,19 @@ | ||
# capsule | ||
|
||
![Version: 0.4.6](https://img.shields.io/badge/Version-0.4.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.3.3](https://img.shields.io/badge/AppVersion-0.3.3-informational?style=flat-square) | ||
|
||
A Helm chart for capsule | ||
|
||
## Requirements | ||
|
||
| Repository | Name | Version | | ||
|------------|------|---------| | ||
| https://clastix.github.io/charts | capsule | 0.4.6 | | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| capsule.manager.resources.limits.memory | string | `"256Mi"` | | | ||
| capsule.tolerations[0].operator | string | `"Exists"` | | | ||
|
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,13 @@ | ||
capsule : | ||
manager: | ||
resources: | ||
# Max memory limit needed for the pod initialization process | ||
limits: | ||
memory: 256Mi | ||
|
||
# This parameter is responsible for ensuring that the pod can cope with | ||
# any existing taint on a node, without taking into account the taint's | ||
# specific properties, such as its key, value or impact. As a consequence, | ||
# it allows the pod to be allocated to any node, regardless of any associated taints. | ||
tolerations: | ||
- operator: Exists |
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,33 @@ | ||
{{- if and (.Values.capsule) (.Values.capsule.enable) -}} | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: capsule | ||
namespace: {{ .Values.argoNamespace | default "argocd" }} | ||
finalizers: | ||
- resources-finalizer.argocd.argoproj.io | ||
spec: | ||
project: {{ .Values.argoProject | default "default" }} | ||
source: | ||
repoURL: {{ .Values.repoUrl }} | ||
path: add-ons/capsule | ||
targetRevision: {{ .Values.targetRevision }} | ||
helm: | ||
values: | | ||
capsule: | ||
{{- toYaml .Values.capsule | nindent 10 }} | ||
destination: | ||
server: {{ .Values.destinationServer | default "https://kubernetes.default.svc" }} | ||
namespace: capsule-system | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
syncOptions: | ||
- CreateNamespace={{ .Values.capsule.createNamespace }} | ||
retry: | ||
limit: 1 | ||
backoff: | ||
duration: 5s | ||
factor: 2 | ||
maxDuration: 1m | ||
{{- end -}} |
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