diff --git a/allowed-hosts/templates/constraint.yaml b/allowed-hosts/templates/constraint.yaml
index d2b97b6eb63cec15150280cdf1ceecf005aae6a2..33bc80d287fecc6f7ab6a2ffbf3cb6fba4a701cd 100644
--- a/allowed-hosts/templates/constraint.yaml
+++ b/allowed-hosts/templates/constraint.yaml
@@ -1,7 +1,7 @@
 apiVersion: constraints.gatekeeper.sh/v1beta1
 kind: AllowedHosts
 metadata:
-  name: {{ .Release.Name }}
+  name: {{ include "allowed-hosts.fullname" . }}
   labels:
     {{- include "allowed-hosts.labels" . | nindent 4 }}
 spec:
diff --git a/allowed-hosts/values.yaml b/allowed-hosts/values.yaml
index a1812027dc74e084370b4d36dab2353bc5772678..661c0e4c61aec214ce0bc77343358accd943a176 100644
--- a/allowed-hosts/values.yaml
+++ b/allowed-hosts/values.yaml
@@ -1,3 +1,6 @@
+nameOverride: ''
+fullnameOverride: ''
+
 allowedDomains: []
 # - "*.example.com"
 # - "example.com"