diff --git a/charts/apisix/templates/service-control.yaml b/charts/apisix/templates/service-control.yaml index 0519aed8..679e9851 100644 --- a/charts/apisix/templates/service-control.yaml +++ b/charts/apisix/templates/service-control.yaml @@ -13,7 +13,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -{{ if (and .Values.apisix.enabled .Values.control.enabled) }} +{{ if (.Values.control.enabled) }} apiVersion: v1 kind: Service metadata: