UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 234c3674 authored by Michael McLeroy's avatar Michael McLeroy
Browse files

Merge branch 'istio-namespace-labels' into 'master'

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

See merge request platform-one/big-bang/bigbang!500
parents a9b7bf08 24e81c77
No related branches found
No related tags found
1 merge request!500identify namespaces that dont use istio via label. Enable istio in twistlock
Pipeline #418688 passed
...@@ -3,6 +3,9 @@ apiVersion: v1 ...@@ -3,6 +3,9 @@ apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
labels: labels:
app: {{ .Release.Name }}-anchore app.kubernetes.io/name: anchore
app.kubernetes.io/component: "security"
{{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
name: anchore name: anchore
{{- end }} {{- end }}
\ No newline at end of file
...@@ -6,5 +6,6 @@ metadata: ...@@ -6,5 +6,6 @@ metadata:
app.kubernetes.io/name: authservice app.kubernetes.io/name: authservice
app.kubernetes.io/component: "core" app.kubernetes.io/component: "core"
{{- include "commonLabels" . | nindent 4}} {{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
name: argocd name: argocd
{{- end }} {{- end }}
...@@ -9,5 +9,6 @@ metadata: ...@@ -9,5 +9,6 @@ metadata:
app.kubernetes.io/name: gatekeeper app.kubernetes.io/name: gatekeeper
app.kubernetes.io/component: "core" app.kubernetes.io/component: "core"
{{- include "commonLabels" . | nindent 4}} {{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
name: gatekeeper-system name: gatekeeper-system
{{- end }} {{- end }}
\ No newline at end of file
...@@ -6,5 +6,6 @@ metadata: ...@@ -6,5 +6,6 @@ metadata:
app.kubernetes.io/name: gitlab app.kubernetes.io/name: gitlab
app.kubernetes.io/component: "developer-tools" app.kubernetes.io/component: "developer-tools"
{{- include "commonLabels" . | nindent 4}} {{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
name: gitlab name: gitlab
{{- end }} {{- end }}
\ No newline at end of file
...@@ -7,4 +7,5 @@ metadata: ...@@ -7,4 +7,5 @@ metadata:
app.kubernetes.io/name: istio-controlplane app.kubernetes.io/name: istio-controlplane
app.kubernetes.io/component: "core" app.kubernetes.io/component: "core"
{{- include "commonLabels" . | nindent 4}} {{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
{{- end }} {{- end }}
\ No newline at end of file
...@@ -5,7 +5,7 @@ kind: Namespace ...@@ -5,7 +5,7 @@ kind: Namespace
metadata: metadata:
name: {{ $name }} name: {{ $name }}
labels: labels:
istio-injection: disabled-because-keycloak-hates-istio istio-injection: disabled
app.kubernetes.io/name: {{ $name }} app.kubernetes.io/name: {{ $name }}
app.kubernetes.io/component: "security-tools" app.kubernetes.io/component: "security-tools"
{{- include "commonLabels" . | nindent 4}} {{- include "commonLabels" . | nindent 4}}
......
...@@ -7,4 +7,5 @@ metadata: ...@@ -7,4 +7,5 @@ metadata:
app.kubernetes.io/name: eck-operator app.kubernetes.io/name: eck-operator
app.kubernetes.io/component: "core" app.kubernetes.io/component: "core"
{{- include "commonLabels" . | nindent 4}} {{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
{{- end }} {{- end }}
\ No newline at end of file
...@@ -7,5 +7,6 @@ metadata: ...@@ -7,5 +7,6 @@ metadata:
app.kubernetes.io/name: mattermost app.kubernetes.io/name: mattermost
app.kubernetes.io/component: "collaboration-tools" app.kubernetes.io/component: "collaboration-tools"
{{- include "commonLabels" . | nindent 4}} {{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
name: mattermost name: mattermost
{{- end }} {{- end }}
\ No newline at end of file
...@@ -7,4 +7,5 @@ metadata: ...@@ -7,4 +7,5 @@ metadata:
app.kubernetes.io/name: monitoring app.kubernetes.io/name: monitoring
app.kubernetes.io/component: "core" app.kubernetes.io/component: "core"
{{- include "commonLabels" . | nindent 4}} {{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
{{- end }} {{- end }}
\ No newline at end of file
...@@ -3,4 +3,9 @@ apiVersion: v1 ...@@ -3,4 +3,9 @@ apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: sonarqube name: sonarqube
labels:
app.kubernetes.io/name: sonarqube
app.kubernetes.io/component: "developer-tools"
{{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
{{- end }} {{- end }}
...@@ -7,4 +7,5 @@ metadata: ...@@ -7,4 +7,5 @@ metadata:
app.kubernetes.io/name: twistlock app.kubernetes.io/name: twistlock
app.kubernetes.io/component: "security" app.kubernetes.io/component: "security"
{{- include "commonLabels" . | nindent 4}} {{- include "commonLabels" . | nindent 4}}
istio-injection: enabled
{{- end }} {{- 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