feat: add imagePullSecrets, labels, annotations and update CRDs (#268)

* feat: add imagePullSecrets, labels, annotations and update CRDs

* remove global value

* keep templated labels

* Update charts/argo-rollouts/Chart.yaml

update minor version, not just patch

Co-Authored-By: Eytan Hanig <eytanhanig@users.noreply.github.com>

* Update charts/argo-rollouts/README.md

Co-Authored-By: Eytan Hanig <eytanhanig@users.noreply.github.com>

Co-authored-by: Eytan Hanig <eytanhanig@users.noreply.github.com>
This commit is contained in:
Scott Cabrinha 2020-03-25 09:29:44 -07:00 committed by GitHub
parent 805371544d
commit 4f4c3af0c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 714 additions and 150 deletions

View file

@ -2,6 +2,8 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.5
name: analysistemplates.argoproj.io
spec:
group: argoproj.io
@ -9,6 +11,8 @@ spec:
kind: AnalysisTemplate
listKind: AnalysisTemplateList
plural: analysistemplates
shortNames:
- at
singular: analysistemplate
scope: Namespaced
validation:
@ -29,6 +33,19 @@ spec:
type: string
value:
type: string
valueFrom:
properties:
secretKeyRef:
properties:
key:
type: string
name:
type: string
required:
- key
- name
type: object
type: object
required:
- name
type: object
@ -419,7 +436,11 @@ spec:
containerName:
type: string
divisor:
type: string
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
type: string
required:
@ -497,8 +518,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
@ -510,8 +532,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
@ -545,8 +568,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
@ -558,8 +582,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
@ -597,8 +622,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
@ -619,8 +645,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
@ -681,8 +708,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
@ -703,8 +731,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
@ -713,6 +742,23 @@ spec:
type: integer
type: object
resources:
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
type: object
securityContext:
properties:
@ -796,8 +842,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
@ -818,8 +865,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
@ -944,7 +992,11 @@ spec:
containerName:
type: string
divisor:
type: string
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
type: string
required:
@ -1022,8 +1074,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
@ -1035,8 +1088,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
@ -1070,8 +1124,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
@ -1083,8 +1138,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
@ -1122,8 +1178,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
@ -1144,8 +1201,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
@ -1206,8 +1264,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
@ -1228,8 +1287,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
@ -1238,6 +1298,23 @@ spec:
type: integer
type: object
resources:
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
type: object
securityContext:
properties:
@ -1321,8 +1398,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
@ -1343,8 +1421,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
@ -1473,7 +1552,11 @@ spec:
containerName:
type: string
divisor:
type: string
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
type: string
required:
@ -1551,8 +1634,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
@ -1564,8 +1648,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
@ -1599,8 +1684,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
@ -1612,8 +1698,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
@ -1651,8 +1738,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
@ -1673,8 +1761,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
@ -1735,8 +1824,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
@ -1757,8 +1847,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
@ -1767,6 +1858,23 @@ spec:
type: integer
type: object
resources:
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
type: object
securityContext:
properties:
@ -1850,8 +1958,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
@ -1872,8 +1981,9 @@ spec:
type: string
port:
anyOf:
- type: string
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
@ -1937,7 +2047,11 @@ spec:
type: object
overhead:
additionalProperties:
type: string
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
preemptionPolicy:
type: string
@ -2188,7 +2302,11 @@ spec:
medium:
type: string
sizeLimit:
type: string
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
fc:
properties: