UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 14f4ef21 authored by Thomas Runyon's avatar Thomas Runyon
Browse files

identify namespaces that dont use istio via label. Enable istio in twistlock

parent 6bb4d74a
No related branches found
No related tags found
2 merge requests!690Draft: Add istio-injection labels,!500identify namespaces that dont use istio via label. Enable istio in twistlock
Pipeline #278671 passed
Showing
with 27 additions and 2 deletions
......@@ -3,6 +3,9 @@ apiVersion: v1
kind: Namespace
metadata:
labels:
app: {{ .Release.Name }}-anchore
app.kubernetes.io/name: anchore
app.kubernetes.io/component: "security"
{{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
name: anchore
{{- end }}
\ No newline at end of file
......@@ -6,5 +6,6 @@ metadata:
app.kubernetes.io/name: authservice
app.kubernetes.io/component: "core"
{{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
name: argocd
{{- end }}
......@@ -9,5 +9,6 @@ metadata:
app.kubernetes.io/name: gatekeeper
app.kubernetes.io/component: "core"
{{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
name: gatekeeper-system
{{- end }}
\ No newline at end of file
{{- if or .Values.addons.gitlab.enabled .Values.addons.gitlabRunner.enabled }}
apiVersion: v1
kind: Namespace
metadata:
labels:
app.kubernetes.io/name: gitlab-runner
app.kubernetes.io/component: "developer-tools"
{{- include "commonLabels" . | nindent 4}}
istio-injection: enabled
name: gitlab-runner
{{- end }}
\ No newline at end of file
......@@ -6,5 +6,6 @@ metadata:
app.kubernetes.io/name: gitlab
app.kubernetes.io/component: "developer-tools"
{{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
name: gitlab
{{- end }}
\ No newline at end of file
......@@ -7,4 +7,5 @@ metadata:
app.kubernetes.io/name: istio-controlplane
app.kubernetes.io/component: "core"
{{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
{{- end }}
\ No newline at end of file
......@@ -5,7 +5,7 @@ kind: Namespace
metadata:
name: {{ $name }}
labels:
istio-injection: disabled-because-keycloak-hates-istio
istio-injection: disabled
app.kubernetes.io/name: {{ $name }}
app.kubernetes.io/component: "security-tools"
{{- include "commonLabels" . | nindent 4}}
......
......@@ -7,4 +7,5 @@ metadata:
app.kubernetes.io/name: eck-operator
app.kubernetes.io/component: "core"
{{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
{{- end }}
\ No newline at end of file
......@@ -7,5 +7,6 @@ metadata:
app.kubernetes.io/name: mattermost
app.kubernetes.io/component: "collaboration-tools"
{{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
name: mattermost
{{- end }}
\ No newline at end of file
......@@ -8,4 +8,5 @@ metadata:
app.kubernetes.io/name: mattermost-operator
app.kubernetes.io/component: "collaboration-tools"
{{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
{{- end }}
......@@ -8,4 +8,5 @@ metadata:
app.kubernetes.io/name: minioOperator
app.kubernetes.io/component: "application-utilities"
{{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
{{- end }}
\ No newline at end of file
......@@ -8,4 +8,5 @@ metadata:
app.kubernetes.io/name: minio
app.kubernetes.io/component: "application-utilities"
{{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
{{- end }}
......@@ -7,4 +7,5 @@ metadata:
app.kubernetes.io/name: monitoring
app.kubernetes.io/component: "core"
{{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
{{- end }}
\ No newline at end of file
......@@ -7,4 +7,5 @@ metadata:
app.kubernetes.io/name: twistlock
app.kubernetes.io/component: "security"
{{- include "commonLabels" . | nindent 4}}
istio-injection: enabled
{{- end }}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment