Skip to content

Commit 9563bd1

Browse files
chore: move over the helm chart for the ui from the operator repo
chore: retain the helm chart for current operator to continue functioning Signed-off-by: Harikrishnan Balagopal <[email protected]>
1 parent b9bf6e9 commit 9563bd1

File tree

4 files changed

+62
-27
lines changed

4 files changed

+62
-27
lines changed

.github/workflows/release.yml

-14
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,6 @@ jobs:
8787
tag: ${{ github.event.inputs.tag }}
8888
prev_tag: ${{ github.event.inputs.prev_tag }}
8989
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
10490
- name: slack notification
10591
uses: rtCamp/action-slack-notify@v2
10692
env:

Makefile

-6
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,6 @@ bundle: kustomize
131131
bundle-build:
132132
docker build -f bundle.Dockerfile -t $(BUNDLE_IMG) .
133133

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-
140134
.PHONY: helm-install
141135
helm-install:
142136
helm upgrade --install --set image_tag=${IMAGE_TAG} ${RELEASE_NAME} helm-charts/move2kube/

README.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,19 @@ Operator to orchestrate [Move2Kube UI](https://github.com/konveyor/move2kube-ui)
1616

1717
## Usage
1818

19-
### Helm chart
19+
> A new Golang based operator is in the works
2020
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
2232

2333
## Discussion
2434

config/samples/konveyor.io_v1alpha1_move2kube.yaml

+50-5
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,53 @@ metadata:
44
name: move2kube-sample
55
spec:
66
# 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: ""

0 commit comments

Comments
 (0)