fix(mycloud-git-small): networkpolicy for woodpecker to connect to k8sAPI

This commit is contained in:
WrenIX 2025-01-23 21:32:22 +01:00
parent 116af617c9
commit d45b748908
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
2 changed files with 2 additions and 1 deletions

View file

@ -42,7 +42,7 @@ spec:
dns: dns:
{{- toYaml .Values.commons.networkpolicies.to.dns | nindent 12 }} {{- toYaml .Values.commons.networkpolicies.to.dns | nindent 12 }}
apiserver: apiserver:
{{- toYaml .Values.commons.networkpolicies.to.k8sAPI | nindent 12 }} {{- first .Values.commons.networkpolicies.to.k8sAPI | toYaml | nindent 12 }}
server: server:
to: to:
- podSelector: - podSelector:

View file

@ -93,6 +93,7 @@ commons:
metrics: [] metrics: []
to: to:
dns: [] dns: []
k8sAPI: []
database: [] database: []
prometheus: prometheus: