Skip to content

Commit

Permalink
fix: give networkpolicy objects a unique name (opensearch-project#16)
Browse files Browse the repository at this point in the history
This fixes the problem of installing this chart multiple times in the
same namespace and having the network policy name conflict.

Signed-off-by: Scott Leggett <[email protected]>
  • Loading branch information
smlx authored Jul 29, 2021
1 parent 2d5d09c commit c1eac61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helm/opensearch/templates/networkpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
creationTimestamp: null
name: opensearch-net
name: {{ template "opensearch.uname" . }}-opensearch-net
spec:
ingress:
- from:
Expand Down

0 comments on commit c1eac61

Please sign in to comment.