Vault UI Loadbalancer created as internal

Hello,

I am using vault helm chart for managing vault and the load balancer is created as internal.
I want to create an external loadbalancer.
Can someone let me know if i missed anything?

Configuration:

Source: vault/templates/ui-service.yaml

apiVersion: v1
kind: Service
metadata:
name: vault-new-ui
namespace: vault01
labels:
helm.sh/chart: vault-0.28.0
app.kubernetes.io/name: vault-ui
app.kubernetes.io/instance: vault-new
app.kubernetes.io/managed-by: Helm
spec:
selector:
app.kubernetes.io/name: vault
app.kubernetes.io/instance: vault-new
component: server
publishNotReadyAddresses: true
ports:
- name: http
port: 8200
targetPort: 8200
type: LoadBalancer
externalTrafficPolicy: Cluster

Resolved by adding the annotation.

service.beta.kubernetes.io/aws-load-balancer-internal: “false”