[ko] Update outdated files in dev-1.26-ko.1 (M197-M200)

Signed-off-by: jongwooo <jongwooo.han@gmail.com>
pull/39865/head
jongwooo 2023-03-09 10:09:12 +09:00
parent 47c624c367
commit 6f22f71726
4 changed files with 3 additions and 9 deletions

View File

@ -14,6 +14,6 @@ spec:
spec:
containers:
- name: nginx
image: nginx:1.14.2
image: nginx:1.16.1
ports:
- containerPort: 80

View File

@ -24,7 +24,7 @@ spec:
- |
set -ex
# 파드의 원래 인덱스에서 mysql server-id를 생성.
[[ `hostname` =~ -([0-9]+)$ ]] || exit 1
[[ $HOSTNAME =~ -([0-9]+)$ ]] || exit 1
ordinal=${BASH_REMATCH[1]}
echo [mysqld] > /mnt/conf.d/server-id.cnf
# 예약된 server-id=0 값을 피하기 위해 오프셋 추가.

View File

@ -35,14 +35,8 @@ spec:
volumeMounts:
- name: varlog
mountPath: /var/log
- name: varlibdockercontainers
mountPath: /var/lib/docker/containers
readOnly: true
terminationGracePeriodSeconds: 30
volumes:
- name: varlog
hostPath:
path: /var/log
- name: varlibdockercontainers
hostPath:
path: /var/lib/docker/containers

View File

@ -6,7 +6,7 @@ kind: AdmissionConfiguration
plugins:
- name: PodSecurity
configuration:
apiVersion: pod-security.admission.config.k8s.io/v1beta1
apiVersion: pod-security.admission.config.k8s.io/v1
kind: PodSecurityConfiguration
defaults:
enforce: "baseline"