fix: argocd istio rules
This commit is contained in:
parent
d701c35354
commit
bae84c0731
@ -1,7 +1,7 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
description: KubeZero ArgoCD Helm chart to install ArgoCD itself and the KubeZero ArgoCD Application
|
description: KubeZero ArgoCD Helm chart to install ArgoCD itself and the KubeZero ArgoCD Application
|
||||||
name: kubezero-argocd
|
name: kubezero-argocd
|
||||||
version: 0.8.7
|
version: 0.8.8
|
||||||
home: https://kubezero.com
|
home: https://kubezero.com
|
||||||
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -4,8 +4,9 @@ apiVersion: security.istio.io/v1beta1
|
|||||||
kind: AuthorizationPolicy
|
kind: AuthorizationPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-deny-not-in-ipblocks
|
name: argocd-deny-not-in-ipblocks
|
||||||
|
namespace: istio-system
|
||||||
labels:
|
labels:
|
||||||
{{ include "kubezero-lib.labels" . | indent 4 }}
|
{{- include "kubezero-lib.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
@ -15,9 +16,7 @@ spec:
|
|||||||
- from:
|
- from:
|
||||||
- source:
|
- source:
|
||||||
notIpBlocks:
|
notIpBlocks:
|
||||||
{{- with .Values.istio.ipBlocks }}
|
{{- toYaml .Values.istio.ipBlocks | nindent 8 }}
|
||||||
{{- . | toYaml | nindent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
to:
|
to:
|
||||||
- operation:
|
- operation:
|
||||||
hosts: ["{{ index .Values "argo-cd" "server" "config" "url" }}"]
|
hosts: ["{{ index .Values "argo-cd" "server" "config" "url" }}"]
|
||||||
|
@ -3,6 +3,7 @@ apiVersion: networking.istio.io/v1alpha3
|
|||||||
kind: VirtualService
|
kind: VirtualService
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-server
|
name: argocd-server
|
||||||
|
namespace: {{ $.Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
{{ include "kubezero-lib.labels" . | indent 4 }}
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
Loading…
Reference in New Issue
Block a user