mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-05 12:51:03 -05:00
968cdc1a38
* cli: move internal packages Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * cli: fix buildfiles Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * bazel: fix exclude dir Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * cli: move back libraries that will not be used by TF provider Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> --------- Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
{{- if.Values.serviceMonitor.enabled }}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ template "aws-load-balancer-controller.fullname" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
{{- with .Values.serviceAnnotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
labels:
|
|
{{- include "aws-load-balancer-controller.labels" . | nindent 4 }}
|
|
spec:
|
|
ports:
|
|
- port: 8080
|
|
name: metrics-server
|
|
targetPort: metrics-server
|
|
selector:
|
|
{{- include "aws-load-balancer-controller.selectorLabels" . | nindent 4 }}
|
|
---
|
|
{{- end }}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ template "aws-load-balancer-controller.webhookService" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
{{- with .Values.serviceAnnotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
labels:
|
|
{{- include "aws-load-balancer-controller.labels" . | nindent 4 }}
|
|
app.kubernetes.io/component: webhook
|
|
prometheus.io/service-monitor: "false"
|
|
spec:
|
|
ports:
|
|
- port: 443
|
|
name: webhook-server
|
|
targetPort: webhook-server
|
|
selector:
|
|
{{- include "aws-load-balancer-controller.selectorLabels" . | nindent 4 }}
|