Skip to content

Commit

Permalink
changes fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ssyno committed Sep 26, 2024
1 parent 09a542b commit d14e5c1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/teleport-kube-agent/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if serviceAccount is not defined or serviceAccount.name is empty, use .Release.N
{{- if .Values.teleportVersionOverride -}}
{{- .Values.teleportVersionOverride -}}
{{- else -}}
{{- .Chart.Version -}}
{{- .Chart.AppVersion -}}
{{- end -}}
{{- end -}}
Expand Down
18 changes: 18 additions & 0 deletions helm/teleport-kube-agent/templates/networkpolicy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: {{ .Release.Name }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ .Release.Name }}
spec:
egress:
- {}
ingress:
- {}
podSelector:
matchLabels:
app: {{ .Release.Name }}
policyTypes:
- Egress
- Ingress

0 comments on commit d14e5c1

Please sign in to comment.