--- # Source: headlamp/charts/headlamp/templates/service.yaml apiVersion: v1 kind: Service metadata: name: headlamp namespace: headlamp labels: helm.sh/chart: headlamp-0.38.0 app.kubernetes.io/name: headlamp app.kubernetes.io/instance: headlamp app.kubernetes.io/version: "0.38.0" app.kubernetes.io/managed-by: Helm spec: type: ClusterIP ports: - port: 80 targetPort: http protocol: TCP name: http selector: app.kubernetes.io/name: headlamp app.kubernetes.io/instance: headlamp # Source: headlamp/charts/headlamp/templates/deployment.yaml # This block of code is used to extract the values from the env. # This is done to check if the values are non-empty and if they are, they are used in the deployment.yaml.