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 Oct 14, 2020. It is now read-only.
- Move the documentation as comments in fenced code blocks
up as toplevel text for better readability.
- Use code (backtick) markup for stuff used as keyboard input
and filenames.
- Remove leading $ in bash example because this prevents copy
paste of the examle code w/o manual editing.
- Make single paragraph text also a single line w/o unnecessary
linebreaks. Just use an editor with line wrapping.
- Some spell checking.
- Markdown allows only one H1 equivalent top level title
Signed-off-by: Sven Strittmatter <sven.strittmatter@iteratec.com>
Signed-off-by: Sven Strittmatter <sven.strittmatter@iteratec.com>
Copy file name to clipboardExpand all lines: docs/developer-guide/README.md
+22-19Lines changed: 22 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,42 +21,45 @@ To operate your (local) kubernetes cluster you will need to install [kubectl](ht
21
21
For your local development you will need a S3 compatible storage.
22
22
We would recommend to use [Minio](https://min.io/download#/) inside a podman or docker container.
23
23
24
+
##### If You Want to Use Podman
25
+
26
+
```bash
27
+
podman run --name minio -p 9000:9000 minio/minio server /data
28
+
```
29
+
30
+
##### If You Want to Use Docker
31
+
24
32
```bash
25
-
# if you want to use podman
26
-
$ podman run --name minio -p 9000:9000 minio/minio server /data
27
-
# if you want to use docker
28
-
$ docker run --name minio -p 9000:9000 minio/minio server /data
33
+
docker run --name minio -p 9000:9000 minio/minio server /data
29
34
```
30
35
31
-
In the Minio management GUI you will need to add a new bucket for the operator.
32
-
The default credentials for your minio instance are *minioadmin:minioadmin*.
33
-
You might change those.
36
+
In the Minio management GUI you will need to add a new bucket for the operator. The default credentials for your minio instance are `minioadmin:minioadmin`. You might change those.
34
37
35
38
After setting up your bucket you will need to specify some environment variables to enable the operator to use the bucket.
36
-
You could add these to your *.bashrc* or *.zshrc* as well.
39
+
You could add these to your `.bashrc` or `.zshrc` as well.
37
40
38
41
```bash
39
-
$ export S3_ACCESS_KEY="your-minio-access-key"
40
-
$ export S3_SECRET_KEY="your-minio-secret-key"
41
-
$ export S3_BUCKET="name-of-your-bucket"
42
-
$ export S3_USE_SSL="false"# This ensures that the operator will connect even without HTTPS
To build an run the operator you can simply execute *make* in the *operator* directory of this repository.
49
52
50
53
```bash
51
-
$ make
54
+
make
52
55
```
53
56
54
57
To run the operator locally you can simply execute *make run*
55
58
56
59
*NOTICE:* You will need to uninstall the operator from your local cluster first or it will result in undefined behavior!
57
60
58
61
```bash
59
-
$ make run
62
+
make run
60
63
```
61
64
62
65
## How to a new security scanner
@@ -71,13 +74,13 @@ $ make run
71
74
72
75
### Hook SDK
73
76
74
-
# Guidelines
77
+
##Guidelines
75
78
76
-
## Coding Guidelines
79
+
###Coding Guidelines
77
80
78
-
### JSON
81
+
####JSON
79
82
80
-
We're using snake_case (lower case) for json attributes. If an enum type is used as attribute its converted to lower case. If it's an value it's always used UPPERCASE. This is to hold the attribute api consistent, but make shure Enums are recognized as enums.
83
+
We're using snake_case (lower case) for json attributes. If an enum type is used as attribute its converted to lower case. If it's an value it's always used UPPERCASE. This is to hold the attribute api consistent, but make sure Enums are recognized as enums.
0 commit comments