generate crds from tag
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
This commit is contained in:
parent
a47e4588d0
commit
c4f63af0a6
5 changed files with 202 additions and 11 deletions
|
@ -1,9 +1,18 @@
|
||||||
# https://raw.githubusercontent.com/argoproj/argo-rollouts/v1.6.6/manifests/crds/analysis-run-crd.yaml
|
{{- if .Values.installCRDs }}
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.12.1
|
controller-gen.kubebuilder.io/version: v0.12.1
|
||||||
|
{{- if .Values.keepCRDs }}
|
||||||
|
"helm.sh/resource-policy": keep
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.crdAnnotations }}
|
||||||
|
{{- toYaml .Values.crdAnnotations | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: argo-rollouts
|
||||||
|
app.kubernetes.io/part-of: argo-rollouts
|
||||||
name: analysisruns.argoproj.io
|
name: analysisruns.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
group: argoproj.io
|
group: argoproj.io
|
||||||
|
@ -180,13 +189,22 @@ spec:
|
||||||
datadog:
|
datadog:
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
|
default: v1
|
||||||
|
enum:
|
||||||
|
- v1
|
||||||
|
- v2
|
||||||
|
type: string
|
||||||
|
formula:
|
||||||
type: string
|
type: string
|
||||||
interval:
|
interval:
|
||||||
|
default: 5m
|
||||||
type: string
|
type: string
|
||||||
|
queries:
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
query:
|
query:
|
||||||
type: string
|
type: string
|
||||||
required:
|
|
||||||
- query
|
|
||||||
type: object
|
type: object
|
||||||
graphite:
|
graphite:
|
||||||
properties:
|
properties:
|
||||||
|
@ -2800,6 +2818,19 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
authentication:
|
authentication:
|
||||||
properties:
|
properties:
|
||||||
|
oauth2:
|
||||||
|
properties:
|
||||||
|
clientId:
|
||||||
|
type: string
|
||||||
|
clientSecret:
|
||||||
|
type: string
|
||||||
|
scopes:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
tokenUrl:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
sigv4:
|
sigv4:
|
||||||
properties:
|
properties:
|
||||||
profile:
|
profile:
|
||||||
|
@ -2848,6 +2879,31 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
web:
|
web:
|
||||||
properties:
|
properties:
|
||||||
|
authentication:
|
||||||
|
properties:
|
||||||
|
oauth2:
|
||||||
|
properties:
|
||||||
|
clientId:
|
||||||
|
type: string
|
||||||
|
clientSecret:
|
||||||
|
type: string
|
||||||
|
scopes:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
tokenUrl:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
sigv4:
|
||||||
|
properties:
|
||||||
|
profile:
|
||||||
|
type: string
|
||||||
|
region:
|
||||||
|
type: string
|
||||||
|
roleArn:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
body:
|
body:
|
||||||
type: string
|
type: string
|
||||||
headers:
|
headers:
|
||||||
|
@ -3010,3 +3066,4 @@ spec:
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
subresources: {}
|
subresources: {}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -1,9 +1,18 @@
|
||||||
# https://raw.githubusercontent.com/argoproj/argo-rollouts/v1.6.6/manifests/crds/analysis-template-crd.yaml
|
{{- if .Values.installCRDs }}
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.12.1
|
controller-gen.kubebuilder.io/version: v0.12.1
|
||||||
|
{{- if .Values.keepCRDs }}
|
||||||
|
"helm.sh/resource-policy": keep
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.crdAnnotations }}
|
||||||
|
{{- toYaml .Values.crdAnnotations | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: argo-rollouts
|
||||||
|
app.kubernetes.io/part-of: argo-rollouts
|
||||||
name: analysistemplates.argoproj.io
|
name: analysistemplates.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
group: argoproj.io
|
group: argoproj.io
|
||||||
|
@ -176,13 +185,22 @@ spec:
|
||||||
datadog:
|
datadog:
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
|
default: v1
|
||||||
|
enum:
|
||||||
|
- v1
|
||||||
|
- v2
|
||||||
|
type: string
|
||||||
|
formula:
|
||||||
type: string
|
type: string
|
||||||
interval:
|
interval:
|
||||||
|
default: 5m
|
||||||
type: string
|
type: string
|
||||||
|
queries:
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
query:
|
query:
|
||||||
type: string
|
type: string
|
||||||
required:
|
|
||||||
- query
|
|
||||||
type: object
|
type: object
|
||||||
graphite:
|
graphite:
|
||||||
properties:
|
properties:
|
||||||
|
@ -2796,6 +2814,19 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
authentication:
|
authentication:
|
||||||
properties:
|
properties:
|
||||||
|
oauth2:
|
||||||
|
properties:
|
||||||
|
clientId:
|
||||||
|
type: string
|
||||||
|
clientSecret:
|
||||||
|
type: string
|
||||||
|
scopes:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
tokenUrl:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
sigv4:
|
sigv4:
|
||||||
properties:
|
properties:
|
||||||
profile:
|
profile:
|
||||||
|
@ -2844,6 +2875,31 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
web:
|
web:
|
||||||
properties:
|
properties:
|
||||||
|
authentication:
|
||||||
|
properties:
|
||||||
|
oauth2:
|
||||||
|
properties:
|
||||||
|
clientId:
|
||||||
|
type: string
|
||||||
|
clientSecret:
|
||||||
|
type: string
|
||||||
|
scopes:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
tokenUrl:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
sigv4:
|
||||||
|
properties:
|
||||||
|
profile:
|
||||||
|
type: string
|
||||||
|
region:
|
||||||
|
type: string
|
||||||
|
roleArn:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
body:
|
body:
|
||||||
type: string
|
type: string
|
||||||
headers:
|
headers:
|
||||||
|
@ -2892,3 +2948,4 @@ spec:
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
subresources: {}
|
subresources: {}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -1,9 +1,18 @@
|
||||||
# https://raw.githubusercontent.com/argoproj/argo-rollouts/v1.6.6/manifests/crds/cluster-analysis-template-crd.yaml
|
{{- if .Values.installCRDs }}
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.12.1
|
controller-gen.kubebuilder.io/version: v0.12.1
|
||||||
|
{{- if .Values.keepCRDs }}
|
||||||
|
"helm.sh/resource-policy": keep
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.crdAnnotations }}
|
||||||
|
{{- toYaml .Values.crdAnnotations | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: argo-rollouts
|
||||||
|
app.kubernetes.io/part-of: argo-rollouts
|
||||||
name: clusteranalysistemplates.argoproj.io
|
name: clusteranalysistemplates.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
group: argoproj.io
|
group: argoproj.io
|
||||||
|
@ -176,13 +185,22 @@ spec:
|
||||||
datadog:
|
datadog:
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
|
default: v1
|
||||||
|
enum:
|
||||||
|
- v1
|
||||||
|
- v2
|
||||||
|
type: string
|
||||||
|
formula:
|
||||||
type: string
|
type: string
|
||||||
interval:
|
interval:
|
||||||
|
default: 5m
|
||||||
type: string
|
type: string
|
||||||
|
queries:
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
query:
|
query:
|
||||||
type: string
|
type: string
|
||||||
required:
|
|
||||||
- query
|
|
||||||
type: object
|
type: object
|
||||||
graphite:
|
graphite:
|
||||||
properties:
|
properties:
|
||||||
|
@ -2796,6 +2814,19 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
authentication:
|
authentication:
|
||||||
properties:
|
properties:
|
||||||
|
oauth2:
|
||||||
|
properties:
|
||||||
|
clientId:
|
||||||
|
type: string
|
||||||
|
clientSecret:
|
||||||
|
type: string
|
||||||
|
scopes:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
tokenUrl:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
sigv4:
|
sigv4:
|
||||||
properties:
|
properties:
|
||||||
profile:
|
profile:
|
||||||
|
@ -2844,6 +2875,31 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
web:
|
web:
|
||||||
properties:
|
properties:
|
||||||
|
authentication:
|
||||||
|
properties:
|
||||||
|
oauth2:
|
||||||
|
properties:
|
||||||
|
clientId:
|
||||||
|
type: string
|
||||||
|
clientSecret:
|
||||||
|
type: string
|
||||||
|
scopes:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
tokenUrl:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
sigv4:
|
||||||
|
properties:
|
||||||
|
profile:
|
||||||
|
type: string
|
||||||
|
region:
|
||||||
|
type: string
|
||||||
|
roleArn:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
body:
|
body:
|
||||||
type: string
|
type: string
|
||||||
headers:
|
headers:
|
||||||
|
@ -2892,3 +2948,4 @@ spec:
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
subresources: {}
|
subresources: {}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -1,9 +1,18 @@
|
||||||
# https://raw.githubusercontent.com/argoproj/argo-rollouts/v1.6.6/manifests/crds/experiment-crd.yaml
|
{{- if .Values.installCRDs }}
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.12.1
|
controller-gen.kubebuilder.io/version: v0.12.1
|
||||||
|
{{- if .Values.keepCRDs }}
|
||||||
|
"helm.sh/resource-policy": keep
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.crdAnnotations }}
|
||||||
|
{{- toYaml .Values.crdAnnotations | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: argo-rollouts
|
||||||
|
app.kubernetes.io/part-of: argo-rollouts
|
||||||
name: experiments.argoproj.io
|
name: experiments.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
group: argoproj.io
|
group: argoproj.io
|
||||||
|
@ -2646,3 +2655,4 @@ spec:
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
subresources: {}
|
subresources: {}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -1,9 +1,18 @@
|
||||||
# https://raw.githubusercontent.com/argoproj/argo-rollouts/v1.6.6/manifests/crds/rollout-crd.yaml
|
{{- if .Values.installCRDs }}
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.12.1
|
controller-gen.kubebuilder.io/version: v0.12.1
|
||||||
|
{{- if .Values.keepCRDs }}
|
||||||
|
"helm.sh/resource-policy": keep
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.crdAnnotations }}
|
||||||
|
{{- toYaml .Values.crdAnnotations | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: argo-rollouts
|
||||||
|
app.kubernetes.io/part-of: argo-rollouts
|
||||||
name: rollouts.argoproj.io
|
name: rollouts.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
group: argoproj.io
|
group: argoproj.io
|
||||||
|
@ -3629,3 +3638,4 @@ spec:
|
||||||
specReplicasPath: .spec.replicas
|
specReplicasPath: .spec.replicas
|
||||||
statusReplicasPath: .status.HPAReplicas
|
statusReplicasPath: .status.HPAReplicas
|
||||||
status: {}
|
status: {}
|
||||||
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue