-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #135 from IBM/fk-misc
Miscellaneous changes
- Loading branch information
Showing
8 changed files
with
76 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
automation-roles/50-install-cloud-pak/cp4d/cp4d-cartridge-install/tasks/cp4d-pre-wd.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
automation-roles/50-install-cloud-pak/cp4d/cp4d-cartridge-install/tasks/cp4d-pre-wks-45.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
- block: | ||
- debug: | ||
var: _p_current_cp4d_cluster | ||
|
||
- name: Prepare yaml file for Watson Knowledge Studio CR | ||
template: | ||
src: watson-ks-cr-45.j2 | ||
dest: "{{ status_dir }}/cp4d/watson-ks-cr-45-{{ _p_current_cp4d_cluster.project }}.yml" | ||
|
||
- name: Create Watson Knowledge Studio CR | ||
shell: | | ||
oc apply -f {{ status_dir }}/cp4d/watson-ks-cr-45-{{ _p_current_cp4d_cluster.project }}.yml | ||
when: _p_current_cp4d_cluster.cp4d_version >= "4.5.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...ation-roles/50-install-cloud-pak/cp4d/cp4d-cartridge-install/templates/watson-ks-cr-45.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: knowledgestudio.watson.ibm.com/v1 | ||
kind: KnowledgeStudio | ||
metadata: | ||
name: wks | ||
namespace: {{ _p_current_cp4d_cluster.project }} | ||
spec: | ||
license: | ||
accept: {{ _cpd_accept_licenses | default(False) }} | ||
global: | ||
storageClassName: {{ ocp_storage_class_block }} | ||
size: {{ _current_cp4d_cartridge.size }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters