Bladeren bron

HUE-9094 [k8s] Rename gethue-website service to website

Romain 6 jaren geleden
bovenliggende
commit
e4df7e6d86

+ 1 - 1
tools/kubernetes/helm/website/templates/NOTES.txt

@@ -20,7 +20,7 @@ Run below commands to get the recommended URLs:
 
 {{ else }}
 
-  export WEBSITE_PORT=$(kubectl get service gethue-website -o jsonpath="{.spec.ports[*].nodePort}" --namespace {{ .Release.Namespace }})
+  export WEBSITE_PORT=$(kubectl get service website -o jsonpath="{.spec.ports[*].nodePort}" --namespace {{ .Release.Namespace }})
   export DOCS_PORT=$(kubectl get service docs -o jsonpath="{.spec.ports[*].nodePort}" --namespace {{ .Release.Namespace }})
 
   echo http://$WEB_HOST:$WEBSITE_PORT

+ 5 - 5
tools/kubernetes/helm/website/templates/deployment-website.gethue.yaml

@@ -2,21 +2,21 @@
 apiVersion: apps/v1
 kind: Deployment
 metadata:
-  name: gethue-website
+  name: website
   labels:
-    deployment: gethue-website
+    deployment: website
 spec:
   selector:
     matchLabels:
-      pod: gethue-website
+      pod: website
   replicas: 1
   template:
     metadata:
       labels:
-        pod: gethue-website
+        pod: website
     spec:
       containers:
-      - name: gethue-website
+      - name: website
         image: {{ .Values.image.registry }}/website:latest
         imagePullPolicy: Always
         ports:

+ 1 - 1
tools/kubernetes/helm/website/templates/ingress-http.yaml

@@ -25,7 +25,7 @@ spec:
     http:
       paths:
       - backend:
-          serviceName: gethue-website
+          serviceName: website
           servicePort: 80
         path: /
   {{ end }}

+ 1 - 1
tools/kubernetes/helm/website/templates/ingress-https.yaml

@@ -28,7 +28,7 @@ spec:
     http:
       paths:
       - backend:
-          serviceName: gethue-website
+          serviceName: website
           servicePort: 80
         path: /
   {{ end }}

+ 4 - 4
tools/kubernetes/helm/website/templates/service-website.gethue.yaml

@@ -2,14 +2,14 @@
 apiVersion: v1
 kind: Service
 metadata:
-  name: gethue-website
+  name: website
   labels:
-    pod: gethue-website
+    pod: website
 spec:
   selector:
-    pod: gethue-website
+    pod: website
   ports:
-  - name: gethue-website
+  - name: website
     port: 9002
     targetPort: 80
   type: NodePort