Skip to content

Commit 18129be

Browse files
committed
chore: update promotion task crd
Signed-off-by: Chen Keinan <[email protected]>
1 parent d1d6478 commit 18129be

File tree

1 file changed

+49
-18
lines changed

1 file changed

+49
-18
lines changed

charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml

Lines changed: 49 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,12 @@
11
{{- define "gitops-operator.crds.promotion-task" }}
22
{{- if .Values.crds.install }}
3+
---
34
apiVersion: apiextensions.k8s.io/v1
45
kind: CustomResourceDefinition
56
metadata:
6-
name: promotiontasks.codefresh.io
77
annotations:
8-
{{- if .Values.crds.keep }}
9-
"helm.sh/resource-policy": keep
10-
{{- end }}
11-
{{- with .Values.crds.annotations }}
12-
{{- toYaml . | nindent 4 }}
13-
{{- end }}
14-
labels:
15-
app.kubernetes.io/name: promotiontasks.codefresh.io
16-
app.kubernetes.io/part-of: gitops-operator
17-
{{- with .Values.crds.additionalLabels }}
18-
{{- toYaml . | nindent 4}}
19-
{{- end }}
8+
controller-gen.kubebuilder.io/version: v0.19.0
9+
name: promotiontasks.codefresh.io
2010
spec:
2111
group: codefresh.io
2212
names:
@@ -500,11 +490,29 @@ spec:
500490
- healthMessage
501491
- sync
502492
type: object
503-
commitSha:
504-
maxLength: 40
505-
minLength: 7
506-
pattern: (^[A-Fa-f0-9]+$|^<any-commit>$)
507-
type: string
493+
commitInfo:
494+
properties:
495+
commitAuthorId:
496+
properties:
497+
email:
498+
type: string
499+
username:
500+
type: string
501+
required:
502+
- email
503+
- username
504+
type: object
505+
commitDate:
506+
format: date-time
507+
type: string
508+
commitMessage:
509+
type: string
510+
commitSha:
511+
maxLength: 40
512+
minLength: 7
513+
pattern: (^[A-Fa-f0-9]+$|^<any-commit>$)
514+
type: string
515+
type: object
508516
phase:
509517
description: PromoteAppWithCommitPhase
510518
enum:
@@ -538,6 +546,29 @@ spec:
538546
- healthMessage
539547
- sync
540548
type: object
549+
commitInfo:
550+
properties:
551+
commitAuthorId:
552+
properties:
553+
email:
554+
type: string
555+
username:
556+
type: string
557+
required:
558+
- email
559+
- username
560+
type: object
561+
commitDate:
562+
format: date-time
563+
type: string
564+
commitMessage:
565+
type: string
566+
commitSha:
567+
maxLength: 40
568+
minLength: 7
569+
pattern: (^[A-Fa-f0-9]+$|^<any-commit>$)
570+
type: string
571+
type: object
541572
phase:
542573
description: PromoteAppWithPRPhase
543574
enum:

0 commit comments

Comments
 (0)