Skip to content

Commit

Permalink
Override the nginx image properly in tinkerbell stack chart (#8318)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahreehong authored Jun 13, 2024
1 parent 1b6b82e commit 7a1812c
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/providers/tinkerbell/stack/stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ func (s *Installer) createValuesOverride(bundle releasev1alpha1.TinkerbellBundle
},
},
stack: map[string]interface{}{
image: bundle.TinkerbellStack.Tink.Nginx.URI,
kubevip: map[string]interface{}{
image: bundle.KubeVip.URI,
enabled: s.loadBalancer,
Expand Down
1 change: 1 addition & 0 deletions pkg/providers/tinkerbell/stack/stack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func getTinkBundle() releasev1alpha1.TinkerbellBundle {
return releasev1alpha1.TinkerbellBundle{
TinkerbellStack: releasev1alpha1.TinkerbellStackBundle{
Tink: releasev1alpha1.TinkBundle{
Nginx: releasev1alpha1.Image{URI: "public.ecr.aws/eks-anywhere/nginx:latest"},
TinkController: releasev1alpha1.Image{URI: "public.ecr.aws/eks-anywhere/tink-controller:latest"},
TinkServer: releasev1alpha1.Image{URI: "public.ecr.aws/eks-anywhere/tink-server:latest"},
TinkWorker: releasev1alpha1.Image{URI: "public.ecr.aws/eks-anywhere/tink-worker:latest"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ stack:
hook:
enabled: false
hostNetwork: false
image: public.ecr.aws/eks-anywhere/nginx:latest
kubevip:
additionalEnv:
- name: prometheus_server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ stack:
hook:
enabled: false
hostNetwork: false
image: public.ecr.aws/eks-anywhere/nginx:latest
kubevip:
additionalEnv:
- name: prometheus_server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ stack:
hook:
enabled: false
hostNetwork: false
image: public.ecr.aws/eks-anywhere/nginx:latest
kubevip:
additionalEnv:
- name: prometheus_server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ stack:
hook:
enabled: false
hostNetwork: false
image: public.ecr.aws/eks-anywhere/nginx:latest
kubevip:
additionalEnv:
- name: prometheus_server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ stack:
hook:
enabled: false
hostNetwork: true
image: public.ecr.aws/eks-anywhere/nginx:latest
kubevip:
additionalEnv:
- name: prometheus_server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ stack:
hook:
enabled: false
hostNetwork: false
image: public.ecr.aws/eks-anywhere/nginx:latest
kubevip:
additionalEnv:
- name: prometheus_server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ stack:
hook:
enabled: false
hostNetwork: false
image: public.ecr.aws/eks-anywhere/nginx:latest
kubevip:
additionalEnv:
- name: prometheus_server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ stack:
hook:
enabled: false
hostNetwork: true
image: public.ecr.aws/eks-anywhere/nginx:latest
kubevip:
additionalEnv:
- name: prometheus_server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ stack:
hook:
enabled: false
hostNetwork: false
image: public.ecr.aws/eks-anywhere/nginx:latest
kubevip:
additionalEnv:
- name: prometheus_server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ stack:
hook:
enabled: false
hostNetwork: false
image: public.ecr.aws/eks-anywhere/nginx:latest
kubevip:
additionalEnv:
- name: prometheus_server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ stack:
hook:
enabled: false
hostNetwork: false
image: public.ecr.aws/eks-anywhere/nginx:latest
kubevip:
additionalEnv:
- name: prometheus_server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ stack:
hook:
enabled: false
hostNetwork: false
image: public.ecr.aws/eks-anywhere/nginx:latest
kubevip:
additionalEnv:
- name: prometheus_server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ stack:
hook:
enabled: false
hostNetwork: false
image: public.ecr.aws/eks-anywhere/nginx:latest
kubevip:
additionalEnv:
- name: prometheus_server
Expand Down

0 comments on commit 7a1812c

Please sign in to comment.