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
kube-gateway-operator installs and operate [kube-gateway](https://github.com/kubevirt-ui/kube-gateway)
9
-
## Build
10
9
11
-
```bash
10
+
## Build and push images
12
11
13
-
IMG=quay.io/kubevirt-ui/kube-gateway-operator make podman-build
12
+
```bash
13
+
export USERNAME=yaacov
14
+
IMG=quay.io/$USERNAME/kube-gateway-operator:v0.0.1 make podman-build
15
+
IMG=quay.io/$USERNAME/kube-gateway-operator:v0.0.1 make podman-push
14
16
```
15
17
16
-
## Usage
17
-
18
-
Requesting a token for [kube-gateway](https://github.com/kubevirt-ui/kube-gateway) service is done using GateToken CRD,
19
-
20
-
Available fields are:
21
-
22
-
- user-id: string (required), user-id is the user id of the user requesting this token.
23
-
- match-path: string (required), match-path is a regular expresion used to validate API request path, API requests matching this pattern will be validated by the token. This field may not be empty.
24
-
- match-method: string, a comma separeted list of allowed http methods, defoult is "GET,OPTIONS"
25
-
- duration-sec: int, duration-sec is the duration in sec the token will be validated since it's invocation. Defalut value is 3600s (1h).
26
-
- from: string, from is time of token invocation, the token will not validate before this time, the token duration will start from this time. Defalut to token object creation time.
27
-
28
-
Creating a token requires a secret holding a RSA private-key for sighing the token in the namespace of the token (secret name: kube-gateway-jwt-secret), nce token is ready it will be available in the GateToken status.
0 commit comments