代码拉取完成,页面将自动刷新
resource_types:
- name: kubernetes
type: docker-image
source:
repository: zlabjp/kubernetes-resource
tag: "{{kubernetes-version}}"
resources:
- name: kubernetes-cluster
type: kubernetes
icon: kubernetes
source:
insecure_skip_tls_verify: {{kubernetes-skip-tls-verification}}
kubeconfig: {{kubernetes-config}}
context: {{kubernetes-context}}
namespace: {{kubernetes-namespace}}
# - name: container-image
# type: docker-image
# icon: docker
# source:
# repository: ((container-image))
- name: repo
type: git
source:
uri: ((app-url))
branch: ((app-branch))
private_key: ((app-private-key))
jobs:
- name: deploy-latest-container-image
plan:
#- aggregate:
- get: repo
# - get: container-image
trigger: true
params:
skip_download: true
- put: kubernetes-cluster
params:
kubectl: apply -f repo/app.yml
# kubectl: |
# set image deployment ((kubernetes-deployment)) ((kubernetes-container))=$(cat container-image/repository)@$(cat container-image/digest)
wait_until_ready: {{kubernetes-wait-until-ready}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。