Skip to content

Commit ab232e9

Browse files
committed
Merge branch 'chart' into main
2 parents 7e28c9a + f741d39 commit ab232e9

File tree

3 files changed

+33
-16
lines changed

3 files changed

+33
-16
lines changed

README.md

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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

chart/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: enonic-operator
3-
description: A Helm chart for Kubernetes
3+
description: A Kubernetes Operator to handle with Enonic XP7 applications
44

55
# A chart can be either an 'application' or a 'library' chart.
66
#
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.0
18+
version: 1.0.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "beta2"
24+
appVersion: "1.0.0"

chart/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
image:
22
pullPolicy: Always
3-
tag: "dev"
3+
# tag: "dev"
44

5-
logging: DEBUG # DEBUG or QUIET
5+
# logging: DEBUG # DEBUG or QUIET
66

77
imagePullSecrets: []
88

0 commit comments

Comments
 (0)