Skip to content

Commit d4a26ab

Browse files
authored
Update docs and bump to version 1.0.0 (#12)
1 parent 5effd3e commit d4a26ab

File tree

6 files changed

+8
-99
lines changed

6 files changed

+8
-99
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# To re-generate a bundle for another specific version without changing the standard setup, you can:
44
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
55
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
6-
VERSION ?= 0.0.4
6+
VERSION ?= 1.0.0
77

88
# CHANNELS define the bundle channels used in the bundle.
99
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")

README.md

-94
Original file line numberDiff line numberDiff line change
@@ -25,97 +25,3 @@ Check our [Documentation](/docs) to start using our Kubernetes operator.
2525
## License
2626

2727
Please check the [LICENSE](LICENSE) file
28-
29-
30-
# new stuff from go
31-
32-
# kubernetes-operator
33-
// TODO(user): Add simple overview of use/purpose
34-
35-
## Description
36-
// TODO(user): An in-depth paragraph about your project and overview of use
37-
38-
## Getting Started
39-
40-
### Prerequisites
41-
- go version v1.20.0+
42-
- docker version 17.03+.
43-
- kubectl version v1.11.3+.
44-
- Access to a Kubernetes v1.11.3+ cluster.
45-
46-
### To Deploy on the cluster
47-
**Build and push your image to the location specified by `IMG`:**
48-
49-
```sh
50-
make docker-build docker-push IMG=<some-registry>/kubernetes-operator:tag
51-
```
52-
53-
**NOTE:** This image ought to be published in the personal registry you specified.
54-
And it is required to have access to pull the image from the working environment.
55-
Make sure you have the proper permission to the registry if the above commands don’t work.
56-
57-
**Install the CRDs into the cluster:**
58-
59-
```sh
60-
make install
61-
```
62-
63-
**Deploy the Manager to the cluster with the image specified by `IMG`:**
64-
65-
```sh
66-
make deploy IMG=<some-registry>/kubernetes-operator:tag
67-
```
68-
69-
> **NOTE**: If you encounter RBAC errors, you may need to grant yourself cluster-admin
70-
privileges or be logged in as admin.
71-
72-
**Create instances of your solution**
73-
You can apply the samples (examples) from the config/sample:
74-
75-
```sh
76-
kubectl apply -k config/samples/
77-
```
78-
79-
>**NOTE**: Ensure that the samples has default values to test it out.
80-
81-
### To Uninstall
82-
**Delete the instances (CRs) from the cluster:**
83-
84-
```sh
85-
kubectl delete -k config/samples/
86-
```
87-
88-
**Delete the APIs(CRDs) from the cluster:**
89-
90-
```sh
91-
make uninstall
92-
```
93-
94-
**UnDeploy the controller from the cluster:**
95-
96-
```sh
97-
make undeploy
98-
```
99-
100-
## Contributing
101-
// TODO(user): Add detailed information on how you would like others to contribute to this project
102-
103-
**NOTE:** Run `make help` for more information on all potential `make` targets
104-
105-
More information can be found via the [Kubebuilder Documentation](https://book.kubebuilder.io/introduction.html)
106-
107-
## License
108-
109-
Copyright 2024 Memgraph Ltd.
110-
111-
Licensed under the Apache License, Version 2.0 (the "License");
112-
you may not use this file except in compliance with the License.
113-
You may obtain a copy of the License at
114-
115-
http://www.apache.org/licenses/LICENSE-2.0
116-
117-
Unless required by applicable law or agreed to in writing, software
118-
distributed under the License is distributed on an "AS IS" BASIS,
119-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
120-
See the License for the specific language governing permissions and
121-
limitations under the License.

api/v1/memgraphha_types.go

+3
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,8 @@ type MemgraphHAList struct {
128128
}
129129

130130
func init() {
131+
// A Scheme is an abstraction used to register the API objects
132+
// as Group-Version-Kinds, convert between API Objects of various
133+
// versions and serialize/deserialize API Objects
131134
SchemeBuilder.Register(&MemgraphHA{}, &MemgraphHAList{})
132135
}

config/manager/kustomization.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ kind: Kustomization
66
images:
77
- name: controller
88
newName: memgraph/kubernetes-operator
9-
newTag: 0.0.4
9+
newTag: 1.0.0
1010
- name: memgraph-kubernetes-operator
1111
newName: memgraph/kubernetes-operator
12-
newTag: 0.0.4
12+
newTag: 1.0.0

config/manager/manager.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
runAsNonRoot: true
2626
containers:
2727
- args:
28-
image: memgraph/kubernetes-operator:0.0.4
28+
image: memgraph/kubernetes-operator:1.0.0
2929
name: manager
3030
securityContext:
3131
readOnlyRootFilesystem: true

0 commit comments

Comments
 (0)