1 Star 0 Fork 4

chenmaodong/origin

forked from src-openEuler/origin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
change_always_to_ifnotpresent.patch 6.13 KB
一键复制 编辑 原始数据 按行查看 历史
yangzhao_kl 提交于 2020-08-10 09:40 . initial release
--- origin-8de5c3442e56dbe05403990ce0821746673fd588/pkg/oc/clusterup/manifests/bindata.go 2018-12-06 11:51:22.000000000 +0800
+++ origin-8de5c3442e56dbe05403990ce0821746673fd588.new/pkg/oc/clusterup/manifests/bindata.go 2020-07-28 18:54:52.967112246 +0800
@@ -16726,7 +16726,7 @@
containers:
- name: etcd
image: IMAGE
- imagePullPolicy: OPENSHIFT_PULL_POLICY
+ imagePullPolicy: IfNotPresent
workingDir: /var/lib/etcd
command: ["/bin/bash", "-c"]
args:
@@ -16779,7 +16779,7 @@
containers:
- name: api
image: IMAGE
- imagePullPolicy: OPENSHIFT_PULL_POLICY
+ imagePullPolicy: IfNotPresent
command: ["/bin/bash", "-c"]
args:
- |
@@ -16845,7 +16845,7 @@
containers:
- name: controllers
image: IMAGE
- imagePullPolicy: OPENSHIFT_PULL_POLICY
+ imagePullPolicy: IfNotPresent
command: ["hyperkube", "kube-controller-manager"]
args:
- "--enable-dynamic-provisioning=true"
@@ -16912,7 +16912,7 @@
- name: IMAGE
value: openshift/origin-control-plane:latest
- name: OPENSHIFT_PULL_POLICY
- value: Always
+ value: IfNotPresent
- name: LOGLEVEL
value: "0"
- name: KUBEDNS_CONFIG_HOST_PATH
@@ -16948,7 +16948,7 @@
containers:
- name: kube-dns
image: ${IMAGE}
- imagePullPolicy: ${OPENSHIFT_PULL_POLICY}
+ imagePullPolicy: IfNotPresent
command: ["openshift", "start", "network"]
args:
- "--enable=dns"
@@ -17012,7 +17012,7 @@
- name: IMAGE
value: openshift/origin-control-plane
- name: OPENSHIFT_PULL_POLICY
- value: Always
+ value: IfNotPresent
- name: NAMESPACE
value: kube-proxy
- name: LOGLEVEL
@@ -17064,7 +17064,7 @@
containers:
- name: kube-proxy
image: ${IMAGE}
- imagePullPolicy: ${OPENSHIFT_PULL_POLICY}
+ imagePullPolicy: IfNotPresent
command: ["openshift", "start", "network"]
args:
- "--enable=proxy"
@@ -17112,7 +17112,7 @@
containers:
- name: scheduler
image: IMAGE
- imagePullPolicy: OPENSHIFT_PULL_POLICY
+ imagePullPolicy: IfNotPresent
command: ["hyperkube", "kube-scheduler"]
args:
- "--leader-elect=true"
@@ -17163,7 +17163,7 @@
- name: IMAGE
value: openshift/origin-control-plane:latest
- name: OPENSHIFT_PULL_POLICY
- value: Always
+ value: IfNotPresent
- name: NAMESPACE
value: openshift-apiserver
- name: LOGLEVEL
@@ -17199,7 +17199,7 @@
containers:
- name: apiserver
image: ${IMAGE}
- imagePullPolicy: ${OPENSHIFT_PULL_POLICY}
+ imagePullPolicy: IfNotPresent
env:
- name: ADDITIONAL_ALLOWED_REGISTRIES
value: registry.centos.org
@@ -17599,7 +17599,7 @@
- name: IMAGE
value: openshift/origin-control-plane:latest
- name: OPENSHIFT_PULL_POLICY
- value: Always
+ value: IfNotPresent
- name: NAMESPACE
value: openshift-controller-manager
- name: LOGLEVEL
@@ -17636,7 +17636,7 @@
containers:
- name: c
image: ${IMAGE}
- imagePullPolicy: ${OPENSHIFT_PULL_POLICY}
+ imagePullPolicy: IfNotPresent
command: ["hypershift", "openshift-controller-manager"]
args:
- "--config=/etc/origin/master/master-config.yaml"
@@ -17696,7 +17696,7 @@
- name: IMAGE
value: openshift/origin-control-plane:latest
- name: OPENSHIFT_PULL_POLICY
- value: Always
+ value: IfNotPresent
- name: NAMESPACE
value: openshift-core-operators
- name: LOGLEVEL
@@ -17739,7 +17739,7 @@
- name: IMAGE
value: openshift/origin-service-serving-cert-signer:latest
- name: OPENSHIFT_PULL_POLICY
- value: Always
+ value: IfNotPresent
- name: NAMESPACE
value: openshift-core-operators
- name: LOGLEVEL
@@ -17800,7 +17800,7 @@
containers:
- name: operator
image: openshift/origin-service-serving-cert-signer:v3.11
- imagePullPolicy: ${OPENSHIFT_PULL_POLICY}
+ imagePullPolicy: IfNotPresent
command: ["service-serving-cert-signer", "operator"]
args:
- "--config=/var/run/configmaps/config/operator-config.yaml"
@@ -17897,7 +17897,7 @@
- name: IMAGE
value: openshift/origin-hypershift:latest
- name: OPENSHIFT_PULL_POLICY
- value: Always
+ value: IfNotPresent
- name: NAMESPACE
# This namespace must not be changed.
value: openshift-core-operators
@@ -17958,7 +17958,7 @@
containers:
- name: operator
image: ${IMAGE}
- imagePullPolicy: ${OPENSHIFT_PULL_POLICY}
+ imagePullPolicy: IfNotPresent
command: ["hypershift", "experimental", "openshift-webconsole-operator"]
args:
- "--config=/var/run/configmaps/config/operator-config.yaml"
@@ -17970,10 +17970,12 @@
volumes:
- name: serving-cert
secret:
+ defaultMode: 400
secretName: openshift-web-console-operator-serving-cert
optional: true
- name: config
configMap:
+ defaultMode: 440
name: openshift-web-console-operator-config
- apiVersion: v1
@@ -18069,7 +18071,7 @@
- name: IMAGE
value: openshift/origin-web-console:latest
- name: OPENSHIFT_PULL_POLICY
- value: Always
+ value: IfNotPresent
- name: NAMESPACE
# This namespace cannot be changed. Only `+"`"+`openshift-web-console`+"`"+` is supported.
value: openshift-web-console
@@ -18106,7 +18108,7 @@
containers:
- name: webconsole
image: ${IMAGE}
- imagePullPolicy: ${OPENSHIFT_PULL_POLICY}
+ imagePullPolicy: IfNotPresent
command:
- "/usr/bin/origin-web-console"
- "--audit-log-path=-"
@@ -18278,7 +18280,7 @@
- name: IMAGE
value: openshift/origin-template-service-broker:latest
- name: OPENSHIFT_PULL_POLICY
- value: Always
+ value: IfNotPresent
- name: NAMESPACE
value: openshift-template-service-broker
- name: LOGLEVEL
@@ -18312,7 +18314,7 @@
containers:
- name: c
image: ${IMAGE}
- imagePullPolicy: ${OPENSHIFT_PULL_POLICY}
+ imagePullPolicy: IfNotPresent
command:
- "/usr/bin/template-service-broker"
- "start"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chenmaodong/origin.git
git@gitee.com:chenmaodong/origin.git
chenmaodong
origin
origin
master

搜索帮助