apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: ingress-apisix resources: - resources/namespace.yaml - resources/etcd - resources/apisix-deployment.yaml - resources/apisix-svc.yaml - resources/apisix-dashboard - resources/ingress-controller configMapGenerator: - name: apisix-config files: - resources/files/apisix-config.yaml - name: apisix-env-config literals: - APISIX_NODE_LISTEN="9080" - APISIX_PORT_ADMIN="9180" - APISIX_ETCD_URL="http://etcd-server:2379" - APISIX_ADMIN_URL="http://apisix-admin:9180/apisix/admin" - name: apisix-ingress-cm behavior: replace files: - config.yaml=resources/files/apisix-ic-config.yaml secretGenerator: - name: apisix-senstitive literals: - APISIX_ADMIN_KEY="iom4ahdohzohzi4zoothug7iePhaLoijiequaacaiJeye" - APISIX_VIEWER_KEY="jah9ahquu8ohvaZ6iiQu9aeNie3uchie5goo4Fii8leif"