@@ -33,10 +33,8 @@ const (
3333 defaultServiceType = corev1 .ServiceTypeLoadBalancer
3434 defaultServicePolicy = corev1 .ServiceExternalTrafficPolicyLocal
3535
36- defaultNginxImagePath = "ghcr.io/nginx/nginx-gateway-fabric/nginx"
37- defaultNginxPlusImagePath = "private-registry.nginx.com/nginx-gateway-fabric/nginx-plus"
38- defaultNginxPlusWafImagePath = "private-registry.nginx.com/nginx-gateway-fabric/nginx-plus-waf"
39- defaultImagePullPolicy = corev1 .PullIfNotPresent
36+ defaultNginxImagePath = "ghcr.io/nginx/nginx-gateway-fabric/nginx"
37+ defaultImagePullPolicy = corev1 .PullIfNotPresent
4038
4139 // WAF container defaults.
4240 defaultWAFEnforcerImagePath = "private-registry.nginx.com/nap/waf-enforcer"
@@ -914,7 +912,8 @@ func (p *NginxProvisioner) configureNginxPlus(
914912 initCmd = append (initCmd ,
915913 "--source" , "/includes/mgmt.conf" ,
916914 "--destination" , "/etc/nginx/main-includes" ,
917- "--nginx-plus" )
915+ "--nginx-plus" ,
916+ )
918917 spec .Spec .InitContainers [0 ].Command = initCmd
919918
920919 // Add NGINX Plus volumes and volume mounts
@@ -984,10 +983,6 @@ func (p *NginxProvisioner) buildImage(nProxyCfg *graph.EffectiveNginxProxy) (str
984983 tag := p .cfg .GatewayPodConfig .Version
985984 pullPolicy := defaultImagePullPolicy
986985
987- if graph .WAFEnabledForNginxProxy (nProxyCfg ) {
988- image = defaultNginxPlusWafImagePath
989- }
990-
991986 getImageAndPullPolicy := func (container ngfAPIv1alpha2.ContainerSpec ) (string , string , corev1.PullPolicy ) {
992987 if container .Image != nil {
993988 if container .Image .Repository != nil {
0 commit comments