Skip to content

Commit

Permalink
fix ingress and service metadata in registries helm charts
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Vala <mvala@redhat.com>
  • Loading branch information
sparkoo committed Jul 22, 2019
1 parent c180333 commit bb0af81
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: che-devfile-registry
name: devfile-registry
annotations:
kubernetes.io/ingress.class: "nginx"
spec:
Expand All @@ -20,7 +20,7 @@ spec:
paths:
- path: /
backend:
serviceName: che-devfile-registry
serviceName: devfile-registry
servicePort: 8080
{{- if .Values.global.tls.enabled }}
tls:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ apiVersion: v1
kind: Service
metadata:
labels:
app: che-devfile-registry
name: che-devfile-registry
app: che
component: devfile-registry
name: devfile-registry
spec:
ports:
- protocol: TCP
port: 8080
targetPort: 8080
selector:
app: che-devfile-registry
app: che
component: devfile-registry
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: che-plugin-registry
name: plugin-registry
annotations:
kubernetes.io/ingress.class: "nginx"
spec:
Expand All @@ -20,7 +20,7 @@ spec:
paths:
- path: /
backend:
serviceName: che-plugin-registry
serviceName: plugin-registry
servicePort: 8080
{{- if .Values.global.tls.enabled }}
tls:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ apiVersion: v1
kind: Service
metadata:
labels:
app: che-plugin-registry
name: che-plugin-registry
app: che
component: plugin-registry
name: plugin-registry
spec:
ports:
- protocol: TCP
port: 8080
targetPort: 8080
selector:
app: che-plugin-registry
app: che
component: plugin-registry
4 changes: 2 additions & 2 deletions deploy/kubernetes/helm/che/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ global:
runAsUser: 1724
fsGroup: 1724
postgresDebugLogs: false
cheDevfileRegistryUrlFormat: "che-devfile-registry-%s.%s"
chePluginRegistryUrlFormat: "che-plugin-registry-%s.%s"
cheDevfileRegistryUrlFormat: "devfile-registry-%s.%s"
chePluginRegistryUrlFormat: "plugin-registry-%s.%s"

che:
workspace: {}
Expand Down

0 comments on commit bb0af81

Please sign in to comment.