Skip to content

Commit 3995183

Browse files
committed
workout
1 parent 25ebdf3 commit 3995183

File tree

3 files changed

+47
-2
lines changed

3 files changed

+47
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ env:
1616
GH_REGISTRY: ghcr.io
1717
IMAGE_NAME: ${{ github.repository }}
1818
RELEASE_VERSION: ${{ github.ref_name }}
19-
SCANNER_IMG_VERSION: v1.0.10
20-
SNIFFER_IMG_VERSION: v1.1.8
19+
SCANNER_IMG_VERSION: v1.0.11
20+
SNIFFER_IMG_VERSION: v1.1.9
2121

2222
jobs:
2323
goreleaser:

rbac/cluster-role.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
name: netassert
5+
rules:
6+
- apiGroups:
7+
- ""
8+
- "apps"
9+
resources:
10+
- deployments
11+
- statefulsets
12+
- daemonsets
13+
- pods
14+
verbs:
15+
- get
16+
##
17+
- apiGroups:
18+
- ""
19+
- "apps"
20+
resources:
21+
- replicasets
22+
- pods
23+
verbs:
24+
- list
25+
##
26+
- apiGroups:
27+
- ""
28+
resources:
29+
- pods
30+
- pods/ephemeralcontainers
31+
verbs:
32+
- watch
33+
- patch

rbac/cluster-rolebinding.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRoleBinding
3+
metadata:
4+
name: netassert
5+
roleRef:
6+
apiGroup: rbac.authorization.k8s.io
7+
kind: ClusterRole
8+
name: netassert
9+
subjects:
10+
- apiGroup: rbac.authorization.k8s.io
11+
kind: User
12+
name: netassert-user

0 commit comments

Comments
 (0)