Skip to content

Commit

Permalink
Merge pull request #201 from koseb9/kube-vip
Browse files Browse the repository at this point in the history
bug: wrong variable type for containerPort
  • Loading branch information
MonolithProjects authored Feb 29, 2024
2 parents d39deb4 + 33c3e00 commit 96494c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ rke2_kubevip_service_election_enable: false
# - param: lb_port
# value: 6443

#Prometheus metrics port for kube-vip
# Prometheus metrics port for kube-vip
rke2_kubevip_metrics_port: 2112

# Add additional SANs in k8s API TLS cert
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ rke2_kubevip_service_election_enable: false
# - param: lb_port
# value: 6443

#Prometheus metrics port for kube-vip
# Prometheus metrics port for kube-vip
rke2_kubevip_metrics_port: 2112

# Add additional SANs in k8s API TLS cert
Expand Down
2 changes: 1 addition & 1 deletion templates/kube-vip/kube-vip.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ spec:
name: kube-vip
ports:
- name: metrics
containerPort: "{{ rke2_kubevip_metrics_port }}"
containerPort: {{ rke2_kubevip_metrics_port | int }}
resources: {}
securityContext:
capabilities:
Expand Down

0 comments on commit 96494c7

Please sign in to comment.