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
Copy file name to clipboardExpand all lines: README.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
# What?
6
6
7
-
This is a docker container intended to run inside a kubernetes cluster to collect config maps with a specified label and store the included files in an local folder. The main target is to be run as a sidecar container to supply an application with information from the cluster. The contained python script is working with the Kubernetes API 1.10
7
+
This is a docker container intended to run inside a kubernetes cluster to collect config maps with a specified label and store the included files in an local folder. It can also send a html request to a specified URL after a configmap change. The main target is to be run as a sidecar container to supply an application with information from the cluster. The contained python script is working with the Kubernetes API 1.10
8
8
9
9
# Why?
10
10
@@ -13,6 +13,7 @@ Currently (April 2018) there is no simple way to hand files in configmaps to a s
13
13
# How?
14
14
15
15
Run the container created by this repo together you application in an single pod with a shared volume. Specify which label should be monitored and where the files should be stored.
16
+
By adding additional env variables the container can send a html request to specified URL.
16
17
17
18
# Features
18
19
@@ -40,3 +41,18 @@ Example for a simple deployment can be found in `example.yaml`. Depending on the
40
41
- description: If specified, the sidecar will search for config-maps inside this namespace
41
42
- required: false
42
43
- type: string
44
+
45
+
-`REQ_URL`
46
+
- description: URL to which send a request after a configmap got reloaded
47
+
- required: false
48
+
- type: URI
49
+
50
+
-`REQ_METHOD`
51
+
- description: Request method GET(default) or POST
52
+
- required: false
53
+
- type: string
54
+
55
+
-`REQ_PAYLOAD`
56
+
- description: If you use POST you can also provide json payload
0 commit comments