Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Ortel <jortel@redhat.com>
  • Loading branch information
jortel committed Sep 10, 2024
1 parent a3a692c commit b919e7d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions roles/tackle/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ experimental_deploy_kai: false

kai_fqin: "{{ lookup('env', 'RELATED_IMAGE_KAI') }}"

kai_component_name: "kai-api"
kai_service_name: "{{ kai_component_name }}"
kai_api_key_secret_name: kai-api-keys
kai_jwt_secret_name: kai-jwt-secret
kai_bam_secret_key: genai_key
Expand Down
2 changes: 2 additions & 0 deletions roles/tackle/templates/deployment-hub.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ spec:
- name: DISCOVERY_ENABLED
value: "false"
{% endif %}
- name: KAI_URL
value: "http://{{ kai_service_name }}.{{ app_namespace }}.svc:8080"
ports:
- containerPort: {{ hub_port }}
protocol: TCP
Expand Down
2 changes: 2 additions & 0 deletions roles/tackle/templates/deployment-ui.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ spec:
{% endif %}
- name: RWX_SUPPORTED
value: "{{ rwx_supported | string | lower }}"
- name: KAI_URL
value: "{{ hub_url }}/services/kai"
ports:
- containerPort: {{ ui_port }}
protocol: TCP
Expand Down
2 changes: 1 addition & 1 deletion roles/tackle/templates/kai/kai-api-service.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: Service
metadata:
name: kai-api
name: "{{ kai_component_name }}"
namespace: "{{ app_namespace }}"
spec:
selector:
Expand Down

0 comments on commit b919e7d

Please sign in to comment.