You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/12/28 09:00:02 UTC

[GitHub] [apisix-helm-chart] huweihuang opened a new issue, #428: The configmap of apisix ingress controller is in a wrong format

huweihuang opened a new issue, #428:
URL: https://github.com/apache/apisix-helm-chart/issues/428

   the format:
   
   ```
   apiVersion: v1
   data:
     config.yaml: "# log options\nlog_level: \"info\"\nlog_output: \"stderr\"\ncert_file:
       \"/etc/webhook/certs/cert.pem\"\nkey_file: \"/etc/webhook/certs/key.pem\"\nhttp_listen:
       \":8080\"\nhttps_listen: \":8443\"\ningress_publish_service: \nenable_profiling:
       true\napisix-resource-sync-interval: 300s\nkubernetes:\n  kubeconfig: \"\"\n  resync_interval:
       \"6h\"\n  namespace_selector:\n  - \"\"\n  election_id: \"ingress-apisix-leader\"\n
       \ ingress_class: \"apisix\"\n  ingress_version: \"networking/v1\"\n  watch_endpointslices:
       false\n  apisix_route_version: \"apisix.apache.org/v2\"\n  enable_gateway_api:
       false\n  apisix_version: \"apisix.apache.org/v2\"\n  plugin_metadata_cm: \"\"\napisix:\n
       \ admin_api_version: \"v2\"\n  \n  default_cluster_base_url: http://apisix-admin.ingress-apisix.svc.cluster.local:9180/apisix/admin\n
       \ \n  default_cluster_admin_key: \"edd1c9f034335f136f87ad84b625c8f1\"\n  default_cluster_name:
       \"default\"\n"
   kind: ConfigMap
   metadata:
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-helm-chart] huweihuang commented on issue #428: The configmap of apisix ingress controller is in a wrong format

Posted by GitBox <gi...@apache.org>.
huweihuang commented on issue #428:
URL: https://github.com/apache/apisix-helm-chart/issues/428#issuecomment-1366541882

   You can refer to: https://blog.huweihuang.com/kubernetes-notes/trouble-shooting/configmap-yaml-format/   .
   The template cannot be viewed humanely due to the blank space at the end of the line.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-helm-chart] tokers commented on issue #428: The configmap of apisix ingress controller is in a wrong format

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #428:
URL: https://github.com/apache/apisix-helm-chart/issues/428#issuecomment-1366510679

   @huweihuang This format is correct, APISIX Ingress Controller can parse it normally.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org