@@ -5,7 +5,9 @@ Enonic operator (unofficial) is a Kubernetes operator that allows Enonic XP apps
55- [ Enonic XP Operator for k8s] ( #enonic-xp-operator-for-k8s )
66- [ How does it work] ( #how-does-it-work )
77- [ Getting started] ( #getting-started )
8- - [ Installing the operator] ( #installing-the-operator )
8+ - [ How to install] ( #how-to-install )
9+ - [ Helm chart (recommended)] ( #helm-chart-recommended )
10+ - [ kubectl] ( #kubectl )
911 - [ Making it run with Enonic XP applications] ( #making-it-run-with-enonic-xp-applications )
1012 - [ Initial Considerations] ( #initial-considerations )
1113 - [ Steps] ( #steps )
@@ -22,22 +24,37 @@ This operator injects a sidecar container that performs snapshots on tier down a
2224
2325# Getting started
2426
25- ## Installing the operator
27+ ## How to install
2628
27- - First install kopf operator peering (to prevent duplicated operators from doing the same thing at the same time)
29+ First of all, install the KOPF operator peering resources (to prevent duplicated operators from doing the same thing at the same time)
2830
29- You maybe will need to run this command twice to make sure that all resources are created .
31+ You maybe will need to run this command twice to make sure that all resources are existent .
3032
31- ``` bash
32- kubectl apply -f https://raw.githubusercontent.com/DaviPtrs/enonic-operator-k8s/main/init/peering.yaml
33- ```
33+ ``` bash
34+ kubectl apply -f https://raw.githubusercontent.com/DaviPtrs/enonic-operator-k8s/main/init/peering.yaml
35+ ```
36+
37+ ### Helm chart (recommended)
3438
39+ If you want to customize your operator deploy specs, see the example [ values.yaml] ( chart/values.yaml )
3540
36- - Install the operator by the following command
41+ - Add my chart repo
42+ ``` bash
43+ helm repo add daviptrs-charts https://daviptrs.github.io/helm-charts/
44+ ```
45+ - Install a new release
46+ ``` bash
47+ helm install enonic-operator --wait daviptrs-charts/enonic-operator
48+ ```
49+
50+
51+ ### kubectl
52+
53+ - Install the operator by the following command
3754
38- ` ` ` bash
39- kubectl apply -f https://raw.githubusercontent.com/DaviPtrs/enonic-operator-k8s/main/manifests/manifest.yaml
40- ` ` `
55+ ``` bash
56+ kubectl apply -f https://raw.githubusercontent.com/DaviPtrs/enonic-operator-k8s/main/manifests/manifest.yaml
57+ ```
4158
4259
4360## Making it run with Enonic XP applications
0 commit comments