Add generate openAPIV3Schema schema for DaemonJob CRD.

change docker image to point to the latest metacontroller image.
change python image to point to version 3.7
add updateStrategy to CompositeController.
add replicas config to DaemonJobController via zuul gate.

Change-Id: I2a48bc6472017802267980fe474d81886113fcda
This commit is contained in:
Luna Das 2020-06-30 00:41:14 +05:30
parent b1e66fd308
commit 64c744d756
6 changed files with 3984 additions and 252 deletions

View File

@ -27,6 +27,8 @@ spec:
childResources:
- apiVersion: apps/v1
resource: daemonsets
updateStrategy:
method: InPlace
hooks:
sync:
webhook:

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,7 @@ release_group: null
images:
tags:
python: docker.io/python:3.6-slim
python: docker.io/python:3.7-slim
pause: gcr.io/google_containers/pause:latest
image_repo_sync: docker.io/docker:17.07.0
pullPolicy: IfNotPresent

View File

@ -274,6 +274,12 @@ spec:
shortNames:
- cc
- cctl
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition

View File

@ -19,7 +19,7 @@ release_group: null
images:
tags:
metacontroller: docker.io/metacontroller/metacontroller:v0.4.0
metacontroller: metacontrollerio/metacontroller:v0.4.2
dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
image_repo_sync: docker.io/docker:17.07.0
pull_policy: IfNotPresent

View File

@ -22,6 +22,7 @@ make daemonjob-controller
#NOTE: Deploy command
helm upgrade --install daemonjob-controller ./daemonjob-controller \
--namespace=$namespace \
--set pod.replicas.daemonjob_controller=4 \
${HELM_ARGS_DAEMONJOB_CONTROLLER}
#NOTE: Wait for deploy
@ -78,7 +79,7 @@ spec:
resources:
requests:
cpu: 10m
terminationGracePeriodSeconds: 10
terminationGracePeriodSeconds: 10
EOF
dj="daemonjobs"