Skip to content

Commit 75be42a

Browse files
author
github-actions
committed
Update version in readme and manifest to v0.1.16
1 parent 8b04633 commit 75be42a

File tree

4 files changed

+46
-60
lines changed

4 files changed

+46
-60
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ the container image. You can use digester to deploy container images by digest.
5757
Alternatively, you can download the latest version using these commands:
5858
5959
```sh
60-
VERSION=v0.1.15
60+
VERSION=v0.1.16
6161
curl -Lo digester "https://github.com/google/k8s-digester/releases/download/${VERSION}/digester_$(uname -s)_$(uname -m)"
6262
chmod +x digester
6363
```
@@ -106,7 +106,7 @@ The digester webhook requires Kubernetes v1.16 or later.
106106
2. Install the digester webhook in your Kubernetes cluster:
107107

108108
```sh
109-
VERSION=v0.1.15
109+
VERSION=v0.1.16
110110
kubectl apply -k "https://github.com/google/k8s-digester.git/manifests/?ref=${VERSION}"
111111
```
112112

docs/authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ and you do not need a credential helper, you can run digester in a container.
109109
Mount your Docker config file in the container using the `--mount` flag:
110110

111111
```sh
112-
VERSION=v0.1.15
112+
VERSION=v0.1.16
113113
kpt fn eval [manifest directory] \
114114
--as-current-user \
115115
--env DOCKER_CONFIG=/.docker \
@@ -135,7 +135,7 @@ OFFLINE=false kpt fn eval [manifest directory] --exec ./digester
135135
If you want to run the KRM function in a container, mount your kubeconfig file:
136136

137137
```sh
138-
VERSION=v0.1.15
138+
VERSION=v0.1.16
139139
kpt fn eval [manifest directory] \
140140
--as-current-user \
141141
--env KUBECONFIG=/.kube/config \

manifests/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ If you use a private GKE cluster, see additional steps for
3434
2. Apply this package:
3535

3636
```sh
37-
VERSION=v0.1.15
37+
VERSION=v0.1.16
3838
kustomize build "https://github.com/google/k8s-digester.git/manifests?ref=$VERSION" | kubectl apply -f -
3939
```
4040

@@ -52,7 +52,7 @@ If you use a private GKE cluster, see additional steps for
5252
3. Fetch this package:
5353

5454
```sh
55-
VERSION=v0.1.15
55+
VERSION=v0.1.16
5656
kpt pkg get "https://github.com/google/k8s-digester.git/manifests@${VERSION}" manifests
5757
```
5858

manifests/deployment.yaml

Lines changed: 40 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,41 @@
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: digester-controller-manager
19-
namespace: digester-system
204
labels:
215
control-plane: controller-manager
226
digester/operation: webhook
237
digester/system: "yes"
8+
name: digester-controller-manager
9+
namespace: digester-system
2410
spec:
25-
replicas: 3 # kpt-set: ${replicas}
11+
replicas: 3
2612
selector:
2713
matchLabels:
2814
control-plane: controller-manager
2915
digester/operation: webhook
3016
digester/system: "yes"
3117
template:
3218
metadata:
19+
annotations:
20+
prometheus.io/port: "8888"
3321
labels:
3422
control-plane: controller-manager
3523
digester/operation: webhook
3624
digester/system: "yes"
37-
annotations:
38-
prometheus.io/port: "8888" # kpt-set: ${metrics-port}
3925
spec:
40-
serviceAccountName: digester-admin
41-
nodeSelector:
42-
kubernetes.io/os: linux
4326
containers:
44-
- name: manager
45-
image: k8s-digester # kpt-set: ${image}
46-
args:
27+
- args:
4728
- webhook
48-
- --cert-dir=/certs # kpt-set: --cert-dir=${cert-dir}
49-
- --disable-cert-rotation=false # kpt-set: --disable-cert-rotation=${disable-cert-rotation}
50-
- --dry-run=false # kpt-set: --dry-run=${dry-run}
51-
- --health-addr=:9090 # kpt-set: --health-addr=:${health-port}
52-
- --metrics-addr=:8888 # kpt-set: --metrics-addr=:${metrics-port}
53-
- --offline=false # kpt-set: --offline=${offline}
54-
- --port=8443 # kpt-set: --port=${port}
55-
ports:
56-
- name: webhook-server
57-
protocol: TCP
58-
containerPort: 8443 # kpt-set: ${port}
59-
- name: metrics
60-
protocol: TCP
61-
containerPort: 8888 # kpt-set: ${metrics-port}
62-
- name: healthz
63-
protocol: TCP
64-
containerPort: 9090 # kpt-set: ${health-port}
29+
- --cert-dir=/certs
30+
- --disable-cert-rotation=false
31+
- --dry-run=false
32+
- --health-addr=:9090
33+
- --metrics-addr=:8888
34+
- --offline=false
35+
- --port=8443
6536
env:
6637
- name: DEBUG
67-
value: "false" # kpt-set: ${debug}
38+
value: "false"
6839
- name: POD_NAME
6940
valueFrom:
7041
fieldRef:
@@ -74,23 +45,31 @@ spec:
7445
fieldRef:
7546
apiVersion: v1
7647
fieldPath: metadata.namespace
77-
resources:
78-
requests:
79-
cpu: 100m # kpt-set: ${request-cpu}
80-
ephemeral-storage: 256Mi # kpt-set: ${request-ephemeral-storage}
81-
memory: 256Mi # kpt-set: ${request-memory}
82-
volumeMounts:
83-
- name: cert
84-
readOnly: true
85-
mountPath: /certs # kpt-set: ${cert-dir}
48+
image: ghcr.io/google/k8s-digester:v0.1.16@sha256:56c34bd2f2b37c81fac97358d8c06deed13f9998477cdc8583c6d69c8cfad999
8649
livenessProbe:
8750
httpGet:
88-
port: healthz
8951
path: /healthz
52+
port: healthz
53+
name: manager
54+
ports:
55+
- containerPort: 8443
56+
name: webhook-server
57+
protocol: TCP
58+
- containerPort: 8888
59+
name: metrics
60+
protocol: TCP
61+
- containerPort: 9090
62+
name: healthz
63+
protocol: TCP
9064
readinessProbe:
9165
httpGet:
92-
port: healthz
9366
path: /readyz
67+
port: healthz
68+
resources:
69+
requests:
70+
cpu: 100m
71+
ephemeral-storage: 256Mi
72+
memory: 256Mi
9473
securityContext:
9574
allowPrivilegeEscalation: false
9675
capabilities:
@@ -100,6 +79,13 @@ spec:
10079
runAsGroup: 65532
10180
runAsNonRoot: true
10281
runAsUser: 65532
82+
volumeMounts:
83+
- mountPath: /certs
84+
name: cert
85+
readOnly: true
86+
nodeSelector:
87+
kubernetes.io/os: linux
88+
serviceAccountName: digester-admin
10389
volumes:
10490
- name: cert
10591
secret:

0 commit comments

Comments
 (0)