From 8ffeef49fa061e77181f007de4a133ac0c441a78 Mon Sep 17 00:00:00 2001 From: Waleed Malik Date: Thu, 20 May 2021 10:14:51 +0500 Subject: [PATCH] Add samples for CRs --- .../samples/jiraservicedesk_v1alpha1_customer.yaml | 9 ++++++--- config/samples/jiraservicedesk_v1alpha1_project.yaml | 12 +++++++++--- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/config/samples/jiraservicedesk_v1alpha1_customer.yaml b/config/samples/jiraservicedesk_v1alpha1_customer.yaml index 2b95af8..cd38466 100644 --- a/config/samples/jiraservicedesk_v1alpha1_customer.yaml +++ b/config/samples/jiraservicedesk_v1alpha1_customer.yaml @@ -1,7 +1,10 @@ apiVersion: jiraservicedesk.stakater.com/v1alpha1 kind: Customer metadata: - name: customer-sample + name: customer spec: - # Add fields here - foo: bar + name: sample + email: samplecustomer@sample.com + projects: + - TEST1 + - TEST2 \ No newline at end of file diff --git a/config/samples/jiraservicedesk_v1alpha1_project.yaml b/config/samples/jiraservicedesk_v1alpha1_project.yaml index 067f7c0..cce4a5d 100644 --- a/config/samples/jiraservicedesk_v1alpha1_project.yaml +++ b/config/samples/jiraservicedesk_v1alpha1_project.yaml @@ -1,7 +1,13 @@ apiVersion: jiraservicedesk.stakater.com/v1alpha1 kind: Project metadata: - name: project-sample + name: stakater spec: - # Add fields here - foo: bar + name: stakater + key: STK + projectTypeKey: service_desk + projectTemplateKey: com.atlassian.servicedesk:itil-v2-service-desk-project + description: "Sample project for jira-service-desk-operator" + assigneeType: PROJECT_LEAD + leadAccountId: 5ebfbc3ead226b0ba46c3590 + url: https://stakater.com \ No newline at end of file