Skip to content

Commit

Permalink
ui:rename ui to chatqna-ui
Browse files Browse the repository at this point in the history
Also use specific image version instead of latest.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
  • Loading branch information
lianhao committed Aug 7, 2024
1 parent 8f3e06b commit f1defed
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ name: ui
description: A Helm chart to the UI for chatQnA workload
type: application
version: 0.8.0
appVersion: "1.0.0"
appVersion: "v0.8"
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
{{- end }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: ui
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
replicaCount: 1

image:
repository: opea/chatqna-conversation-ui:latest
repository: opea/chatqna-conversation-ui
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
# tag: ""
tag: ""

imagePullSecrets: []
nameOverride: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: ui-config
name: chatqna-ui-config
labels:
helm.sh/chart: ui-0.8.0
app.kubernetes.io/name: ui
app.kubernetes.io/instance: ui
app.kubernetes.io/version: "1.0.0"
app.kubernetes.io/instance: chatqna-ui
app.kubernetes.io/version: "v0.8"
app.kubernetes.io/managed-by: Helm
data:
http_proxy: ""
Expand All @@ -32,12 +32,12 @@ data:
apiVersion: v1
kind: Service
metadata:
name: ui
name: chatqna-ui
labels:
helm.sh/chart: ui-0.8.0
app.kubernetes.io/name: ui
app.kubernetes.io/instance: ui
app.kubernetes.io/version: "1.0.0"
app.kubernetes.io/instance: chatqna-ui
app.kubernetes.io/version: "v0.8"
app.kubernetes.io/managed-by: Helm
spec:
type: ClusterIP
Expand All @@ -48,7 +48,7 @@ spec:
name: ui
selector:
app.kubernetes.io/name: ui
app.kubernetes.io/instance: ui
app.kubernetes.io/instance: chatqna-ui
---
# Source: ui/templates/deployment.yaml
# Copyright (C) 2024 Intel Corporation
Expand All @@ -57,26 +57,26 @@ spec:
apiVersion: apps/v1
kind: Deployment
metadata:
name: ui
name: chatqna-ui
labels:
helm.sh/chart: ui-0.8.0
app.kubernetes.io/name: ui
app.kubernetes.io/instance: ui
app.kubernetes.io/version: "1.0.0"
app.kubernetes.io/instance: chatqna-ui
app.kubernetes.io/version: "v0.8"
app.kubernetes.io/managed-by: Helm
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: ui
app.kubernetes.io/instance: ui
app.kubernetes.io/instance: chatqna-ui
template:
metadata:
labels:
helm.sh/chart: ui-0.8.0
app.kubernetes.io/name: ui
app.kubernetes.io/instance: ui
app.kubernetes.io/version: "1.0.0"
app.kubernetes.io/instance: chatqna-ui
app.kubernetes.io/version: "v0.8"
app.kubernetes.io/managed-by: Helm
spec:
securityContext:
Expand All @@ -85,7 +85,7 @@ spec:
- name: ui
envFrom:
- configMapRef:
name: ui-config
name: chatqna-ui-config
- configMapRef:
name: extra-env-config
optional: true
Expand Down

0 comments on commit f1defed

Please sign in to comment.