generate crds from tag
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
This commit is contained in:
parent
d6063b9595
commit
7bc86fe1fc
8 changed files with 14 additions and 238 deletions
|
@ -1,20 +1,10 @@
|
||||||
{{- if .Values.crds.install }}
|
# https://raw.githubusercontent.com/argoproj/argo-cd/v2.10.5/manifests/crds/application-crd.yaml
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
|
||||||
{{- if .Values.crds.keep }}
|
|
||||||
"helm.sh/resource-policy": keep
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.crds.annotations }}
|
|
||||||
{{- toYaml . | nindent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: applications.argoproj.io
|
app.kubernetes.io/name: applications.argoproj.io
|
||||||
app.kubernetes.io/part-of: argocd
|
app.kubernetes.io/part-of: argocd
|
||||||
{{- with .Values.crds.additionalLabels }}
|
|
||||||
{{- toYaml . | nindent 4}}
|
|
||||||
{{- end }}
|
|
||||||
name: applications.argoproj.io
|
name: applications.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
group: argoproj.io
|
group: argoproj.io
|
||||||
|
@ -4947,4 +4937,3 @@ spec:
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
subresources: {}
|
subresources: {}
|
||||||
{{- end }}
|
|
||||||
|
|
|
@ -1,20 +1,10 @@
|
||||||
{{- if and .Values.crds.install .Values.applicationSet.enabled }}
|
# https://raw.githubusercontent.com/argoproj/argo-cd/v2.10.5/manifests/crds/applicationset-crd.yaml
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
|
||||||
{{- if .Values.crds.keep }}
|
|
||||||
"helm.sh/resource-policy": keep
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.crds.annotations }}
|
|
||||||
{{- toYaml . | nindent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: applicationsets.argoproj.io
|
app.kubernetes.io/name: applicationsets.argoproj.io
|
||||||
app.kubernetes.io/part-of: argocd
|
app.kubernetes.io/part-of: argocd
|
||||||
{{- with .Values.crds.additionalLabels }}
|
|
||||||
{{- toYaml . | nindent 4}}
|
|
||||||
{{- end }}
|
|
||||||
name: applicationsets.argoproj.io
|
name: applicationsets.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
group: argoproj.io
|
group: argoproj.io
|
||||||
|
@ -15247,4 +15237,3 @@ spec:
|
||||||
storage: true
|
storage: true
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
{{- end }}
|
|
||||||
|
|
|
@ -1,20 +1,10 @@
|
||||||
{{- if .Values.crds.install }}
|
# https://raw.githubusercontent.com/argoproj/argo-cd/v2.10.5/manifests/crds/appproject-crd.yaml
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
|
||||||
{{- if .Values.crds.keep }}
|
|
||||||
"helm.sh/resource-policy": keep
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.crds.annotations }}
|
|
||||||
{{- toYaml . | nindent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: appprojects.argoproj.io
|
app.kubernetes.io/name: appprojects.argoproj.io
|
||||||
app.kubernetes.io/part-of: argocd
|
app.kubernetes.io/part-of: argocd
|
||||||
{{- with .Values.crds.additionalLabels }}
|
|
||||||
{{- toYaml . | nindent 4}}
|
|
||||||
{{- end }}
|
|
||||||
name: appprojects.argoproj.io
|
name: appprojects.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
group: argoproj.io
|
group: argoproj.io
|
||||||
|
@ -333,4 +323,3 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
{{- end }}
|
|
||||||
|
|
|
@ -1,18 +1,9 @@
|
||||||
{{- if .Values.installCRDs }}
|
# https://raw.githubusercontent.com/argoproj/argo-rollouts/v1.6.6/manifests/crds/analysis-run-crd.yaml
|
||||||
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
|
||||||
|
@ -189,22 +180,13 @@ 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:
|
||||||
|
@ -2818,19 +2800,6 @@ 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:
|
||||||
|
@ -2879,31 +2848,6 @@ 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:
|
||||||
|
@ -3066,4 +3010,3 @@ spec:
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
subresources: {}
|
subresources: {}
|
||||||
{{- end }}
|
|
||||||
|
|
|
@ -1,18 +1,9 @@
|
||||||
{{- if .Values.installCRDs }}
|
# https://raw.githubusercontent.com/argoproj/argo-rollouts/v1.6.6/manifests/crds/analysis-template-crd.yaml
|
||||||
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
|
||||||
|
@ -185,22 +176,13 @@ 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:
|
||||||
|
@ -2814,19 +2796,6 @@ 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:
|
||||||
|
@ -2875,31 +2844,6 @@ 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:
|
||||||
|
@ -2948,4 +2892,3 @@ spec:
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
subresources: {}
|
subresources: {}
|
||||||
{{- end }}
|
|
||||||
|
|
|
@ -1,18 +1,9 @@
|
||||||
{{- if .Values.installCRDs }}
|
# https://raw.githubusercontent.com/argoproj/argo-rollouts/v1.6.6/manifests/crds/cluster-analysis-template-crd.yaml
|
||||||
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
|
||||||
|
@ -185,22 +176,13 @@ 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:
|
||||||
|
@ -2814,19 +2796,6 @@ 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:
|
||||||
|
@ -2875,31 +2844,6 @@ 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:
|
||||||
|
@ -2948,4 +2892,3 @@ spec:
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
subresources: {}
|
subresources: {}
|
||||||
{{- end }}
|
|
||||||
|
|
|
@ -1,18 +1,9 @@
|
||||||
{{- if .Values.installCRDs }}
|
# https://raw.githubusercontent.com/argoproj/argo-rollouts/v1.6.6/manifests/crds/experiment-crd.yaml
|
||||||
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
|
||||||
|
@ -2655,4 +2646,3 @@ spec:
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
subresources: {}
|
subresources: {}
|
||||||
{{- end }}
|
|
||||||
|
|
|
@ -1,18 +1,9 @@
|
||||||
{{- if .Values.installCRDs }}
|
# https://raw.githubusercontent.com/argoproj/argo-rollouts/v1.6.6/manifests/crds/rollout-crd.yaml
|
||||||
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
|
||||||
|
@ -3638,4 +3629,3 @@ spec:
|
||||||
specReplicasPath: .spec.replicas
|
specReplicasPath: .spec.replicas
|
||||||
statusReplicasPath: .status.HPAReplicas
|
statusReplicasPath: .status.HPAReplicas
|
||||||
status: {}
|
status: {}
|
||||||
{{- end }}
|
|
||||||
|
|
Loading…
Reference in a new issue