diff --git a/charts/mondoo-operator/templates/deployment.yaml-z b/charts/mondoo-operator/templates/deployment.yaml-z deleted file mode 100644 index 24274d9b..00000000 --- a/charts/mondoo-operator/templates/deployment.yaml-z +++ /dev/null @@ -1,84 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ include "mondoo-operator.fullname" . }}-controller-manager - labels: - {{- include "mondoo-operator.labels" . | nindent 4 }} ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ include "mondoo-operator.fullname" . }}-k8s-resources-scanning - labels: - {{- include "mondoo-operator.labels" . | nindent 4 }} ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ include "mondoo-operator.fullname" . }}-webhook - labels: - {{- include "mondoo-operator.labels" . | nindent 4 }} ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ include "mondoo-operator.fullname" . }}-controller-manager - labels: - {{- include "mondoo-operator.labels" . | nindent 4 }} -spec: - replicas: {{ .Values.controllerManager.replicas }} - selector: - matchLabels: - app.kubernetes.io/name: mondoo-operator - {{- include "mondoo-operator.selectorLabels" . | nindent 6 }} - template: - metadata: - labels: - app.kubernetes.io/name: mondoo-operator - {{- include "mondoo-operator.selectorLabels" . | nindent 8 }} - annotations: - kubectl.kubernetes.io/default-container: manager - spec: - containers: - - args: {{- toYaml .Values.controllerManager.manager.args | nindent 8 }} - command: - - /mondoo-operator - env: - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: KUBERNETES_CLUSTER_DOMAIN - value: {{ quote .Values.kubernetesClusterDomain }} - image: {{ .Values.controllerManager.manager.image.repository }}:{{ .Values.controllerManager.manager.image.tag - | default .Chart.AppVersion }} - imagePullPolicy: {{ .Values.controllerManager.manager.imagePullPolicy }} - livenessProbe: - httpGet: - path: /healthz - port: 8081 - initialDelaySeconds: 15 - periodSeconds: 20 - name: manager - ports: - - containerPort: 8080 - name: metrics - protocol: TCP - readinessProbe: - httpGet: - path: /readyz - port: 8081 - initialDelaySeconds: 5 - periodSeconds: 10 - resources: {{- toYaml .Values.controllerManager.manager.resources | nindent 10 - }} - securityContext: {{- toYaml .Values.controllerManager.manager.containerSecurityContext - | nindent 10 }} - securityContext: - runAsNonRoot: true - serviceAccountName: {{ include "mondoo-operator.fullname" . }}-controller-manager - terminationGracePeriodSeconds: 10 \ No newline at end of file diff --git a/charts/mondoo-operator/templates/metrics-service.yaml-z b/charts/mondoo-operator/templates/metrics-service.yaml-z deleted file mode 100644 index 8cff6e77..00000000 --- a/charts/mondoo-operator/templates/metrics-service.yaml-z +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: {{ include "mondoo-operator.fullname" . }}-controller-manager-metrics-service - labels: - {{- include "mondoo-operator.labels" . | nindent 4 }} -spec: - type: {{ .Values.metricsService.type }} - selector: - app.kubernetes.io/name: mondoo-operator - {{- include "mondoo-operator.selectorLabels" . | nindent 4 }} - ports: - {{- .Values.metricsService.ports | toYaml | nindent 2 -}} \ No newline at end of file