Merge pull request #41345 from my-git9/path-29212

[zh-cn]sync install-kubectl-linux kustomization
This commit is contained in:
Kubernetes Prow Robot 2023-05-30 08:01:49 -07:00 committed by GitHub
commit cc01816c4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1092,14 +1092,14 @@ in different overlays. Here are two overlays using the same base.
```shell ```shell
mkdir dev mkdir dev
cat <<EOF > dev/kustomization.yaml cat <<EOF > dev/kustomization.yaml
resources: bases:
- ../base - ../base
namePrefix: dev- namePrefix: dev-
EOF EOF
mkdir prod mkdir prod
cat <<EOF > prod/kustomization.yaml cat <<EOF > prod/kustomization.yaml
resources: bases:
- ../base - ../base
namePrefix: prod- namePrefix: prod-
EOF EOF

View File

@ -288,7 +288,7 @@ name=Kubernetes
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-\$basearch baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-\$basearch
enabled=1 enabled=1
gpgcheck=1 gpgcheck=1
gpgkey=https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
EOF EOF
sudo yum install -y kubectl sudo yum install -y kubectl
``` ```