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
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
{{- if .Values.crds.keep }}
|
||||
"helm.sh/resource-policy": keep
|
||||
{{- end }}
|
||||
{{- with .Values.crds.annotations }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
app.kubernetes.io/name: applications.argoproj.io
|
||||
app.kubernetes.io/part-of: argocd
|
||||
{{- with .Values.crds.additionalLabels }}
|
||||
{{- toYaml . | nindent 4}}
|
||||
{{- end }}
|
||||
name: applications.argoproj.io
|
||||
spec:
|
||||
group: argoproj.io
|
||||
|
@ -4947,4 +4937,3 @@ spec:
|
|||
served: true
|
||||
storage: true
|
||||
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
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
{{- if .Values.crds.keep }}
|
||||
"helm.sh/resource-policy": keep
|
||||
{{- end }}
|
||||
{{- with .Values.crds.annotations }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
app.kubernetes.io/name: applicationsets.argoproj.io
|
||||
app.kubernetes.io/part-of: argocd
|
||||
{{- with .Values.crds.additionalLabels }}
|
||||
{{- toYaml . | nindent 4}}
|
||||
{{- end }}
|
||||
name: applicationsets.argoproj.io
|
||||
spec:
|
||||
group: argoproj.io
|
||||
|
@ -15247,4 +15237,3 @@ spec:
|
|||
storage: true
|
||||
subresources:
|
||||
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
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
{{- if .Values.crds.keep }}
|
||||
"helm.sh/resource-policy": keep
|
||||
{{- end }}
|
||||
{{- with .Values.crds.annotations }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
app.kubernetes.io/name: appprojects.argoproj.io
|
||||
app.kubernetes.io/part-of: argocd
|
||||
{{- with .Values.crds.additionalLabels }}
|
||||
{{- toYaml . | nindent 4}}
|
||||
{{- end }}
|
||||
name: appprojects.argoproj.io
|
||||
spec:
|
||||
group: argoproj.io
|
||||
|
@ -333,4 +323,3 @@ spec:
|
|||
type: object
|
||||
served: 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
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
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
|
||||
spec:
|
||||
group: argoproj.io
|
||||
|
@ -189,22 +180,13 @@ spec:
|
|||
datadog:
|
||||
properties:
|
||||
apiVersion:
|
||||
default: v1
|
||||
enum:
|
||||
- v1
|
||||
- v2
|
||||
type: string
|
||||
formula:
|
||||
type: string
|
||||
interval:
|
||||
default: 5m
|
||||
type: string
|
||||
queries:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
query:
|
||||
type: string
|
||||
required:
|
||||
- query
|
||||
type: object
|
||||
graphite:
|
||||
properties:
|
||||
|
@ -2818,19 +2800,6 @@ spec:
|
|||
type: string
|
||||
authentication:
|
||||
properties:
|
||||
oauth2:
|
||||
properties:
|
||||
clientId:
|
||||
type: string
|
||||
clientSecret:
|
||||
type: string
|
||||
scopes:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
tokenUrl:
|
||||
type: string
|
||||
type: object
|
||||
sigv4:
|
||||
properties:
|
||||
profile:
|
||||
|
@ -2879,31 +2848,6 @@ spec:
|
|||
type: object
|
||||
web:
|
||||
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:
|
||||
type: string
|
||||
headers:
|
||||
|
@ -3066,4 +3010,3 @@ spec:
|
|||
served: true
|
||||
storage: true
|
||||
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
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
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
|
||||
spec:
|
||||
group: argoproj.io
|
||||
|
@ -185,22 +176,13 @@ spec:
|
|||
datadog:
|
||||
properties:
|
||||
apiVersion:
|
||||
default: v1
|
||||
enum:
|
||||
- v1
|
||||
- v2
|
||||
type: string
|
||||
formula:
|
||||
type: string
|
||||
interval:
|
||||
default: 5m
|
||||
type: string
|
||||
queries:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
query:
|
||||
type: string
|
||||
required:
|
||||
- query
|
||||
type: object
|
||||
graphite:
|
||||
properties:
|
||||
|
@ -2814,19 +2796,6 @@ spec:
|
|||
type: string
|
||||
authentication:
|
||||
properties:
|
||||
oauth2:
|
||||
properties:
|
||||
clientId:
|
||||
type: string
|
||||
clientSecret:
|
||||
type: string
|
||||
scopes:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
tokenUrl:
|
||||
type: string
|
||||
type: object
|
||||
sigv4:
|
||||
properties:
|
||||
profile:
|
||||
|
@ -2875,31 +2844,6 @@ spec:
|
|||
type: object
|
||||
web:
|
||||
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:
|
||||
type: string
|
||||
headers:
|
||||
|
@ -2948,4 +2892,3 @@ spec:
|
|||
served: true
|
||||
storage: true
|
||||
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
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
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
|
||||
spec:
|
||||
group: argoproj.io
|
||||
|
@ -185,22 +176,13 @@ spec:
|
|||
datadog:
|
||||
properties:
|
||||
apiVersion:
|
||||
default: v1
|
||||
enum:
|
||||
- v1
|
||||
- v2
|
||||
type: string
|
||||
formula:
|
||||
type: string
|
||||
interval:
|
||||
default: 5m
|
||||
type: string
|
||||
queries:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
query:
|
||||
type: string
|
||||
required:
|
||||
- query
|
||||
type: object
|
||||
graphite:
|
||||
properties:
|
||||
|
@ -2814,19 +2796,6 @@ spec:
|
|||
type: string
|
||||
authentication:
|
||||
properties:
|
||||
oauth2:
|
||||
properties:
|
||||
clientId:
|
||||
type: string
|
||||
clientSecret:
|
||||
type: string
|
||||
scopes:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
tokenUrl:
|
||||
type: string
|
||||
type: object
|
||||
sigv4:
|
||||
properties:
|
||||
profile:
|
||||
|
@ -2875,31 +2844,6 @@ spec:
|
|||
type: object
|
||||
web:
|
||||
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:
|
||||
type: string
|
||||
headers:
|
||||
|
@ -2948,4 +2892,3 @@ spec:
|
|||
served: true
|
||||
storage: true
|
||||
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
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
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
|
||||
spec:
|
||||
group: argoproj.io
|
||||
|
@ -2655,4 +2646,3 @@ spec:
|
|||
served: true
|
||||
storage: true
|
||||
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
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
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
|
||||
spec:
|
||||
group: argoproj.io
|
||||
|
@ -3638,4 +3629,3 @@ spec:
|
|||
specReplicasPath: .spec.replicas
|
||||
statusReplicasPath: .status.HPAReplicas
|
||||
status: {}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue