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

Commit 00f30d8

Browse files
author
github-actions
committed
Update image version in manifest to v0.4.0
1 parent 4a1882f commit 00f30d8

File tree

3 files changed

+20
-34
lines changed

3 files changed

+20
-34
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ domain you own. Cloud Identity offers a
7070
Download the binary for your platform:
7171

7272
```sh
73-
VERSION=v0.3.0
73+
VERSION=v0.4.0
7474
curl -Lo gatekeeper-securitycenter "https://github.com/GoogleCloudPlatform/gatekeeper-securitycenter/releases/download/${VERSION}/gatekeeper-securitycenter_$(uname -s)_$(uname -m)"
7575
chmod +x gatekeeper-securitycenter
7676
```

Diff for: manifests/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ These instructions assume that you have already created the
1414
### Fetch the manifests
1515

1616
```sh
17-
VERSION=v0.3.0
17+
VERSION=v0.4.0
1818
kpt pkg get https://github.com/GoogleCloudPlatform/gatekeeper-securitycenter.git/manifests@$VERSION manifests
1919
```
2020

Diff for: manifests/deployment.yaml

+18-32
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,55 @@
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: apps/v1
162
kind: Deployment
173
metadata:
18-
name: gatekeeper-securitycenter-controller-manager
19-
namespace: gatekeeper-securitycenter # kpt-set: ${namespace}
204
labels:
215
control-plane: controller-manager
226
gatekeeper-securitycenter/operation: manager
23-
gatekeeper-securitycenter/system: 'yes'
7+
gatekeeper-securitycenter/system: "yes"
8+
name: gatekeeper-securitycenter-controller-manager
9+
namespace: gatekeeper-securitycenter
2410
spec:
2511
replicas: 1
2612
selector:
2713
matchLabels:
2814
control-plane: controller-manager
2915
gatekeeper-securitycenter/operation: controller
30-
gatekeeper-securitycenter/system: 'yes'
16+
gatekeeper-securitycenter/system: "yes"
3117
template:
3218
metadata:
19+
annotations:
20+
container.seccomp.security.alpha.kubernetes.io/manager: runtime/default
3321
labels:
3422
control-plane: controller-manager
3523
gatekeeper-securitycenter/operation: controller
36-
gatekeeper-securitycenter/system: 'yes'
37-
annotations:
38-
container.seccomp.security.alpha.kubernetes.io/manager: runtime/default
24+
gatekeeper-securitycenter/system: "yes"
3925
spec:
40-
serviceAccountName: gatekeeper-securitycenter-controller
4126
containers:
42-
- name: manager
43-
image: gatekeeper-securitycenter # kpt-set: ${image}
44-
args:
27+
- args:
4528
- findings
4629
- manager
4730
- --source=$(SOURCE)
4831
- --cluster=$(CLUSTER)
49-
- --interval=120 # kpt-set: --interval=${interval}
50-
- --dry-run=false # kpt-set: --dry-run=${dry-run}
32+
- --interval=120
33+
- --dry-run=false
5134
env:
5235
- name: SOURCE
5336
valueFrom:
5437
configMapKeyRef:
55-
name: gatekeeper-securitycenter-config
5638
key: SOURCE_NAME
39+
name: gatekeeper-securitycenter-config
5740
- name: CLUSTER
5841
valueFrom:
5942
configMapKeyRef:
60-
name: gatekeeper-securitycenter-config
6143
key: CLUSTER_NAME
44+
name: gatekeeper-securitycenter-config
6245
- name: DEBUG
63-
value: "false" # kpt-set: ${debug-env}
46+
value: "false"
47+
image: ghcr.io/googlecloudplatform/gatekeeper-securitycenter:v0.4.0@sha256:b284f09ba08b2a6fc6195600c69dd0c37eb714c001b98de1b12a431d14852369
48+
name: manager
6449
resources:
6550
requests:
66-
cpu: 250m # kpt-set: ${request-cpu}
67-
memory: 512Mi # kpt-set: ${request-memory}
51+
cpu: 250m
52+
memory: 512Mi
6853
securityContext:
6954
allowPrivilegeEscalation: false
7055
capabilities:
@@ -74,3 +59,4 @@ spec:
7459
runAsGroup: 65532
7560
runAsNonRoot: true
7661
runAsUser: 65532
62+
serviceAccountName: gatekeeper-securitycenter-controller

0 commit comments

Comments
 (0)