Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

Decouple cfcr #399

Open
wants to merge 22 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
710 changes: 708 additions & 2 deletions manifests/cfcr.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion manifests/ops-files/addons-spec.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- type: replace
path: /instance_groups/name=apply-addons/jobs/name=apply-specs/properties/addons-spec?
path: /instance_groups/name=apply-addons/jobs/name=apply-specs/properties/specs?/addons?
value: ((addons-spec))
8 changes: 4 additions & 4 deletions manifests/ops-files/change-cidrs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
---
- type: replace
path: /instance_groups/name=apply-addons/jobs/name=apply-specs/properties/kubedns-service-ip?
value: ((kubedns_service_ip))

- type: replace
path: /instance_groups/name=master/jobs/name=kube-apiserver/properties/k8s-args/service-cluster-ip-range?
value: ((service_cluster_cidr))
Expand All @@ -11,6 +7,10 @@
path: /instance_groups/name=worker/jobs/name=kubelet/properties/kubelet-configuration/clusterDNS?
value: [((kubedns_service_ip))]

- type: replace
path: /instance_groups/name=apply-addons/jobs/name=apply-specs/properties/specs/coredns/name=service/value/spec/clusterIP
value: ((kubedns_service_ip))

- type: replace
path: /instance_groups/name=worker/jobs/name=flanneld/properties?/pod-network-cidr?
value: ((pod_network_cidr))
Expand Down
26 changes: 26 additions & 0 deletions manifests/ops-files/iaas/azure/cloud-provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,29 @@
- type: replace
path: /instance_groups/name=worker/jobs/name=kube-proxy/properties/cloud-provider?
value: azure

- type: replace
path: /instance_groups/name=master/jobs/name=kubernetes-roles/properties/specs?/cloud-provider?
value: |
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: system:azure-cloud-provider
rules:
- apiGroups: ['']
resources: ['secrets']
verbs: ['get','create']
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: system:azure-cloud-provider
roleRef:
kind: ClusterRole
apiGroup: rbac.authorization.k8s.io
name: system:azure-cloud-provider
subjects:
- kind: ServiceAccount
name: persistent-volume-binder
namespace: kube-system
17 changes: 17 additions & 0 deletions manifests/ops-files/iaas/vsphere/cloud-provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,20 @@
path: /instance_groups/name=apply-addons/jobs/name=apply-specs/consumes?
value:
cloud-provider: {from: master-cloud-provider}

- type: replace
path: /instance_groups/name=master/jobs/name=kubernetes-roles/properties/specs?/cloud-provider?
value: |
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubo:internal:vsphere-cloud-provider
subjects:
- kind: ServiceAccount
name: vsphere-cloud-provider
namespace: kube-system
roleRef:
kind: ClusterRole
name: system:node
apiGroup: rbac.authorization.k8s.io
6 changes: 6 additions & 0 deletions manifests/ops-files/misc/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@
value:
name: kubo
version: latest

- type: replace
path: /releases/name=kubernetes?
value:
name: kubernetes
version: latest
3 changes: 3 additions & 0 deletions manifests/ops-files/non-precompiled-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@
sha1: 41df19697d6a69d2552bc2c132928157fa91abe0
url: https://bosh.io/d/github.com/cloudfoundry-incubator/bpm-release?v=1.0.4
version: 1.0.4
- name: kubernetes
url: https://storage.googleapis.com/kubo-pipeline-store-test/kubernetes-release.tar.gz
version: 0.0.0-dev.3
7 changes: 7 additions & 0 deletions manifests/ops-files/windows/add-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
url: "https://storage.googleapis.com/kubo-precompiled-releases/kubo-windows-0.31.0-windows2019-2019.2-20190325-131732-878123.tgz"
sha1: "05ead5f098611e25a6fc6e5cfb33825cf1c9b8ae"

- type: replace
path: /releases/-
value:
name: "kubernetes-windows"
url: https://storage.googleapis.com/kubo-pipeline-store-test/kubernetes-windows-release.tar.gz
version: 0.0.0-dev.7

- type: replace
path: /addons/-
value:
Expand Down