Skip to content

Commit d633225

Browse files
committed
added acm sdtuff
1 parent 94dcdbd commit d633225

6 files changed

Lines changed: 94 additions & 0 deletions

File tree

charts/mtv-operator/Chart.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: v2
2+
name: mtv-operator
3+
description: Helm chart for deploying Migration Toolkit for Virtualization (MTV) on OpenShift
4+
type: application
5+
version: 0.1.0
6+
appVersion: "2.7"
7+
dependencies:
8+
- name: helper-status-checker
9+
version: 4.4.3
10+
repository: https://rosa-hcp-dedicated-vpc.github.io/helm-repository/
11+
condition: helper-status-checker.enabled
12+
home: https://rh-mobb.github.io/validated-pattern-helm-charts/
13+
maintainers:
14+
- name: rh-mobb
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{{- if .Values.forkliftController.enabled }}
2+
apiVersion: forklift.konveyor.io/v1beta1
3+
kind: ForkliftController
4+
metadata:
5+
name: {{ .Values.forkliftController.name }}
6+
namespace: {{ .Values.namespace }}
7+
annotations:
8+
argocd.argoproj.io/sync-wave: {{ .Values.forkliftController.syncWave | default "5" | quote }}
9+
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true,Validate=false
10+
spec: {}
11+
{{- end }}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: {{ .Values.namespace }}
5+
annotations:
6+
argocd.argoproj.io/sync-wave: "-1"
7+
labels:
8+
openshift.io/cluster-monitoring: "true"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{{- if .Values.operatorGroup.create }}
2+
apiVersion: operators.coreos.com/v1
3+
kind: OperatorGroup
4+
metadata:
5+
name: {{ .Values.operatorGroup.name | default .Values.subscription.name }}
6+
namespace: {{ .Values.namespace }}
7+
annotations:
8+
argocd.argoproj.io/sync-wave: "0"
9+
spec:
10+
targetNamespaces:
11+
- {{ .Values.namespace }}
12+
upgradeStrategy: Default
13+
{{- end }}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
apiVersion: operators.coreos.com/v1alpha1
2+
kind: Subscription
3+
metadata:
4+
name: {{ .Values.subscription.name }}
5+
namespace: {{ .Values.namespace }}
6+
annotations:
7+
argocd.argoproj.io/sync-wave: "0"
8+
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
9+
spec:
10+
channel: {{ .Values.subscription.channel }}
11+
installPlanApproval: {{ .Values.subscription.installPlanApproval }}
12+
name: {{ .Values.subscription.name }}
13+
source: {{ .Values.subscription.source }}
14+
sourceNamespace: {{ .Values.subscription.sourceNamespace }}
15+
{{- if .Values.subscription.startingCSV }}
16+
startingCSV: {{ .Values.subscription.startingCSV }}
17+
{{- end }}

charts/mtv-operator/values.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
namespace: openshift-mtv
2+
3+
subscription:
4+
name: mtv-operator
5+
channel: release-v2.7
6+
installPlanApproval: Manual
7+
source: redhat-operators
8+
sourceNamespace: openshift-marketplace
9+
startingCSV: ""
10+
11+
operatorGroup:
12+
create: true
13+
name: mtv-operator-group
14+
15+
forkliftController:
16+
enabled: true
17+
name: mtv
18+
syncWave: 5
19+
20+
helper-status-checker:
21+
enabled: true
22+
approver: true
23+
checks:
24+
- operatorName: mtv-operator
25+
subscriptionName: mtv-operator
26+
namespace:
27+
name: openshift-mtv
28+
sleeptimer: 10
29+
maxretries: 60
30+
serviceAccount:
31+
name: "mtv-status-checker"

0 commit comments

Comments
 (0)