Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 524860a

Browse files
author
github-actions
committed
Update image version in manifest to v0.2.4
1 parent cf7568e commit 524860a

8 files changed

+47
-67
lines changed

Diff for: manifests/Kptfile

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,8 @@
1-
# Copyright 2021 Google LLC
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
151
apiVersion: kpt.dev/v1
162
kind: Kptfile
173
metadata:
184
name: gatekeeper-securitycenter
195
annotations:
20-
config.kubernetes.io/local-config: 'true'
6+
config.kubernetes.io/local-config: "true"
217
info:
228
description: kpt package for gatekeeper-securitycenter

Diff for: manifests/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This package assumes that you have already created the
1616
### Fetch this package
1717

1818
```sh
19-
VERSION=v0.2.3
19+
VERSION=v0.2.4
2020
kpt pkg get https://github.com/GoogleCloudPlatform/gatekeeper-securitycenter.git/manifests@$VERSION manifests
2121
```
2222

Diff for: manifests/cluster-role-binding.yaml

+3-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
1514
apiVersion: rbac.authorization.k8s.io/v1
1615
kind: ClusterRoleBinding
1716
metadata:
@@ -23,6 +22,6 @@ roleRef:
2322
kind: ClusterRole
2423
apiGroup: rbac.authorization.k8s.io
2524
subjects:
26-
- name: gatekeeper-securitycenter-controller
27-
namespace: gatekeeper-securitycenter
28-
kind: ServiceAccount
25+
- name: gatekeeper-securitycenter-controller
26+
namespace: gatekeeper-securitycenter
27+
kind: ServiceAccount

Diff for: manifests/cluster-role.yaml

+7-8
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,17 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
1514
apiVersion: rbac.authorization.k8s.io/v1
1615
kind: ClusterRole
1716
metadata:
1817
name: gatekeeper-securitycenter-view-all
1918
labels:
2019
gatekeeper-securitycenter/system: 'yes'
2120
rules:
22-
- resources:
23-
- '*'
24-
apiGroups:
25-
- '*'
26-
verbs:
27-
- get
28-
- list
21+
- resources:
22+
- '*'
23+
apiGroups:
24+
- '*'
25+
verbs:
26+
- get
27+
- list

Diff for: manifests/config-map.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
1514
apiVersion: v1
1615
kind: ConfigMap
1716
metadata:

Diff for: manifests/deployment.yaml

+35-36
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
1514
apiVersion: apps/v1
1615
kind: Deployment
1716
metadata:
@@ -39,38 +38,38 @@ spec:
3938
spec:
4039
serviceAccountName: gatekeeper-securitycenter-controller
4140
containers:
42-
- name: manager
43-
image: ko://github.com/googlecloudplatform/gatekeeper-securitycenter # kpt-set: ${image}
44-
args:
45-
- findings
46-
- manager
47-
- --source=$(SOURCE)
48-
- --cluster=$(CLUSTER)
49-
- --interval=120 # kpt-set: --interval=${interval}
50-
- --dry-run=false # kpt-set: --dry-run=${dry-run}
51-
env:
52-
- name: SOURCE
53-
valueFrom:
54-
configMapKeyRef:
55-
name: gatekeeper-securitycenter-config
56-
key: SOURCE_NAME
57-
- name: CLUSTER
58-
valueFrom:
59-
configMapKeyRef:
60-
name: gatekeeper-securitycenter-config
61-
key: CLUSTER_NAME
62-
- name: DEBUG
63-
value: "false" # kpt-set: ${debug-env}
64-
resources:
65-
requests:
66-
cpu: 250m # kpt-set: ${request-cpu}
67-
memory: 512Mi # kpt-set: ${request-memory}
68-
securityContext:
69-
allowPrivilegeEscalation: false
70-
capabilities:
71-
drop:
72-
- all
73-
readOnlyRootFilesystem: true
74-
runAsGroup: 65532
75-
runAsNonRoot: true
76-
runAsUser: 65532
41+
- name: manager
42+
image: ghcr.io/googlecloudplatform/gatekeeper-securitycenter:v0.2.4@sha256:e6498c4337a0e3af05b7b6d84f1664474853e24398b580f1274c9a2efe9332af # kpt-set: ${image}
43+
args:
44+
- findings
45+
- manager
46+
- --source=$(SOURCE)
47+
- --cluster=$(CLUSTER)
48+
- --interval=120 # kpt-set: --interval=${interval}
49+
- --dry-run=false # kpt-set: --dry-run=${dry-run}
50+
env:
51+
- name: SOURCE
52+
valueFrom:
53+
configMapKeyRef:
54+
name: gatekeeper-securitycenter-config
55+
key: SOURCE_NAME
56+
- name: CLUSTER
57+
valueFrom:
58+
configMapKeyRef:
59+
name: gatekeeper-securitycenter-config
60+
key: CLUSTER_NAME
61+
- name: DEBUG
62+
value: "false" # kpt-set: ${debug-env}
63+
resources:
64+
requests:
65+
cpu: 250m # kpt-set: ${request-cpu}
66+
memory: 512Mi # kpt-set: ${request-memory}
67+
securityContext:
68+
allowPrivilegeEscalation: false
69+
capabilities:
70+
drop:
71+
- all
72+
readOnlyRootFilesystem: true
73+
runAsGroup: 65532
74+
runAsNonRoot: true
75+
runAsUser: 65532

Diff for: manifests/namespace.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
1514
apiVersion: v1
1615
kind: Namespace
1716
metadata:

Diff for: manifests/service-account.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
1514
apiVersion: v1
1615
kind: ServiceAccount
1716
metadata:

0 commit comments

Comments
 (0)