You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 24, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
# Changelog
2
2
3
+
### 0.3.0
4
+
5
+
An automatically generated list of changes can be found on Github at: [0.3.0 Release](https://github.com/nginxinc/nginx-ingress-operator/releases/tag/v0.3.0)
6
+
3
7
### 0.2.0
4
8
5
9
An automatically generated list of changes can be found on Github at: [0.2.0 Release](https://github.com/nginxinc/nginx-ingress-operator/releases/tag/v0.2.0)
@@ -29,10 +30,14 @@ Note: The NGINX Ingress Operator works only for NGINX Ingress Controller version
29
30
* For an NGINX installation see the [NGINX example](./examples/deployment-oss-min).
30
31
* For an NGINX Plus installation see the [NGINX Plus example](./examples/deployment-plus-min).
31
32
33
+
## Upgrades
34
+
35
+
See [upgrade docs](./docs/upgrades)
36
+
32
37
## NGINX Ingress Operator Releases
33
38
We publish NGINX Ingress Operator releases on GitHub. See our [releases page](https://github.com/nginxinc/nginx-ingress-operator/releases).
34
39
35
-
The latest stable release is [0.2.0](https://github.com/nginxinc/nginx-ingress-operator/releases/tag/v0.2.0). For production use, we recommend that you choose the latest stable release.
40
+
The latest stable release is [0.3.0](https://github.com/nginxinc/nginx-ingress-operator/releases/tag/v0.3.0). For production use, we recommend that you choose the latest stable release.
36
41
37
42
## Development
38
43
@@ -41,28 +46,25 @@ It is possible to run the operator in your local machine. This is useful for tes
The operator will run in your local machine but will be communicating with the cluster. The operator will only watch the `default` namespace when deployed locally.
56
+
The operator will run in your local machine but will be communicating with the cluster.
55
57
56
58
### Update CRD
57
59
58
60
If any change is made in the CRD in the go code, run the following commands to update the changes in the CRD yaml:
59
61
60
-
1. `make generate-crds`
61
-
1. Apply the new CRD definition again in your cluster `kubectl apply -f deploy/crds/k8s.nginx.org_nginxingresscontrollers_crd.yaml`.
62
+
1. `make manifests`
63
+
2. Apply the new CRD definition again in your cluster `make install`.
62
64
63
65
### Run tests
64
66
65
-
Run `make test` to run unit tests locally.
67
+
Run `make test` to run the full test suite including envtest, or `make unit-test` to run just the unit tests locally.
Release 0.3.0 includes a major upgrade of the Operator-SDK which has resulted in a number of changes in the layout of the project
4
+
(see [the operator-sdk docs](https://sdk.operatorframework.io/docs/building-operators/golang/migration/) for more information).
5
+
6
+
## Manual upgrade - 0.2.0 to 0.3.0
7
+
8
+
### 1. Deploy the new operator
9
+
10
+
Deploy the operator following the steps outlined in [manual installation doc](./manual-installation.md).
11
+
12
+
### 2. Cleanup the existing operator
13
+
14
+
Uninstall the existing operator deployment:
15
+
16
+
1. Checkout the previous version of the nginx-ingress-operator [0.3.0](https://github.com/nginxinc/nginx-ingress-operator/releases/tag/v0.3.0).
17
+
1. Uninstall the resources by running the following commands (be sure to edit files to suit your environment, if required):
18
+
```
19
+
kubectl delete -f deploy/operator.yaml
20
+
kubectl delete -f deploy/role_binding.yaml
21
+
kubectl delete -f deploy/role.yaml
22
+
kubectl delete -f deploy/service_account.yaml
23
+
```
24
+
25
+
### 3. Upgrade the existing ingress controller deployments
26
+
27
+
Upgrade to the latest 1.12.0 Ingress Controller image - see the release notes [here](https://docs.nginx.com/nginx-ingress-controller/releases/#nginx-ingress-controller-1-12-0)
0 commit comments