Skip to content

Commit

Permalink
[MISC] Workload definition type fix in defaults (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhprasad-sap authored May 13, 2024
1 parent 1cdd0b9 commit dca344a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 27 deletions.
6 changes: 0 additions & 6 deletions files/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,3 @@ imagePullSecrets: []

workloads:

tenantOperations:
provisioning: []
upgrade: []
deprovisioning: []

contentJobs: []
4 changes: 2 additions & 2 deletions files/workloads.yaml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ workloads:
{{#hasHtml5Repo}}
- {{appName}}-html5-repo-host-bind
{{/hasHtml5Repo}}
deploymentDefinition:
jobDefinition:
type: Content
image:

Expand All @@ -48,7 +48,7 @@ workloads:
- {{appName}}-saas-registry-bind
- {{appName}}-service-manager-bind
{{/hasMultitenancy}}
deploymentDefinition:
jobDefinition:
env:
- name: CDS_CONFIG
value:
Expand Down
9 changes: 2 additions & 7 deletions test/files/expectedChart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ workloads:
- bookshop-uaa-bind
- bookshop-saas-registry-bind
- bookshop-html5-repo-host-bind
deploymentDefinition:
jobDefinition:
type: Content
image: null
tenant-job:
Expand All @@ -145,14 +145,9 @@ workloads:
- bookshop-uaa-bind
- bookshop-saas-registry-bind
- bookshop-service-manager-bind
deploymentDefinition:
jobDefinition:
env:
- name: CDS_CONFIG
value: null
type: TenantOperation
image: null
tenantOperations:
provisioning: []
upgrade: []
deprovisioning: []
contentJobs: []
9 changes: 2 additions & 7 deletions test/files/expectedChart/valuesWithDestination.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ workloads:
- bookshop-uaa-bind
- bookshop-saas-registry-bind
- bookshop-html5-repo-host-bind
deploymentDefinition:
jobDefinition:
type: Content
image: null
tenant-job:
Expand All @@ -145,14 +145,9 @@ workloads:
- bookshop-uaa-bind
- bookshop-saas-registry-bind
- bookshop-service-manager-bind
deploymentDefinition:
jobDefinition:
env:
- name: CDS_CONFIG
value: null
type: TenantOperation
image: null
tenantOperations:
provisioning: []
upgrade: []
deprovisioning: []
contentJobs: []
5 changes: 0 additions & 5 deletions test/files/expectedChart/valuesWithMTA.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,3 @@ workloads:
env:
- name: TENANT_HOST_PATTERN
value: ^(.*)-${default-uri}
tenantOperations:
provisioning: []
upgrade: []
deprovisioning: []
contentJobs: []

0 comments on commit dca344a

Please sign in to comment.