Compare commits
4 Commits
otel-policy
...
spmsa
| Author | SHA1 | Date | |
|---|---|---|---|
| eb2eebaa34 | |||
| 2e00aceed1 | |||
| 1eb0e6c630 | |||
| bcf6d5b582 |
@@ -1,2 +1,3 @@
|
|||||||
_manifest.yaml
|
_manifest.yaml
|
||||||
_resources.yaml
|
_resources.yaml
|
||||||
|
*.tgz
|
||||||
|
|||||||
@@ -1,36 +1,27 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: atlantis-host-cluster-resources
|
name: atlantis-cluster-resources
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
# annotations: # close, but no cigar
|
# annotations: # close, but no cigar
|
||||||
# argocd.argoproj.io/compare-options: ServerSideDiff=true,IncludeMutationWebhook=true
|
# argocd.argoproj.io/compare-options: ServerSideDiff=true,IncludeMutationWebhook=true
|
||||||
spec:
|
spec:
|
||||||
project: aux
|
project: atlantis
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: false
|
prune: false
|
||||||
selfHeal: false
|
selfHeal: false
|
||||||
ignoreDifferences:
|
# ignoreDifferences:
|
||||||
- kind: Secret
|
# - kind: Secret
|
||||||
name: prod-rabbitmq
|
# name: prod-rabbitmq
|
||||||
jqPathExpressions:
|
# jqPathExpressions:
|
||||||
- '.data'
|
# - '.data'
|
||||||
- '.metadata.annotations.clone'
|
# - '.metadata.annotations.clone'
|
||||||
- '.metadata.labels'
|
# - '.metadata.labels'
|
||||||
- kind: Secret
|
|
||||||
name: prod-redis
|
|
||||||
jqPathExpressions:
|
|
||||||
- '.data'
|
|
||||||
- '.metadata.annotations.clone'
|
|
||||||
- '.metadata.labels'
|
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: resources/atlantis/host-manifests
|
path: resources/atlantis
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
|
||||||
targetRevision: main
|
|
||||||
path: 'resources/atlantis/manifests/prod'
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
dependencies:
|
||||||
|
- name: redis
|
||||||
|
repository: https://charts.bitnami.com/bitnami
|
||||||
|
version: 20.1.7
|
||||||
|
digest: sha256:9c9be148366bb3d50f7394ba5a33e1a00a087b5ed61d2bcf1faec9b369e76582
|
||||||
|
generated: "2024-10-08T13:21:10.374993273+02:00"
|
||||||
@@ -1,18 +1,12 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: atlantis
|
name: atlantis
|
||||||
description: Atlantis map and simulation service
|
description: Atlantis map and simulation service
|
||||||
# A chart can be either an 'application' or a 'library' chart.
|
|
||||||
#
|
|
||||||
# Application charts are a collection of templates that can be packaged into versioned archives
|
|
||||||
# to be deployed.
|
|
||||||
#
|
|
||||||
# Library charts provide useful utilities or functions for the chart developer. They're included as
|
|
||||||
# a dependency of application charts to inject those utilities and functions into the rendering
|
|
||||||
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
|
|
||||||
type: application
|
type: application
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
|
||||||
# to the chart and its templates, including the app version.
|
|
||||||
version: v2.87.1
|
version: v2.87.1
|
||||||
# This is the version number of the application being deployed. This version number should be
|
|
||||||
# incremented each time you make changes to the application.
|
|
||||||
appVersion: v2.87.1
|
appVersion: v2.87.1
|
||||||
|
dependencies:
|
||||||
|
- name: redis
|
||||||
|
version: 20.1.7
|
||||||
|
repository: https://charts.bitnami.com/bitnami
|
||||||
|
condition: redis.enabled
|
||||||
|
alias: redis
|
||||||
|
|||||||
@@ -2,14 +2,15 @@
|
|||||||
apiVersion: postgresql.cnpg.io/v1
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
kind: Cluster
|
kind: Cluster
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "Atlantis.fullname" . }}
|
name: {{ include "Atlantis.fullname" . }}-db
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
annotations:
|
annotations:
|
||||||
linkerd.io/inject: disabled
|
linkerd.io/inject: disabled
|
||||||
labels:
|
labels:
|
||||||
{{- include "Atlantis.labels" . | nindent 4 }}
|
{{- include "Atlantis.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
instances: {{ .Values.cluster.instances | default "2" }}
|
instances: {{ .Values.cluster.instances | default "1" }}
|
||||||
|
imageName: ghcr.io/cloudnative-pg/postgis:15-3.3
|
||||||
# Example of rolling update strategy:
|
# Example of rolling update strategy:
|
||||||
# - unsupervised: automated update of the primary once all
|
# - unsupervised: automated update of the primary once all
|
||||||
# replicas have been upgraded (default)
|
# replicas have been upgraded (default)
|
||||||
@@ -18,9 +19,36 @@ spec:
|
|||||||
primaryUpdateStrategy: unsupervised
|
primaryUpdateStrategy: unsupervised
|
||||||
backup:
|
backup:
|
||||||
retentionPolicy: {{ .Values.cluster.backupRetention | default "60d" }}
|
retentionPolicy: {{ .Values.cluster.backupRetention | default "60d" }}
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
size: {{ .Values.cluster.size | default "5Gi" }}
|
size: {{ .Values.cluster.size | default "5Gi" }}
|
||||||
|
{{- with .Values.cluster.bootstrap }}
|
||||||
|
bootstrap:
|
||||||
|
{{- if .enabled }}
|
||||||
|
pg_basebackup:
|
||||||
|
source: archmaester
|
||||||
|
externalClusters:
|
||||||
|
- name: archmaester
|
||||||
|
connectionParameters:
|
||||||
|
host: {{ .source.db }}-rw.{{ .source.namespace }}
|
||||||
|
user: streaming_replica
|
||||||
|
sslmode: verify-full
|
||||||
|
sslKey:
|
||||||
|
name: {{ .source.db }}-replication
|
||||||
|
key: tls.key
|
||||||
|
sslCert:
|
||||||
|
name: {{ .source.db }}-replication
|
||||||
|
key: tls.crt
|
||||||
|
sslRootCert:
|
||||||
|
name: {{ .source.db }}-ca
|
||||||
|
key: ca.crt
|
||||||
|
{{- else }}
|
||||||
|
initdb:
|
||||||
|
postInitTemplateSQL:
|
||||||
|
- CREATE EXTENSION postgis;
|
||||||
|
- CREATE EXTENSION postgis_topology;
|
||||||
|
- CREATE EXTENSION fuzzystrmatch;
|
||||||
|
- CREATE EXTENSION postgis_tiger_geocoder;
|
||||||
|
- ALTER USER app WITH SUPERUSER;
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "Atlantis.fullname" . }}
|
name: {{ include "Atlantis.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "Atlantis.labels" . | nindent 4 }}
|
{{- include "Atlantis.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ apiVersion: autoscaling/v2beta1
|
|||||||
kind: HorizontalPodAutoscaler
|
kind: HorizontalPodAutoscaler
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "Atlantis.fullname" . }}
|
name: {{ include "Atlantis.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "Atlantis.labels" . | nindent 4 }}
|
{{- include "Atlantis.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ apiVersion: extensions/v1beta1
|
|||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ $fullName }}
|
name: {{ $fullName }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "Atlantis.labels" . | nindent 4 }}
|
{{- include "Atlantis.labels" . | nindent 4 }}
|
||||||
{{- with .Values.ingress.annotations }}
|
{{- with .Values.ingress.annotations }}
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
apiVersion: cilium.io/v2
|
||||||
|
kind: CiliumNetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: allow-atlantis-services
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
spec:
|
||||||
|
egress:
|
||||||
|
- toEndpoints:
|
||||||
|
- matchLabels:
|
||||||
|
k8s:io.kubernetes.pod.namespace: dapr-system
|
||||||
|
- toEndpoints:
|
||||||
|
- matchLabels:
|
||||||
|
k8s:io.kubernetes.pod.namespace: {{ .Values.rabbitmq.namespace | default "rabbitmq" }}
|
||||||
|
- toEndpoints:
|
||||||
|
- matchLabels:
|
||||||
|
k8s:io.kubernetes.pod.namespace: {{ .Values.tracing.namespace | default "otel" }}
|
||||||
|
- toFQDNs:
|
||||||
|
- matchName: '*.oceanbox.io'
|
||||||
|
- matchName: api.github.com
|
||||||
|
- matchName: dapr.github.io
|
||||||
|
- matchName: gitlab.com
|
||||||
|
- matchPattern: '*.gitlab.com'
|
||||||
|
- matchPattern: "*.k1.itpartner.no"
|
||||||
|
- matchName: analytics.loft.rocks
|
||||||
|
endpointSelector:
|
||||||
|
matchLabels: {}
|
||||||
+7
-7
@@ -2,21 +2,21 @@ apiVersion: dapr.io/v1alpha1
|
|||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: pubsub
|
name: pubsub
|
||||||
namespace: atlantis
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
type: pubsub.rabbitmq
|
|
||||||
version: v1
|
version: v1
|
||||||
|
type: pubsub.rabbitmq
|
||||||
metadata:
|
metadata:
|
||||||
- name: hostname
|
- name: hostname
|
||||||
value: prod-rabbitmq.rabbitmq.svc
|
value: {{ .Values.rabbitmq.service }}.{{ .Values.rabbitmq.namespace | default "rabbitmq" }}
|
||||||
- name: protocol
|
|
||||||
value: amqp
|
|
||||||
- name: username
|
- name: username
|
||||||
value: user
|
value: {{ .Values.rabbitmq.username }}
|
||||||
- name: password
|
- name: password
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: prod-rabbitmq
|
name: {{ .Values.rabbitmq.secretName | default (printf "%s-rabbitmq" .Release.Name) }}
|
||||||
key: rabbitmq-password
|
key: rabbitmq-password
|
||||||
|
- name: protocol
|
||||||
|
value: amqp
|
||||||
- name: durable
|
- name: durable
|
||||||
value: true
|
value: true
|
||||||
- name: deletedWhenUnused
|
- name: deletedWhenUnused
|
||||||
@@ -3,6 +3,7 @@ kind: PersistentVolumeClaim
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "Atlantis.fullname" . }}
|
name: {{ template "Atlantis.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
{{- with .Values.persistence.annotations }}
|
{{- with .Values.persistence.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{ toYaml . | indent 4 }}
|
{{ toYaml . | indent 4 }}
|
||||||
|
|||||||
@@ -0,0 +1,57 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kyverno/clone: "true"
|
||||||
|
name: {{ .Release.Name }}-rabbitmq
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
type: Opaque
|
||||||
|
data:
|
||||||
|
---
|
||||||
|
{{- if not .Values.redis.enabled }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kyverno/clone: "true"
|
||||||
|
name: {{ .Release.Name }}-redis
|
||||||
|
type: Opaque
|
||||||
|
data:
|
||||||
|
{{- end }}
|
||||||
|
---
|
||||||
|
{{- if not .Values.cluster.enabled }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kyverno/clone: "true"
|
||||||
|
name: {{ include "Atlantis.fullname" . }}-db-superuser
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
type: kubernetes.io/basic-auth
|
||||||
|
data:
|
||||||
|
username:
|
||||||
|
password:
|
||||||
|
{{- else }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kyverno/clone: "true"
|
||||||
|
name: {{ .Values.cluster.bootstrap.source.db }}-replication
|
||||||
|
type: kubernetes.io/tls
|
||||||
|
data:
|
||||||
|
tls.crt: ""
|
||||||
|
tls.key: ""
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
type: Opaque
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kyverno/clone: "true"
|
||||||
|
name: {{ .Values.cluster.bootstrap.source.db }}-ca
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
data:
|
||||||
|
ca.crt: ""
|
||||||
|
ca.key: ""
|
||||||
|
{{- end }}
|
||||||
@@ -2,6 +2,7 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "Atlantis.fullname" . }}
|
name: {{ include "Atlantis.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "Atlantis.labels" . | nindent 4 }}
|
{{- include "Atlantis.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ apiVersion: v1
|
|||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "Atlantis.serviceAccountName" . }}
|
name: {{ include "Atlantis.serviceAccountName" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "Atlantis.labels" . | nindent 4 }}
|
{{- include "Atlantis.labels" . | nindent 4 }}
|
||||||
{{- with .Values.serviceAccount.annotations }}
|
{{- with .Values.serviceAccount.annotations }}
|
||||||
|
|||||||
+5
-7
@@ -2,23 +2,21 @@ apiVersion: dapr.io/v1alpha1
|
|||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: statestore
|
name: statestore
|
||||||
namespace: atlantis
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
type: state.redis
|
type: state.redis
|
||||||
version: v1
|
version: v1
|
||||||
metadata:
|
metadata:
|
||||||
- name: redisHost
|
- name: redisHost
|
||||||
value: prod-redis-master.redis.svc:6379
|
value: {{ .Release.Name }}-redis-master:6379
|
||||||
- name: redisUsername
|
- name: redisUsername
|
||||||
value: default
|
value: default
|
||||||
- name: redisPassword
|
- name: redisPassword
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: prod-redis
|
name: {{ .Release.Name }}-redis
|
||||||
key: redis-password
|
key: redis-password
|
||||||
- name: actorStateStore
|
- name: actorStateStore
|
||||||
value: "true"
|
value: "true"
|
||||||
scopes:
|
scopes:
|
||||||
- prod-atlantis
|
- atlantis
|
||||||
- prod-petimeter
|
- {{ .Release.Name }}-atlantis
|
||||||
- prod-hipster
|
|
||||||
- prod-archmeister
|
|
||||||
+6
-2
@@ -2,6 +2,7 @@ apiVersion: dapr.io/v2alpha1
|
|||||||
kind: Subscription
|
kind: Subscription
|
||||||
metadata:
|
metadata:
|
||||||
name: hipster-events
|
name: hipster-events
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
topic: hipster
|
topic: hipster
|
||||||
routes:
|
routes:
|
||||||
@@ -10,12 +11,14 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
queueType: quorum
|
queueType: quorum
|
||||||
scopes:
|
scopes:
|
||||||
- staging-atlantis
|
- atlantis
|
||||||
|
- {{ .Release.Name}}-atlantis
|
||||||
---
|
---
|
||||||
apiVersion: dapr.io/v2alpha1
|
apiVersion: dapr.io/v2alpha1
|
||||||
kind: Subscription
|
kind: Subscription
|
||||||
metadata:
|
metadata:
|
||||||
name: inbox-events
|
name: inbox-events
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
topic: inbox
|
topic: inbox
|
||||||
routes:
|
routes:
|
||||||
@@ -24,4 +27,5 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
queueType: quorum
|
queueType: quorum
|
||||||
scopes:
|
scopes:
|
||||||
- staging-atlantis
|
- atlantis
|
||||||
|
- {{ .Release.Name}}-atlantis
|
||||||
+2
-2
@@ -2,10 +2,10 @@ apiVersion: dapr.io/v1alpha1
|
|||||||
kind: Configuration
|
kind: Configuration
|
||||||
metadata:
|
metadata:
|
||||||
name: tracing
|
name: tracing
|
||||||
namespace: atlantis
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
tracing:
|
tracing:
|
||||||
samplingRate: "1"
|
samplingRate: "1"
|
||||||
zipkin:
|
zipkin:
|
||||||
endpointAddress: " http://opentelemetry-collector.otel.svc:9411/api/v2/spans"
|
endpointAddress: {{ .Values.tracing.endpoint }}
|
||||||
|
|
||||||
@@ -3,21 +3,28 @@
|
|||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: registry.gitlab.com/oceanbox/atlantis
|
repository: registry.gitlab.com/oceanbox/atlantis
|
||||||
tag: v2.87.1
|
tag: v2.87.1
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
init:
|
init:
|
||||||
enabled: false
|
enabled: false
|
||||||
image: ubuntu:rolling
|
image: ubuntu:rolling
|
||||||
command: ["/bin/sh", "-c", "true"]
|
command: ["/bin/sh", "-c", "true"]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- name: LOG_LEVEL
|
- name: LOG_LEVEL
|
||||||
value: "3"
|
value: "3"
|
||||||
|
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: gitlab-pull-secret
|
- name: gitlab-pull-secret
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
|
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
create: true
|
create: true
|
||||||
# Annotations to add to the service account
|
# Annotations to add to the service account
|
||||||
@@ -25,9 +32,12 @@ serviceAccount:
|
|||||||
# The name of the service account to use.
|
# The name of the service account to use.
|
||||||
# If not set and create is true, a name is generated using the fullname template
|
# If not set and create is true, a name is generated using the fullname template
|
||||||
name: ""
|
name: ""
|
||||||
|
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
fsGroup: 2000
|
fsGroup: 2000
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
drop:
|
drop:
|
||||||
@@ -35,11 +45,13 @@ securityContext:
|
|||||||
readOnlyRootFilesystem: false
|
readOnlyRootFilesystem: false
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 8085
|
port: 8085
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: false
|
||||||
className: "nginx"
|
className: "nginx"
|
||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
@@ -53,17 +65,71 @@ ingress:
|
|||||||
- hosts:
|
- hosts:
|
||||||
- atlantis.srv.oceanbox.io
|
- atlantis.srv.oceanbox.io
|
||||||
secretName: atlantis-tls
|
secretName: atlantis-tls
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
size: 1G
|
size: 1G
|
||||||
storageClass: ""
|
storageClass: ""
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
|
|
||||||
cluster:
|
cluster:
|
||||||
enabled: false
|
enabled: true
|
||||||
instances: 2
|
instances: 1
|
||||||
backupEnabled: true
|
backupEnabled: true
|
||||||
backupRetention: 60d
|
backupRetention: 60d
|
||||||
size: 5Gi
|
size: 5Gi
|
||||||
|
bootstrap:
|
||||||
|
enabled: true
|
||||||
|
source:
|
||||||
|
db: prod-archmeister
|
||||||
|
namespace: atlantis
|
||||||
|
|
||||||
|
redis:
|
||||||
|
enabled: true
|
||||||
|
image:
|
||||||
|
repository: redis/redis-stack-server
|
||||||
|
tag: 7.2.0-v10
|
||||||
|
architecture: standalone
|
||||||
|
replica:
|
||||||
|
replicaCount: 1
|
||||||
|
command:
|
||||||
|
- "/opt/redis-stack/bin/redis-server"
|
||||||
|
- "--loadmodule"
|
||||||
|
- "/opt/redis-stack/lib/redisearch.so"
|
||||||
|
- "MAXSEARCHRESULTS"
|
||||||
|
- "10000"
|
||||||
|
- "MAXAGGREGATERESULTS"
|
||||||
|
- "10000"
|
||||||
|
- "--loadmodule"
|
||||||
|
- "/opt/redis-stack/lib/rejson.so"
|
||||||
|
auth:
|
||||||
|
enabled: true
|
||||||
|
sentinel: true
|
||||||
|
password: ""
|
||||||
|
usePasswordFiles: false
|
||||||
|
existingSecretPasswordKey: ""
|
||||||
|
# existingSecret: staging-redis
|
||||||
|
master:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: null
|
||||||
|
ephemeral-storage: 1024Mi
|
||||||
|
memory: 192Mi
|
||||||
|
requests:
|
||||||
|
cpu: 150m
|
||||||
|
ephemeral-storage: 50Mi
|
||||||
|
memory: 128Mi
|
||||||
|
|
||||||
|
tracing:
|
||||||
|
namespace: otel
|
||||||
|
endpoint: "http://opentelemetry-collector.otel:9411/api/v2/spans"
|
||||||
|
|
||||||
|
rabbitmq:
|
||||||
|
namespace: rabbitmq
|
||||||
|
service: staging-rabbitmq
|
||||||
|
username: user
|
||||||
|
# secretName: staging-rabbitmq
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
@@ -82,6 +148,7 @@ autoscaling:
|
|||||||
maxReplicas: 100
|
maxReplicas: 100
|
||||||
targetCPUUtilizationPercentage: 80
|
targetCPUUtilizationPercentage: 80
|
||||||
# targetMemoryUtilizationPercentage: 80
|
# targetMemoryUtilizationPercentage: 80
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|||||||
@@ -19,4 +19,3 @@ patches:
|
|||||||
path: deployment_patch.yaml
|
path: deployment_patch.yaml
|
||||||
resources:
|
resources:
|
||||||
- ../base
|
- ../base
|
||||||
- subscriptions.yaml
|
|
||||||
|
|||||||
+1
-6
@@ -1,8 +1,7 @@
|
|||||||
apiVersion: cilium.io/v2
|
piVersion: cilium.io/v2
|
||||||
kind: CiliumNetworkPolicy
|
kind: CiliumNetworkPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: allow-external-idp
|
name: allow-external-idp
|
||||||
namespace: idp
|
|
||||||
spec:
|
spec:
|
||||||
egress:
|
egress:
|
||||||
- toFQDNs:
|
- toFQDNs:
|
||||||
@@ -11,8 +10,4 @@ spec:
|
|||||||
- matchName: s3.k1.itpartner.no
|
- matchName: s3.k1.itpartner.no
|
||||||
- matchName: telemetry.cerbos.dev
|
- matchName: telemetry.cerbos.dev
|
||||||
endpointSelector: {}
|
endpointSelector: {}
|
||||||
# matchExpressions:
|
|
||||||
# - key: app.kubernetes.io/name
|
|
||||||
# operator: In
|
|
||||||
# values: [ cerbos, dex ]
|
|
||||||
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
apiVersion: kyverno.io/v1
|
|
||||||
kind: ClusterPolicy
|
|
||||||
metadata:
|
|
||||||
name: sync-prod-archmeister-replication-secrets
|
|
||||||
spec:
|
|
||||||
background: true
|
|
||||||
generateExisting: true
|
|
||||||
rules:
|
|
||||||
- name: sync-archmeister-ca
|
|
||||||
generate:
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
name: prod-archmeister-ca
|
|
||||||
namespace: '{{request.object.metadata.name}}'
|
|
||||||
synchronize: true
|
|
||||||
clone:
|
|
||||||
namespace: atlantis
|
|
||||||
name: prod-archmeister-ca
|
|
||||||
match:
|
|
||||||
resources:
|
|
||||||
kinds:
|
|
||||||
- Namespace
|
|
||||||
names:
|
|
||||||
- '*-vcluster'
|
|
||||||
- name: sync-archmeister-replication
|
|
||||||
generate:
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
name: prod-archmeister-replication
|
|
||||||
namespace: '{{request.object.metadata.name}}'
|
|
||||||
synchronize: true
|
|
||||||
clone:
|
|
||||||
namespace: atlantis
|
|
||||||
name: prod-archmeister-replication
|
|
||||||
match:
|
|
||||||
resources:
|
|
||||||
kinds:
|
|
||||||
- Namespace
|
|
||||||
names:
|
|
||||||
- '*-vcluster'
|
|
||||||
@@ -1,77 +0,0 @@
|
|||||||
apiVersion: kyverno.io/v1
|
|
||||||
kind: ClusterPolicy
|
|
||||||
metadata:
|
|
||||||
name: sync-rabbitmq-secrets
|
|
||||||
spec:
|
|
||||||
background: true
|
|
||||||
generateExisting: true
|
|
||||||
rules:
|
|
||||||
- name: add-rabbitmq-connstring
|
|
||||||
mutate:
|
|
||||||
patchStrategicMerge:
|
|
||||||
stringData:
|
|
||||||
connString: 'amqp://user:{{ request.object.data."rabbitmq-password" | base64_decode(@) }}@{{ request.object.metadata.labels."app.kubernetes.io/instance" }}.rabbitmq.svc'
|
|
||||||
match:
|
|
||||||
any:
|
|
||||||
- resources:
|
|
||||||
kinds:
|
|
||||||
- Secret
|
|
||||||
names:
|
|
||||||
- prod-rabbitmq
|
|
||||||
- staging-rabbitmq
|
|
||||||
namespaces:
|
|
||||||
- rabbitmq
|
|
||||||
- name: sync-prod-rabbitmq-secret
|
|
||||||
generate:
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
name: '{{ request.object.metadata.name }}'
|
|
||||||
namespace: '{{ request.object.metadata.namespace }}'
|
|
||||||
synchronize: true
|
|
||||||
clone:
|
|
||||||
name: prod-rabbitmq
|
|
||||||
namespace: rabbitmq
|
|
||||||
match:
|
|
||||||
any:
|
|
||||||
- resources:
|
|
||||||
kinds:
|
|
||||||
- Secret
|
|
||||||
names:
|
|
||||||
- prod-rabbitmq
|
|
||||||
annotations:
|
|
||||||
clone: "true"
|
|
||||||
# exclude:
|
|
||||||
# any:
|
|
||||||
# - resources:
|
|
||||||
# kinds:
|
|
||||||
# - Secret
|
|
||||||
# selector:
|
|
||||||
# matchLabels:
|
|
||||||
# generate.kyverno.io/clone-source: ""
|
|
||||||
- name: sync-staging-rabbitmq-secret
|
|
||||||
generate:
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
name: '{{ request.object.metadata.name }}'
|
|
||||||
namespace: '{{ request.object.metadata.namespace }}'
|
|
||||||
synchronize: true
|
|
||||||
clone:
|
|
||||||
name: staging-rabbitmq
|
|
||||||
namespace: rabbitmq
|
|
||||||
match:
|
|
||||||
any:
|
|
||||||
- resources:
|
|
||||||
kinds:
|
|
||||||
- Secret
|
|
||||||
names:
|
|
||||||
- staging-rabbitmq
|
|
||||||
annotations:
|
|
||||||
clone: "true"
|
|
||||||
# exclude:
|
|
||||||
# any:
|
|
||||||
# - resources:
|
|
||||||
# kinds:
|
|
||||||
# - Secret
|
|
||||||
# selector:
|
|
||||||
# matchLabels:
|
|
||||||
# generate.kyverno.io/clone-source: ""
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
apiVersion: kyverno.io/v1
|
|
||||||
kind: ClusterPolicy
|
|
||||||
metadata:
|
|
||||||
name: sync-redis-secrets
|
|
||||||
spec:
|
|
||||||
background: true
|
|
||||||
generateExisting: true
|
|
||||||
rules:
|
|
||||||
- name: sync-prod-redis-secret
|
|
||||||
generate:
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
name: '{{ request.object.metadata.name }}'
|
|
||||||
namespace: '{{ request.object.metadata.namespace }}'
|
|
||||||
synchronize: true
|
|
||||||
clone:
|
|
||||||
name: prod-redis
|
|
||||||
namespace: redis
|
|
||||||
match:
|
|
||||||
any:
|
|
||||||
- resources:
|
|
||||||
kinds:
|
|
||||||
- Secret
|
|
||||||
names:
|
|
||||||
- prod-redis
|
|
||||||
annotations:
|
|
||||||
clone: "true"
|
|
||||||
# exclude:
|
|
||||||
# any:
|
|
||||||
# - resources:
|
|
||||||
# kinds:
|
|
||||||
# - Secret
|
|
||||||
# selector:
|
|
||||||
# matchLabels:
|
|
||||||
# generate.kyverno.io/clone-source: ""
|
|
||||||
- name: sync-staging-redis-secret
|
|
||||||
generate:
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
name: '{{ request.object.metadata.name }}'
|
|
||||||
namespace: '{{ request.object.metadata.namespace }}'
|
|
||||||
synchronize: true
|
|
||||||
clone:
|
|
||||||
name: staging-redis
|
|
||||||
namespace: redis
|
|
||||||
match:
|
|
||||||
any:
|
|
||||||
- resources:
|
|
||||||
kinds:
|
|
||||||
- Secret
|
|
||||||
names:
|
|
||||||
- staging-redis
|
|
||||||
annotations:
|
|
||||||
clone: "true"
|
|
||||||
# exclude:
|
|
||||||
# any:
|
|
||||||
# - resources:
|
|
||||||
# kinds:
|
|
||||||
# - Secret
|
|
||||||
# selector:
|
|
||||||
# matchLabels:
|
|
||||||
# generate.kyverno.io/clone-source: ""
|
|
||||||
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
apiVersion: cilium.io/v2
|
|
||||||
kind: CiliumNetworkPolicy
|
|
||||||
metadata:
|
|
||||||
name: allow-atlantis-external-services
|
|
||||||
namespace: atlantis
|
|
||||||
spec:
|
|
||||||
egress:
|
|
||||||
- toFQDNs:
|
|
||||||
- matchName: idp.oceanbox.io
|
|
||||||
- matchName: idp.srv.oceanbox.io
|
|
||||||
- matchName: idp.beta.oceanbox.io
|
|
||||||
- matchName: auth.srv.oceanbox.io
|
|
||||||
- matchName: auth.oceanbox.io
|
|
||||||
- matchName: hipster-slurmrestd.ekman.oceanbox.io
|
|
||||||
- matchName: api.github.com
|
|
||||||
- matchName: dapr.github.io
|
|
||||||
- matchName: gitlab.com
|
|
||||||
- matchPattern: '*.gitlab.com'
|
|
||||||
- matchPattern: "*.k1.itpartner.no"
|
|
||||||
- matchName: analytics.loft.rocks
|
|
||||||
endpointSelector:
|
|
||||||
matchLabels: {}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
apiVersion: cilium.io/v2
|
|
||||||
kind: CiliumNetworkPolicy
|
|
||||||
metadata:
|
|
||||||
name: allow-atlantis-services
|
|
||||||
namespace: atlantis
|
|
||||||
spec:
|
|
||||||
egress:
|
|
||||||
- toEndpoints:
|
|
||||||
- matchLabels:
|
|
||||||
k8s:io.kubernetes.pod.namespace: dapr-system
|
|
||||||
- toEndpoints:
|
|
||||||
- matchLabels:
|
|
||||||
k8s:io.kubernetes.pod.namespace: redis
|
|
||||||
- toEndpoints:
|
|
||||||
- matchLabels:
|
|
||||||
k8s:io.kubernetes.pod.namespace: rabbitmq
|
|
||||||
- toEndpoints:
|
|
||||||
- matchLabels:
|
|
||||||
k8s:io.kubernetes.pod.namespace: otel
|
|
||||||
endpointSelector:
|
|
||||||
matchLabels: {}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- allow-atlantis-external-services.yaml
|
|
||||||
- allow-atlantis-services.yaml
|
|
||||||
- dapr-tracing.yaml
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- secrets.yaml
|
|
||||||
- pubsub-rabbitmq.yaml
|
|
||||||
- state-redis.yaml
|
|
||||||
- ../base/
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
clone: "true"
|
|
||||||
name: prod-redis
|
|
||||||
namespace: atlantis
|
|
||||||
type: Opaque
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
clone: "true"
|
|
||||||
name: prod-rabbitmq
|
|
||||||
namespace: atlantis
|
|
||||||
type: Opaque
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- secrets.yaml
|
|
||||||
- pubsub-rabbitmq.yaml
|
|
||||||
- state-redis.yaml
|
|
||||||
- ../base/
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
apiVersion: dapr.io/v1alpha1
|
|
||||||
kind: Component
|
|
||||||
metadata:
|
|
||||||
name: pubsub
|
|
||||||
namespace: atlantis
|
|
||||||
spec:
|
|
||||||
type: pubsub.rabbitmq
|
|
||||||
version: v1
|
|
||||||
metadata:
|
|
||||||
- name: hostname
|
|
||||||
value: staging-rabbitmq.rabbitmq.svc
|
|
||||||
- name: protocol
|
|
||||||
value: amqp
|
|
||||||
- name: username
|
|
||||||
value: user
|
|
||||||
- name: password
|
|
||||||
secretKeyRef:
|
|
||||||
name: staging-rabbitmq
|
|
||||||
key: rabbitmq-password
|
|
||||||
- name: durable
|
|
||||||
value: true
|
|
||||||
- name: deletedWhenUnused
|
|
||||||
value: false
|
|
||||||
- name: autoAck
|
|
||||||
value: false
|
|
||||||
- name: deliveryMode
|
|
||||||
value: 1
|
|
||||||
- name: requeueInFailure
|
|
||||||
value: false
|
|
||||||
- name: prefetchCount
|
|
||||||
value: 0
|
|
||||||
- name: reconnectWait
|
|
||||||
value: 0
|
|
||||||
- name: concurrencyMode
|
|
||||||
value: parallel
|
|
||||||
- name: publisherConfirm
|
|
||||||
value: false
|
|
||||||
- name: backOffPolicy
|
|
||||||
value: exponential
|
|
||||||
- name: backOffInitialInterval
|
|
||||||
value: 100
|
|
||||||
- name: backOffMaxRetries
|
|
||||||
value: 16
|
|
||||||
- name: enableDeadLetter # Optional enable dead Letter or not
|
|
||||||
value: true
|
|
||||||
- name: maxLen # Optional max message count in a queue
|
|
||||||
value: 3000
|
|
||||||
- name: maxLenBytes # Optional maximum length in bytes of a queue.
|
|
||||||
value: 10485760
|
|
||||||
- name: exchangeKind
|
|
||||||
value: fanout
|
|
||||||
- name: clientName
|
|
||||||
value: "{appID}"
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
clone: "true"
|
|
||||||
name: staging-redis
|
|
||||||
namespace: atlantis
|
|
||||||
type: Opaque
|
|
||||||
data:
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
clone: "true"
|
|
||||||
name: staging-rabbitmq
|
|
||||||
namespace: atlantis
|
|
||||||
type: Opaque
|
|
||||||
data:
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
apiVersion: dapr.io/v1alpha1
|
|
||||||
kind: Component
|
|
||||||
metadata:
|
|
||||||
name: statestore
|
|
||||||
namespace: atlantis
|
|
||||||
spec:
|
|
||||||
type: state.redis
|
|
||||||
version: v1
|
|
||||||
metadata:
|
|
||||||
- name: redisHost
|
|
||||||
value: staging-redis-master.redis.svc:6379
|
|
||||||
- name: redisUsername
|
|
||||||
value: default
|
|
||||||
- name: redisPassword
|
|
||||||
secretKeyRef:
|
|
||||||
name: staging-redis
|
|
||||||
key: redis-password
|
|
||||||
- name: actorStateStore
|
|
||||||
value: "true"
|
|
||||||
# scopes:
|
|
||||||
# - staging-atlantis
|
|
||||||
# - staging-petimeter
|
|
||||||
# - staging-hipster
|
|
||||||
# - staging-archmeister
|
|
||||||
@@ -0,0 +1,111 @@
|
|||||||
|
apiVersion: kyverno.io/v1
|
||||||
|
kind: ClusterPolicy
|
||||||
|
metadata:
|
||||||
|
name: sync-dev-atlantis-secrets
|
||||||
|
spec:
|
||||||
|
background: true
|
||||||
|
generateExisting: false
|
||||||
|
rules:
|
||||||
|
- name: sync-rabbitmq-secret
|
||||||
|
generate:
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
name: '{{ request.object.metadata.name }}'
|
||||||
|
namespace: '{{ request.object.metadata.namespace }}'
|
||||||
|
synchronize: true
|
||||||
|
clone:
|
||||||
|
name: staging-rabbitmq
|
||||||
|
namespace: rabbitmq
|
||||||
|
match:
|
||||||
|
any:
|
||||||
|
- resources:
|
||||||
|
kinds:
|
||||||
|
- Secret
|
||||||
|
names:
|
||||||
|
- "*-rabbitmq"
|
||||||
|
annotations:
|
||||||
|
kyverno/clone: "true"
|
||||||
|
- name: sync-redis-secret
|
||||||
|
generate:
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
name: '{{ request.object.metadata.name }}'
|
||||||
|
namespace: '{{ request.object.metadata.namespace }}'
|
||||||
|
synchronize: true
|
||||||
|
clone:
|
||||||
|
name: staging-redis
|
||||||
|
namespace: redis
|
||||||
|
match:
|
||||||
|
any:
|
||||||
|
- resources:
|
||||||
|
kinds:
|
||||||
|
- Secret
|
||||||
|
names:
|
||||||
|
- "*-redis"
|
||||||
|
annotations:
|
||||||
|
kyverno/clone: "true"
|
||||||
|
- name: sync-archmaester-secret
|
||||||
|
generate:
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
name: '{{ request.object.metadata.name }}'
|
||||||
|
namespace: '{{ request.object.metadata.namespace }}'
|
||||||
|
synchronize: true
|
||||||
|
clone:
|
||||||
|
name: prod-archmeister-superuser
|
||||||
|
namespace: atlantis
|
||||||
|
match:
|
||||||
|
any:
|
||||||
|
- resources:
|
||||||
|
kinds:
|
||||||
|
- Secret
|
||||||
|
names:
|
||||||
|
- "*-db-superuser"
|
||||||
|
annotations:
|
||||||
|
kyverno/clone: "true"
|
||||||
|
- name: sync-archmaester-replication-secret
|
||||||
|
generate:
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
name: '{{ request.object.metadata.name }}'
|
||||||
|
namespace: '{{ request.object.metadata.namespace }}'
|
||||||
|
synchronize: true
|
||||||
|
clone:
|
||||||
|
name: prod-archmeister-replication
|
||||||
|
namespace: atlantis
|
||||||
|
match:
|
||||||
|
any:
|
||||||
|
- resources:
|
||||||
|
kinds:
|
||||||
|
- Secret
|
||||||
|
names:
|
||||||
|
- prod-archmeister-replication
|
||||||
|
annotations:
|
||||||
|
kyverno/clone: "true"
|
||||||
|
- name: sync-archmaester-ca
|
||||||
|
generate:
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
name: '{{ request.object.metadata.name }}'
|
||||||
|
namespace: '{{ request.object.metadata.namespace }}'
|
||||||
|
synchronize: true
|
||||||
|
clone:
|
||||||
|
name: prod-archmeister-ca
|
||||||
|
namespace: atlantis
|
||||||
|
match:
|
||||||
|
any:
|
||||||
|
- resources:
|
||||||
|
kinds:
|
||||||
|
- Secret
|
||||||
|
names:
|
||||||
|
- prod-archmeister-ca
|
||||||
|
annotations:
|
||||||
|
kyverno/clone: "true"
|
||||||
|
# exclude:
|
||||||
|
# any:
|
||||||
|
# - resources:
|
||||||
|
# kinds:
|
||||||
|
# - Secret
|
||||||
|
# selector:
|
||||||
|
# matchLabels:
|
||||||
|
# generate.kyverno.io/clone-source: ""
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
apiVersion: cilium.io/v2
|
|
||||||
kind: CiliumNetworkPolicy
|
|
||||||
metadata:
|
|
||||||
name: allow-hubble-oidc-login
|
|
||||||
namespace: kube-system
|
|
||||||
spec:
|
|
||||||
endpointSelector:
|
|
||||||
matchLabels:
|
|
||||||
k8s-app: oauth2-proxy
|
|
||||||
egress:
|
|
||||||
- toFQDNs:
|
|
||||||
- matchName: login.microsoftonline.com
|
|
||||||
- matchPattern: '*.microsoftonline.com'
|
|
||||||
Reference in New Issue
Block a user