install-kubectl-linux kustomization

Signed-off-by: xin.li <xin.li@daocloud.io>
pull/41345/head
xin.li 2023-05-27 21:26:24 +08:00
parent 0556bd8702
commit 99987da6f2
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
mkdir dev
cat <<EOF > dev/kustomization.yaml
resources:
bases:
- ../base
namePrefix: dev-
EOF
mkdir prod
cat <<EOF > prod/kustomization.yaml
resources:
bases:
- ../base
namePrefix: prod-
EOF

View File

@ -288,7 +288,7 @@ name=Kubernetes
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-\$basearch
enabled=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
sudo yum install -y kubectl
```