X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=sample-services%2Fhello-world%2Fhello-world-chart%2Ftemplates%2Fdeployment.yaml;fp=sample-services%2Fhello-world%2Fhello-world-chart%2Ftemplates%2Fdeployment.yaml;h=8b408ec37380462bc17a544698af3f1c3b39ad56;hb=0f1c16fd071c70215eed25fa45ecce4803c83d72;hp=57f5357904ed000b46dc94b90891b05682f6a6d1;hpb=2f3b268bbbe457a9b5078670dae7e78571bdb265;p=nonrtric.git diff --git a/sample-services/hello-world/hello-world-chart/templates/deployment.yaml b/sample-services/hello-world/hello-world-chart/templates/deployment.yaml index 57f53579..8b408ec3 100644 --- a/sample-services/hello-world/hello-world-chart/templates/deployment.yaml +++ b/sample-services/hello-world/hello-world-chart/templates/deployment.yaml @@ -2,7 +2,7 @@ # ========================LICENSE_START================================= # O-RAN-SC # %% -# Copyright (C) 2023: OpenInfra Foundation Europe +# Copyright (C) 2023-2024: OpenInfra Foundation Europe # %% # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -21,18 +21,16 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: {{ include "hello-world-chart.fullname" . }} - labels: - {{- include "hello-world-chart.labels" . | nindent 4 }} + name: hello-world-chart-deployment spec: replicas: {{ .Values.replicaCount }} selector: matchLabels: - {{- include "hello-world-chart.selectorLabels" . | nindent 8 }} + app: hello-world-chart-container template: metadata: labels: - {{- include "hello-world-chart.selectorLabels" . | nindent 12 }} + app: hello-world-chart-container spec: containers: - name: {{ .Chart.Name }}