File tree 4 files changed +62
-27
lines changed
4 files changed +62
-27
lines changed Original file line number Diff line number Diff line change 87
87
tag : ${{ github.event.inputs.tag }}
88
88
prev_tag : ${{ github.event.inputs.prev_tag }}
89
89
config : releasenotes-config.js
90
- - uses : azure/setup-helm@v1
91
- - run : IMAGE_TAG='${{ github.event.inputs.tag }}' make prepare-for-release
92
- - run : helm package helm-charts/move2kube
93
- - run : mkdir temp/
94
- - run : mv *.tgz temp/
95
- - run : curl -L -o oldindex.yaml https://move2kube.konveyor.io/index.yaml
96
- - run : helm repo index --merge oldindex.yaml --url https://github.com/konveyor/move2kube-operator/releases/download/${{ github.event.inputs.tag }} temp/
97
- - uses : HarikrishnanBalagopal/upload-release-action@v3
98
- with :
99
- repo_token : ${{ secrets.GITHUB_TOKEN }}
100
- tag : ${{ github.event.inputs.tag }}
101
- file : temp/*
102
- file_glob : true
103
- overwrite : true
104
90
- name : slack notification
105
91
uses : rtCamp/action-slack-notify@v2
106
92
env :
Original file line number Diff line number Diff line change @@ -131,12 +131,6 @@ bundle: kustomize
131
131
bundle-build :
132
132
docker build -f bundle.Dockerfile -t $(BUNDLE_IMG ) .
133
133
134
- .PHONY : prepare-for-release
135
- prepare-for-release :
136
- mv helm-charts/move2kube/Chart.yaml old
137
- cat old | sed -E s/version:\ v0.1.0-unreleased/version:\ ${IMAGE_TAG} / | sed -E s/appVersion:\ latest/appVersion:\ ${IMAGE_TAG} / > helm-charts/move2kube/Chart.yaml
138
- rm old
139
-
140
134
.PHONY : helm-install
141
135
helm-install :
142
136
helm upgrade --install --set image_tag=${IMAGE_TAG} ${RELEASE_NAME} helm-charts/move2kube/
Original file line number Diff line number Diff line change @@ -16,9 +16,19 @@ Operator to orchestrate [Move2Kube UI](https://github.com/konveyor/move2kube-ui)
16
16
17
17
## Usage
18
18
19
- ### Helm chart
19
+ > A new Golang based operator is in the works
20
20
21
- See the instructions given in https://github.com/konveyor/move2kube-operator/blob/main/helm-charts/move2kube/README.md
21
+ The instructions below are for installing the current Helm based operator:
22
+
23
+ 1 . Deploy the operator either using the OLM tool or directly:
24
+ https://sdk.operatorframework.io/docs/building-operators/helm/quickstart/#olm-deployment
25
+ https://sdk.operatorframework.io/docs/building-operators/helm/quickstart/#direct-deployment
26
+
27
+ 1 . Then we can apply the CR. Make sure to edit the CR yaml with the proper values before applying.
28
+ ``` console
29
+ $ kubectl apply -f config/samples/demo_v1alpha1_nginx.yaml
30
+ ```
31
+ For more details check https://github.com/konveyor/move2kube-ui/blob/main/helm-charts/move2kube/README.md
22
32
23
33
## Discussion
24
34
Original file line number Diff line number Diff line change @@ -4,8 +4,53 @@ metadata:
4
4
name : move2kube-sample
5
5
spec :
6
6
# Default values copied from <project_dir>/helm-charts/move2kube/values.yaml
7
- storageclass : default
8
- storagesize : 1Gi
9
- version : latest
10
-
11
-
7
+ deployment :
8
+ api :
9
+ replicas : 1
10
+ privilegedPods : false
11
+ imageTag : " "
12
+ memory : " 1Gi"
13
+ cpu : " 300m"
14
+ authServer :
15
+ enable : false
16
+ replicas : 1
17
+ memory : " 1Gi"
18
+ cpu : " 300m"
19
+ database :
20
+ enable : false
21
+ replicas : 1
22
+ startEmpty : true
23
+ memory : " 1Gi"
24
+ cpu : " 300m"
25
+ ingress :
26
+ enable : true
27
+ preferRoute : false
28
+ host : mydomain.com
29
+ tlsSecretName : myTLSSecret
30
+ persistentVolumeClaim :
31
+ enable : false
32
+ createNew : true
33
+ name : " "
34
+ storageClassName : " "
35
+ storageSize : 1Gi
36
+ secret :
37
+ api :
38
+ enable : false
39
+ createNew : true
40
+ name : " "
41
+ configYAML : " "
42
+ authServer :
43
+ createNew : true
44
+ name : " "
45
+ adminUsername : admin
46
+ adminPassword : password
47
+ databaseUsername : auth-server
48
+ databasePassword : password
49
+ realmJSON : " "
50
+ standaloneHAXML : " "
51
+ securityContextContraints :
52
+ enable : false
53
+ serviceAccount :
54
+ enable : false
55
+ createNew : true
56
+ name : " "
You can’t perform that action at this time.
0 commit comments