[GitHub] [apisix] mscb402 commented on issue #8709: help request: Setting up routing path

2023-01-18 Thread GitBox


mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396573733

   You should change Path `/*` to `/food/*` 


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] mgonzaga1990 commented on issue #8709: help request: Setting up routing path

2023-01-18 Thread GitBox


mgonzaga1990 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396572945

   
![image](https://user-images.githubusercontent.com/21145779/213386026-568e7b52-b2fa-495b-aac6-4e249ecb1052.png)
   
![image](https://user-images.githubusercontent.com/21145779/213386058-49cc5224-3911-434c-bb4a-5e54f2bd6fa3.png)
   
![image](https://user-images.githubusercontent.com/21145779/213386082-c0b36ad0-3522-4aca-b348-4cfa9e8c0560.png)
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] mscb402 commented on issue #8709: help request: Setting up routing path

2023-01-18 Thread GitBox


mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396571630

   Sorry, I can't view the image in GitHub. Can you post this image on GitHub 
issue page?


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] mgonzaga1990 commented on issue #8709: help request: Setting up routing path

2023-01-18 Thread GitBox


mgonzaga1990 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396568620

   Jonathan,
   
   Tried that
   with
   [image: image.png]
   and
   [image: image.png]
   but 404
   [image: image.png]
   
   
   On Thu, Jan 19, 2023 at 3:46 PM Joanthan Chen ***@***.***>
   wrote:
   
   > I think you can try inputting ^/food/(.*)$ to regexp. And input /$1 to
   > the template.
   >
   > —
   > Reply to this email directly, view it on GitHub
   > ,
   > or unsubscribe
   > 

   > .
   > You are receiving this because you authored the thread.Message ID:
   > ***@***.***>
   >
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] mscb402 commented on issue #8709: help request: Setting up routing path

2023-01-18 Thread GitBox


mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396561442

   I think you can try inputting `^/food/(.*)$` to regexp. And input `/$1` to 
the template.


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] mgonzaga1990 commented on issue #8709: help request: Setting up routing path

2023-01-18 Thread GitBox


mgonzaga1990 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396544406

   Hi Jonathan,
   
   Thank you, I understand the regex value is ["^/food/(.*)$", "/$1"] but how
   about the template?
   
   On Thu, Jan 19, 2023 at 2:42 PM Joanthan Chen ***@***.***>
   wrote:
   
   > I see you are using the dashboard. You can set config in here
   > [image: image]
   > 

   >
   > —
   > Reply to this email directly, view it on GitHub
   > ,
   > or unsubscribe
   > 

   > .
   > You are receiving this because you authored the thread.Message ID:
   > ***@***.***>
   >
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-ingress-controller] Gallardot commented on pull request #1604: docs: update prowered-by.md

2023-01-18 Thread GitBox


Gallardot commented on PR #1604:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/1604#issuecomment-1396513239

   Fake CI action. Need retry.


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-ingress-controller] Gallardot commented on issue #1547: chore: improve make update-all

2023-01-18 Thread GitBox


Gallardot commented on issue #1547:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/1547#issuecomment-1396511035

   Hi @tao12345666333 
   
   I think this issue has been fixed in this PR.  
[#1500](https://github.com/apache/apisix-ingress-controller/pull/1500/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R242)
   
   But I found another issue, that is, `make update-all` will execute 
`update-gofmt` to fix the imports issue, but the current github CI doesn't 
check this. So I create a PR to fix it. #1606 


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-dashboard] codecov-commenter commented on pull request #2717: fix: adapt APISIX plugin disabled

2023-01-18 Thread GitBox


codecov-commenter commented on PR #2717:
URL: 
https://github.com/apache/apisix-dashboard/pull/2717#issuecomment-1396509313

   # 
[Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/2717?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 Report
   > Merging 
[#2717](https://codecov.io/gh/apache/apisix-dashboard/pull/2717?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 (30a7a04) into 
[master](https://codecov.io/gh/apache/apisix-dashboard/commit/5ccb55be081303e54584f76333fb372eb7c33964?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 (5ccb55b) will **decrease** coverage by `19.30%`.
   > The diff coverage is `100.00%`.
   
   ```diff
   @@ Coverage Diff @@
   ##   master#2717   +/-   ##
   ===
   - Coverage   74.27%   54.97%   -19.30% 
   ===
 Files 201  104   -97 
 Lines7833 2983 -4850 
 Branches  874  743  -131 
   ===
   - Hits 5818 1640 -4178 
   + Misses   1712 1343  -369 
   + Partials  3030  -303 
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | backend-e2e-test-ginkgo | `?` | |
   | backend-unit-test | `?` | |
   | frontend-e2e-test | `54.97% <100.00%> (-21.43%)` | :arrow_down: |
   
   Flags with carried forward coverage won't be shown. [Click 
here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#carryforward-flags-in-the-pull-request-comment)
 to find out more.
   
   | [Impacted 
Files](https://codecov.io/gh/apache/apisix-dashboard/pull/2717?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 | Coverage Δ | |
   |---|---|---|
   | 
[web/src/components/Plugin/PluginPage.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2717?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9jb21wb25lbnRzL1BsdWdpbi9QbHVnaW5QYWdlLnRzeA==)
 | `87.00% <100.00%> (-12.00%)` | :arrow_down: |
   | 
[...omponents/Upstream/components/ServiceDiscovery.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2717?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9jb21wb25lbnRzL1Vwc3RyZWFtL2NvbXBvbmVudHMvU2VydmljZURpc2NvdmVyeS50c3g=)
 | `16.66% <0.00%> (-83.34%)` | :arrow_down: |
   | 
[web/src/components/LabelsfDrawer/LabelsDrawer.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2717?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9jb21wb25lbnRzL0xhYmVsc2ZEcmF3ZXIvTGFiZWxzRHJhd2VyLnRzeA==)
 | `3.92% <0.00%> (-80.40%)` | :arrow_down: |
   | 
[...nents/Upstream/components/ServiceDiscoveryArgs.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2717?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9jb21wb25lbnRzL1Vwc3RyZWFtL2NvbXBvbmVudHMvU2VydmljZURpc2NvdmVyeUFyZ3MudHN4)
 | `20.00% <0.00%> (-80.00%)` | :arrow_down: |
   | 
[...b/src/pages/Route/components/DataLoader/Import.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2717?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9wYWdlcy9Sb3V0ZS9jb21wb25lbnRzL0RhdGFMb2FkZXIvSW1wb3J0LnRzeA==)
 | `4.91% <0.00%> (-78.69%)` | :arrow_down: |
   | 
[...mponents/Upstream/components/active-check/Host.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2717?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9jb21wb25lbnRzL1Vwc3RyZWFtL2NvbXBvbmVudHMvYWN0aXZlLWNoZWNrL0hvc3QudHN4)
 | `33.33% <0.00%> (-66.67%)` | :arrow_down: |
   | 
[...mponents/Upstream/components/active-check/Port.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2717?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9jb21wb25lbnRzL1Vwc3RyZWFtL2NvbXBvbmVudHMvYWN0aXZlLWNoZWNrL1BvcnQudHN4)
 | `33.33% <0.00%> (-66.67%)` | :arrow_down: |
   | 
[...mponents/Upstream/components/active-check/Type.tsx](https://codecov.io

[GitHub] [apisix] mscb402 commented on issue #8709: help request: Setting up routing path

2023-01-18 Thread GitBox


mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396507031

   I see you are using the dashboard. You can set config in here
   
![image](https://user-images.githubusercontent.com/11229089/213373384-0531903f-0431-4cf2-98ff-7e7b6c9e9080.png)
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-ingress-controller] codecov-commenter commented on pull request #1606: ci: add goimports-reviser

2023-01-18 Thread GitBox


codecov-commenter commented on PR #1606:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/1606#issuecomment-1396504418

   # 
[Codecov](https://codecov.io/gh/apache/apisix-ingress-controller/pull/1606?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 Report
   > Merging 
[#1606](https://codecov.io/gh/apache/apisix-ingress-controller/pull/1606?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 (0012ad5) into 
[master](https://codecov.io/gh/apache/apisix-ingress-controller/commit/31714eb4ae13c25ea0de1b2b7af0469f01938738?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 (31714eb) will **not change** coverage.
   > The diff coverage is `n/a`.
   
   > :exclamation: Current head 0012ad5 differs from pull request most recent 
head 239a219. Consider uploading reports for the commit 239a219 to get more 
accurate results
   
   ```diff
   @@   Coverage Diff   @@
   ##   master#1606   +/-   ##
   ===
 Coverage   41.30%   41.30%   
   ===
 Files  87   87   
 Lines7460 7460   
   ===
 Hits 3081 3081   
 Misses   4026 4026   
 Partials  353  353   
   ```
   
   
   
   :mega: We’re building smart automated test selection to slash your CI/CD 
build times. [Learn 
more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-ingress-controller] Gallardot opened a new pull request, #1606: ci: add goimports-reviser

2023-01-18 Thread GitBox


Gallardot opened a new pull request, #1606:
URL: https://github.com/apache/apisix-ingress-controller/pull/1606

   Signed-off-by: Gallardot 
   
   
   
   ### Type of change:
   
   
   
   - [ ] Bugfix
   - [ ] New feature provided
   - [ ] Improve performance
   - [ ] Backport patches
   
   ### What this PR does / why we need it:
   
   
   
   ### Pre-submission checklist:
   
   
   
   * [ ] Did you explain what problem does this PR solve? Or what new features 
have been added?
   * [ ] Have you added corresponding test cases?
   * [ ] Have you modified the corresponding document?
   * [ ] Is this PR backward compatible? **If it is not backward compatible, 
please discuss on the [mailing 
list](https://github.com/apache/apisix-ingress-controller#community) first**
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-dashboard] Baoyuantop opened a new pull request, #2717: fix: adapt APISIX plugin disabled

2023-01-18 Thread GitBox


Baoyuantop opened a new pull request, #2717:
URL: https://github.com/apache/apisix-dashboard/pull/2717

   Please answer these questions before submitting a pull request, **or your PR 
will get closed**.
   
   **Why submit this pull request?**
   
   - [x] Bugfix
   - [ ] New feature provided
   - [ ] Improve performance
   - [ ] Backport patches
   
   **What changes will this PR take into?**
   Reference https://github.com/apache/apisix/issues/7482. In the new version 
of APISIX, the plugin disabled move to _meta, and the dashboard needs to be 
changed synchronously.
   
   **Related issues**
   
   **Checklist:**
   
   - [ ] Did you explain what problem does this PR solve? Or what new features 
have been added?
   - [ ] Have you added corresponding test cases?
   - [ ] Have you modified the corresponding document?
   - [ ] Is this PR backward compatible? If it is not backward compatible, 
please discuss on the mailing list first
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] mgonzaga1990 commented on issue #8709: help request: Setting up routing path

2023-01-18 Thread GitBox


mgonzaga1990 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396485978

   Hi Chen,
   
   I don't see the proxy-rewrite plugin, is there a way for me to include that
   in the list of plugins?
   
   On Thu, Jan 19, 2023 at 11:55 AM Joanthan Chen ***@***.***>
   wrote:
   
   > This is a example of how to config regex_uri in proxy_rewrite regex_uri
   > :["^/food/(.*)$", "/$1"]
   >
   > —
   > Reply to this email directly, view it on GitHub
   > ,
   > or unsubscribe
   > 

   > .
   > You are receiving this because you authored the thread.Message ID:
   > ***@***.***>
   >
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] mscb402 commented on issue #8710: 前后端跨域问题 CORS policy

2023-01-18 Thread GitBox


mscb402 commented on issue #8710:
URL: https://github.com/apache/apisix/issues/8710#issuecomment-1396483717

   You can close this issue now :)


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] githubxubin closed issue #8710: 前后端跨域问题 CORS policy

2023-01-18 Thread GitBox


githubxubin closed issue #8710: 前后端跨域问题 CORS policy 
URL: https://github.com/apache/apisix/issues/8710


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] githubxubin commented on issue #8710: 前后端跨域问题 CORS policy

2023-01-18 Thread GitBox


githubxubin commented on issue #8710:
URL: https://github.com/apache/apisix/issues/8710#issuecomment-1396470001

   > If still have a problem, you can set `Access-Control-Allow-Origin: 
http://domain.com`. Change domain.com to your domain
   
   okey ~  thanks it is ok


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] mscb402 commented on issue #8710: 前后端跨域问题 CORS policy

2023-01-18 Thread GitBox


mscb402 commented on issue #8710:
URL: https://github.com/apache/apisix/issues/8710#issuecomment-1396469247

   If still have a problem, you can set `Access-Control-Allow-Origin: 
http://domain.com`. Change  domain.com to your domain


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] mscb402 commented on issue #8709: help request: Setting up routing path

2023-01-18 Thread GitBox


mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396406154

   This is a example of how to config `regex_uri` in proxy_rewrite `regex_uri 
:["^/food/(.*)$",  "/$1"]`


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] mscb402 commented on issue #8709: help request: Setting up routing path

2023-01-18 Thread GitBox


mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396404919

   If you want to access `/food/v1/dashes` and return contents by path 
`/v1/dashes`. You need to add a proxy-rewrite plugin. 
https://apisix.apache.org/docs/apisix/plugins/proxy-rewrite/


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] mscb402 commented on issue #8709: help request: Setting up routing path

2023-01-18 Thread GitBox


mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396403642

   Does this `Whitelabel Error Page` is your upstream response? If so, that 
means your config is not right. If your upstream is "example.com" if you set 
`/*` and access `/v1/dashes` APISIX will be translated to 
`example.com/v1/dashes` which returns right. But when you set the path to 
`/food/*` and access `/food/v1/dashes` APISIX will be translated to 
`example.com/food/v1/dashes`. Obviously, this path does not exist.
   So there is why your upstream server returned 404.


-- 
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-unsubscr...@apisix.apache.org

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



[apisix-website] branch master updated: docs: add "Accessing Apisix-dashboard from everywhere with Keycloak authentication" (#1468)

2023-01-18 Thread juzhiyuan
This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git


The following commit(s) were added to refs/heads/master by this push:
 new ec71821bbea docs: add "Accessing Apisix-dashboard from everywhere with 
Keycloak authentication" (#1468)
ec71821bbea is described below

commit ec71821bbeafaa2b8e5b836c240ec13011b3662f
Author: mirtobus...@gmail.com 
AuthorDate: Thu Jan 19 04:46:12 2023 +0100

docs: add "Accessing Apisix-dashboard from everywhere with Keycloak 
authentication" (#1468)

Co-authored-by: 琚致远 / Zhiyuan Ju 
Co-authored-by: Yilia <114121331+yilial...@users.noreply.github.com>
---
 ...from_everywhere_with_keycloak_authentication.md | 1152 
 1 file changed, 1152 insertions(+)

diff --git 
a/blog/en/blog/2023/01/02/accessing_apisix-dashboard_from_everywhere_with_keycloak_authentication.md
 
b/blog/en/blog/2023/01/02/accessing_apisix-dashboard_from_everywhere_with_keycloak_authentication.md
new file mode 100644
index 000..468e91252f7
--- /dev/null
+++ 
b/blog/en/blog/2023/01/02/accessing_apisix-dashboard_from_everywhere_with_keycloak_authentication.md
@@ -0,0 +1,1152 @@
+---
+title: "Accessing APISIX-Dashboard from Everywhere with Keycloak 
Authentication"
+authors:
+  - name: "Busico Mirto Silvio"
+title: ""
+url: "https://github.com/MirtoBusico";
+image_url: 
"https://avatars.githubusercontent.com/u/11090934?s=400&u=644e4f87c2fad56760f6eb4f46cbcb4db059880a&v=4";
+keywords:
+  - Alternatives to NGINX
+  - Access and Authentication
+  - Nginx reverse proxy
+  - OpenID-Connect
+  - Keycloak
+description: This guest blog shares how to expose the APISIX Dashboard using 
APISIX to authenticate access with the OpenID-Connect plugin and Keycloak 
server to manage identities.
+tags:
+  - APISIX Basics
+  - API Gateway Concepts
+  - Authorization & Authentication
+cover: https://static.apiseven.com/uploads/2023/01/19/FKDU7U6j_blog01a.png
+---
+
+> This article describes how to setup an external access to apisix-dashboard 
protecting the URL with authentication managed by a keycloak server.
+
+
+
+![framework](https://github.com/MirtoBusico/assets-for-blogs/blob/main/blog01a.png)
+
+This article presents how to setup a framework where a user can access the 
Apisix-dashboard protected using an authentication system managed by a Keycloak 
server.
+
+## Prerequisites
+
+Basic understanding of nginx reverse proxy, kubernetes, apisix and openid 
connect.
+
+> A lot of information on this matter can be found in ["Use Keycloak with API 
Gateway to secure 
APIs"](https://apisix.apache.org/blog/2022/07/06/use-keycloak-with-api-gateway-to-secure-apis/)
 blog post
+
+Here I'll present instructions, examples, code and screenshots taken from my 
home lab.
+
+The framework used in this article consists of some KVM virtual machines (from 
now VM):
+
+| VM Name | Role | Services | Description |
+|-|--|--|-|
+|   hdev  |  Development|kubectl, istioctl, helm  | 
workstation from where manage the cluster   |
+|   hserv |  external services| DNS server, Nginx, Keycloak  | 
services used by the cluster VM and external users|
+|   hkm   | Kubernetes master | master node | control plane 
manager for K8S|
+|   hkw1  | K8S worker 1| first worker node | node for 
hosting pods|
+|   hkw2  | K8S worker 2| second worker node | node for 
hosting pods|
+|   hkw3  | K8S worker 3| third worker node | node for 
hosting pods|
+
+The **hserv** VM have two lan cards: one on an external lan to expose services 
and one an internal lan to communicate with the Kubernetes (from now K8S) 
cluster.
+All the other VM are only connected to the internal lan.
+
+All the machines resolve the IP addresses using the DNS server installed on 
**hserv**
+
+**Hserv** and **hdev** machines have a Graphical User Interface (from now 
GUI). All the other machines have only the character console.
+
+> The real framework is more complex. Here are reported only the relevant 
components
+
+All machines use Ubuntu distribution but commands reported here should worh 
for other distributions with some modifications.
+The username used throughout this article will be **"sysop"** So the home 
directory will be indicated as **"/home/sysop"** or **"~/"**.
+
+## Create a Certification Authority and Certificates
+
+For all the VM the DNS server will resolve **"apisix.h.net"** to the external 
address of **hserv**.
+In all others machine that will access the the services exposed by **hserv** 
there will be a line in the **"/etc/hosts"** file resolving **"apisix.h.net"** 
to the external address of **hserv**.
+
+> Working on **hserv**
+
+Create the directory for the entire project software
+
+```
+cd
+mkdir H
+```

[GitHub] [apisix-website] juzhiyuan merged pull request #1468: Add blog post "Accessing Apisix-dashboard from everywhere with Keycloak authentication"

2023-01-18 Thread GitBox


juzhiyuan merged PR #1468:
URL: https://github.com/apache/apisix-website/pull/1468


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-website] juzhiyuan commented on a diff in pull request #1468: Add blog post "Accessing Apisix-dashboard from everywhere with Keycloak authentication"

2023-01-18 Thread GitBox


juzhiyuan commented on code in PR #1468:
URL: https://github.com/apache/apisix-website/pull/1468#discussion_r1080776370


##
blog/en/blog/2023/01/02/accessing_apisix-dashboard_from_everywhere_with_keycloak_authentication.md:
##
@@ -0,0 +1,1152 @@
+---
+title: "Accessing APISIX-Dashboard from Everywhere with Keycloak 
Authentication"
+authors:
+  - name: "Busico Mirto Silvio"
+title: ""
+url: "https://github.com/MirtoBusico";
+image_url: 
"https://avatars.githubusercontent.com/u/11090934?s=400&u=644e4f87c2fad56760f6eb4f46cbcb4db059880a&v=4";
+keywords:
+  - Alternatives to NGINX
+  - Access and Authentication
+  - Nginx reverse proxy
+  - OpenID-Connect
+  - Keycloak
+description: This guest blog shares how to expose the APISIX Dashboard using 
APISIX to authenticate access with the OpenID-Connect plugin and Keycloak 
server to manage identities.
+tags:
+  - APISIX Basics
+  - API Gateway Concepts
+  - Authorization & Authentication
+cover: https://github.com/MirtoBusico/assets-for-blogs/blob/main/blog01a.png

Review Comment:
   ```suggestion
   cover: https://static.apiseven.com/uploads/2023/01/19/FKDU7U6j_blog01a.png
   ```



-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] mscb402 opened a new pull request, #8711: feat: file logger plugin support response body in variable

2023-01-18 Thread GitBox


mscb402 opened a new pull request, #8711:
URL: https://github.com/apache/apisix/pull/8711

   ### Description
   
   We need to add a new var resp_body to let the user put it in a log format 
which let the user use the response in the way there want.
   
   Fixes #8705
   
   ### Checklist
   
   - [x] I have explained the need for this PR and the problem it solves
   - [x] I have explained the changes or the new features added to this PR
   - [x] I have added tests corresponding to this change
   - [x] I have updated the documentation to reflect this change
   - [x] I have verified that this change is backward compatible (If not, 
please discuss on the [APISIX mailing 
list](https://github.com/apache/apisix/tree/master#community) first)
   
   
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] mscb402 commented on issue #8710: 前后端跨域问题 CORS policy

2023-01-18 Thread GitBox


mscb402 commented on issue #8710:
URL: https://github.com/apache/apisix/issues/8710#issuecomment-1396397833

   Maybe you can set allow credentials to true.


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-website] juzhiyuan commented on pull request #1468: Add blog post "Accessing Apisix-dashboard from everywhere with Keycloak authentication"

2023-01-18 Thread GitBox


juzhiyuan commented on PR #1468:
URL: https://github.com/apache/apisix-website/pull/1468#issuecomment-1396397685

   Thanks to @MirtoBusico and @Yilialinn!
   
   > Hi @juzhiyuan, I've done my review. Hope you can change the status from 
draft to approve if you have no questions
   
   I just changed the status from Draft to Ready for Review :) Usually once the 
author thinks it's ready, they can change it directly 😄 
   
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-website] KID-G opened a new pull request, #1480: docs:add what is service mesh blog

2023-01-18 Thread GitBox


KID-G opened a new pull request, #1480:
URL: https://github.com/apache/apisix-website/pull/1480

   Changes:
   
   Add what is service mesh blog
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-website] netlify[bot] commented on pull request #1480: docs:add what is service mesh blog

2023-01-18 Thread GitBox


netlify[bot] commented on PR #1480:
URL: https://github.com/apache/apisix-website/pull/1480#issuecomment-1396395376

   ### 👷 Deploy Preview for *apache-apisix* 
processing.
   
   
   |  Name | Link |
   |-||
   |🔨 Latest commit | 
ed2218f3a79e337a8da87f855b91641b833fbcaa |
   |🔍 Latest deploy log | 
https://app.netlify.com/sites/apache-apisix/deploys/63c8b99e0e57f85edec7 |


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] githubxubin opened a new issue, #8710: 前后端跨域问题 CORS policy

2023-01-18 Thread GitBox


githubxubin opened a new issue, #8710:
URL: https://github.com/apache/apisix/issues/8710

   ### Description
   
   1.新建路由 开启cors 插件
   `{
 "uri": "/cor/*",
 "name": "test",
 "desc": "test",
 "methods": [
   "GET",
   "POST",
   "PUT",
   "DELETE",
   "PATCH",
   "HEAD",
   "OPTIONS",
   "CONNECT",
   "TRACE"
 ],
 "plugins": {
   "cors": {
 "allow_credential": false,
 "allow_headers": "*",
 "allow_methods": "*",
 "allow_origins": "*",
 "disable": false,
 "expose_headers": "*",
 "max_age": 5
   },
   "proxy-rewrite": {
 "regex_uri": [
   "^/cor(/|$)(.*)",
   "/$2"
 ]
   }
 },
 "upstream": {
   "nodes": [
 {
   "host": "192.168.85.66",
   "port": 8001,
   "weight": 1
 }
   ],
   "timeout": {
 "connect": 6,
 "send": 6,
 "read": 6
   },
   "type": "roundrobin",
   "scheme": "http",
   "pass_host": "pass",
   "keepalive_pool": {
 "idle_timeout": 60,
 "requests": 1000,
 "size": 320
   }
 },
 "labels": {
   "API_VERSION": "v1.0"
 },
 "status": 1
   }`
   
   
   2.前后端分离项目,直接调用路由地址,google 浏览器 报跨域错误
   
![image](https://user-images.githubusercontent.com/39228009/213348858-40190bff-719f-4b95-a294-fe7393e95e3a.png)
   
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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-unsubscr...@apisix.apache.org.apache.org

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



[GitHub] [apisix-website] Fabriceli commented on a diff in pull request #1478: docs: add apisix with consul blog

2023-01-18 Thread GitBox


Fabriceli commented on code in PR #1478:
URL: https://github.com/apache/apisix-website/pull/1478#discussion_r1080763913


##
blog/zh/blog/2023/01/18/consul-with-apisix.md:
##
@@ -0,0 +1,271 @@
+---
+title: "Apache APISIX 集成原生 Consul 服务发现能力"
+authors:
+  - name: "李奕浩"
+title: "Author"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";
+  - name: "李奕浩"
+title: "Technical Writer"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";
+keywords:
+- API Gateway
+- Consul
+- 服务发现
+- 服务注册
+description: 云原生 API 网关 Apache APISIX 支持基于 Consul 的服务发现。本文讲述了在 Apache APISIX 
中实现服务发现和服务注册的全过程及 consul 的相关原理。

Review Comment:
   done



##
blog/zh/blog/2023/01/18/consul-with-apisix.md:
##
@@ -0,0 +1,271 @@
+---
+title: "Apache APISIX 集成原生 Consul 服务发现能力"
+authors:
+  - name: "李奕浩"
+title: "Author"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";
+  - name: "李奕浩"
+title: "Technical Writer"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";

Review Comment:
   done



##
blog/en/blog/2023/01/18/consul-with-apisix.md:
##
@@ -0,0 +1,278 @@
+---
+title: "How to Integrate API Gateway and Consul? Not Consul K/V"
+authors:
+  - name: "Yihao LI"
+title: "Author"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";
+  - name: "Yihao LI"
+title: "Technical Writer"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";

Review Comment:
   done



-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-website] Fabriceli commented on a diff in pull request #1478: docs: add apisix with consul blog

2023-01-18 Thread GitBox


Fabriceli commented on code in PR #1478:
URL: https://github.com/apache/apisix-website/pull/1478#discussion_r1080763797


##
blog/zh/blog/2023/01/18/consul-with-apisix.md:
##
@@ -0,0 +1,271 @@
+---
+title: "Apache APISIX 集成原生 Consul 服务发现能力"
+authors:
+  - name: "李奕浩"
+title: "Author"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";
+  - name: "李奕浩"
+title: "Technical Writer"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";
+keywords:
+- API Gateway
+- Consul
+- 服务发现
+- 服务注册
+description: 云原生 API 网关 Apache APISIX 支持基于 Consul 的服务发现。本文讲述了在 Apache APISIX 
中实现服务发现和服务注册的全过程及 consul 的相关原理。
+tags: [Ecosystem]
+image: 
https://static.apiseven.com/2022/blog/0818/ecosystem/HashiCorp%20Consul.png
+---
+
+## 背景
+
+### 关于 Apache APISIX
+
+Apache APISIX 是 Apache 软件基金会下的云原生 API 
网关,它兼具动态、实时、高性能等特点,提供了负载均衡、动态上游、灰度发布(金丝雀发布)、服务熔断、身份认证、可观测性等丰富的流量管理功能。我们可以使用 
Apache APISIX 来处理传统的南北向流量,也可以处理服务间的东西向流量。
+
+### 关于 Consul
+
+Consul 是 HashiCorp 公司推出的开源工具,用于实现分布式系统的服务发现与配置,提供了服务注册与发现、健康检查、Key/Value 
存储、多数据中心的能力。
+
+## 准备阶段
+
+本文中的测试环境使用 docker-compose 搭建
+
+1. 下载 Apache APISIX
+
+   ```sh
+   git clone https://github.com/apache/apisix-docker.git
+   ```
+
+2. 创建并运行 Consul
+
+   ```sh
+   docker run --rm --name consul_1 -d -p 8500:8500 consul:1.8 consul agent 
-server -bootstrap-expect=1 -node=agent-one -client 0.0.0.0 -log-level info 
-data-dir=/consul/data -enable-script-checks
+   ```
+
+3. 更新 Apache APISIX 中的配置文件`apisix_conf/config.yaml`
+
+   ```yaml
+   # config.yml
+   # ... other config
+   discovery:
+ consul:
+   servers:
+ - "http://127.0.0.1:8500";
+   ```
+
+4. 启动 Apache APISIX
+
+   ```sh
+   # 进 example 文件夹,启动 APISIX
+   docker-compose -f docker-compose.yml -p apisix-docker  up -d
+   ```
+
+5. 测试服务已经包含了两个 Web 服务,确认 Web 服务的 IP 地址
+
+   ```sh
+   $ sudo docker inspect -f='{{.Name}} - {{range 
.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(sudo docker ps -aq) | grep 
web
+   # 输出
+   /apisix-docker-web1-1 - 172.21.0.5
+   /apisix-docker-web2-1 - 172.21.0.6
+   ```
+
+6. 请求 Consul HTTP API 将 Web 服务注册到 Consul
+
+   ```sh
+   # 使用 Web 对应的 IP 和 port 进行注册
+   $ curl --location --request PUT 
'http://127.0.0.1:8500/v1/agent/service/register' \
+   --header 'Content-Type: application/json' \
+   --data '{
+  "ID": "service_a1",
+  "Name": "service_a",
+  "Tags": ["primary", "v1"],
+  "Address": "172.21.0.5",
+  "Port": 9081,
+  "Weights": {
+ "Passing": 10,
+ "Warning": 1
+  }
+   }'
+
+   $ curl --location --request PUT 
'http://127.0.0.1:8500/v1/agent/service/register' \
+   --header 'Content-Type: application/json' \
+   --data '{
+  "ID": "service_a2",
+  "Name": "service_a",
+  "Tags": ["primary", "v1"],
+  "Address": "172.21.0.6",
+  "Port": 9082,
+  "Weights": {
+ "Passing": 10,
+ "Warning": 1
+  }
+   }'
+   ```
+
+7. 查看测试服务是否注册成功
+
+   ```sh
+   $ curl --location --request GET 
'http://127.0.0.1:8500/v1/catalog/service/service_a'
+   ```
+
+   其中,`/v1/catalog/service/`后的路径是服务名称,即服务注册时候的`name`。
+   返回消息体如下则表示成功注册。
+
+  ```json
+   [{
+  "ID": "7a36c6f1-f701-9c67-8db8-7b8551d36b4a",
+  "Node": "agent-one",
+  "Address": "172.23.0.2",
+  "Datacenter": "dc1",
+  "TaggedAddresses": {
+ "lan": "172.23.0.2",
+ "lan_ipv4": "172.23.0.2",
+ "wan": "172.23.0.2",
+ "wan_ipv4": "172.23.0.2"
+  },
+  "NodeMeta": {
+ "consul-network-segment": ""
+  },
+  "ServiceKind": "",
+  "ServiceID": "service_a1",
+  "ServiceName": "service_a",
+  "ServiceTags": ["primary", "v1"],
+  "ServiceAddress": "172.20.10.2",
+  "ServiceTaggedAddresses": {
+ "lan_ipv4": {
+"Address": "172.20.10.2",
+"Port": 9082
+ },
+ "wan_ipv4": {
+"Address": "172.20.10.2",
+"Port": 9082
+ }
+  },
+  "ServiceWeights": {
+ "Passing": 10,
+ "Warning": 1
+  },
+  "ServiceMeta": {},
+  "ServicePort": 9082,
+  "ServiceEnableTagOverride": false,
+  "ServiceProxy": {
+ "MeshGateway": {},
+ "Expose": {}
+  },
+  "ServiceConnect": {},
+  "CreateIndex": 46,
+  "ModifyIndex": 124
+   }, {
+  "ID": "7a36c6f1-f701-9c67-8db8-7b8551d36b4a",
+  "Node": "agent-one",
+  "Address": "172.23.0.2",
+  "Datacenter": "dc1",
+  "TaggedAddresses": {
+ "lan": "172.23.0.2",
+ "lan_ipv4": "172.23.0.2",
+ "wan": "172.23.0.2",
+ "wan_ipv4": "172.23.0.2"
+  },
+  "NodeMeta": {
+ "consul-network-segment": ""
+  },
+  "ServiceKind": "",
+  "ServiceID": "service_a2",
+  "ServiceName": "service_a",
+  "ServiceTags": ["primary", "v1"],
+  "ServiceAddress": "172.20.10.2",
+  "ServiceTaggedAddresses": {
+ "lan_ipv4": {
+"Addres

[GitHub] [apisix-website] netlify[bot] commented on pull request #1479: docs:add weekly report 20230115

2023-01-18 Thread GitBox


netlify[bot] commented on PR #1479:
URL: https://github.com/apache/apisix-website/pull/1479#issuecomment-1396377833

   ### 👷 Deploy Preview for *apache-apisix* 
processing.
   
   
   |  Name | Link |
   |-||
   |🔨 Latest commit | 
3db1a60e76b0c78d6d641026a87e77736ea53f5d |
   |🔍 Latest deploy log | 
https://app.netlify.com/sites/apache-apisix/deploys/63c8b1dcf961dc0008295d2e |


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-website] KID-G opened a new pull request, #1479: docs:add weekly report 20230115

2023-01-18 Thread GitBox


KID-G opened a new pull request, #1479:
URL: https://github.com/apache/apisix-website/pull/1479

   Changes:
   
   Add weekly report 20230115
   
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-website] SylviaBABY commented on a diff in pull request #1478: docs: add apisix with consul blog

2023-01-18 Thread GitBox


SylviaBABY commented on code in PR #1478:
URL: https://github.com/apache/apisix-website/pull/1478#discussion_r1080753000


##
blog/en/blog/2023/01/18/consul-with-apisix.md:
##
@@ -0,0 +1,278 @@
+---
+title: "How to Integrate API Gateway and Consul? Not Consul K/V"
+authors:
+  - name: "Yihao LI"
+title: "Author"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";
+  - name: "Yihao LI"
+title: "Technical Writer"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";

Review Comment:
   you can delete this part, only keep "Author". Cause you are the author of 
this article, and no one else edits this article except you. such as this:(same 
with ZH)
   https://user-images.githubusercontent.com/39793568/213342198-dd5153ab-714c-4cb7-91c1-a3d780825ddb.png";>
   



##
blog/zh/blog/2023/01/18/consul-with-apisix.md:
##
@@ -0,0 +1,271 @@
+---
+title: "Apache APISIX 集成原生 Consul 服务发现能力"
+authors:
+  - name: "李奕浩"
+title: "Author"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";
+  - name: "李奕浩"
+title: "Technical Writer"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";

Review Comment:
   ditto



##
blog/zh/blog/2023/01/18/consul-with-apisix.md:
##
@@ -0,0 +1,271 @@
+---
+title: "Apache APISIX 集成原生 Consul 服务发现能力"
+authors:
+  - name: "李奕浩"
+title: "Author"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";
+  - name: "李奕浩"
+title: "Technical Writer"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";
+keywords:
+- API Gateway
+- Consul
+- 服务发现
+- 服务注册
+description: 云原生 API 网关 Apache APISIX 支持基于 Consul 的服务发现。本文讲述了在 Apache APISIX 
中实现服务发现和服务注册的全过程及 consul 的相关原理。

Review Comment:
   ```suggestion
   description: 云原生 API 网关 Apache APISIX 支持基于 Consul 的服务发现。本文讲述了在 Apache APISIX 
中实现服务发现和服务注册的全过程及 Consul 的相关原理。
   ```



##
blog/zh/blog/2023/01/18/consul-with-apisix.md:
##
@@ -0,0 +1,271 @@
+---
+title: "Apache APISIX 集成原生 Consul 服务发现能力"
+authors:
+  - name: "李奕浩"
+title: "Author"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";
+  - name: "李奕浩"
+title: "Technical Writer"
+url: "https://github.com/Fabriceli";
+image_url: "https://github.com/Fabriceli.png";
+keywords:
+- API Gateway
+- Consul
+- 服务发现
+- 服务注册
+description: 云原生 API 网关 Apache APISIX 支持基于 Consul 的服务发现。本文讲述了在 Apache APISIX 
中实现服务发现和服务注册的全过程及 consul 的相关原理。
+tags: [Ecosystem]
+image: 
https://static.apiseven.com/2022/blog/0818/ecosystem/HashiCorp%20Consul.png
+---
+
+## 背景
+
+### 关于 Apache APISIX
+
+Apache APISIX 是 Apache 软件基金会下的云原生 API 
网关,它兼具动态、实时、高性能等特点,提供了负载均衡、动态上游、灰度发布(金丝雀发布)、服务熔断、身份认证、可观测性等丰富的流量管理功能。我们可以使用 
Apache APISIX 来处理传统的南北向流量,也可以处理服务间的东西向流量。
+
+### 关于 Consul
+
+Consul 是 HashiCorp 公司推出的开源工具,用于实现分布式系统的服务发现与配置,提供了服务注册与发现、健康检查、Key/Value 
存储、多数据中心的能力。
+
+## 准备阶段
+
+本文中的测试环境使用 docker-compose 搭建
+
+1. 下载 Apache APISIX
+
+   ```sh
+   git clone https://github.com/apache/apisix-docker.git
+   ```
+
+2. 创建并运行 Consul
+
+   ```sh
+   docker run --rm --name consul_1 -d -p 8500:8500 consul:1.8 consul agent 
-server -bootstrap-expect=1 -node=agent-one -client 0.0.0.0 -log-level info 
-data-dir=/consul/data -enable-script-checks
+   ```
+
+3. 更新 Apache APISIX 中的配置文件`apisix_conf/config.yaml`
+
+   ```yaml
+   # config.yml
+   # ... other config
+   discovery:
+ consul:
+   servers:
+ - "http://127.0.0.1:8500";
+   ```
+
+4. 启动 Apache APISIX
+
+   ```sh
+   # 进 example 文件夹,启动 APISIX
+   docker-compose -f docker-compose.yml -p apisix-docker  up -d
+   ```
+
+5. 测试服务已经包含了两个 Web 服务,确认 Web 服务的 IP 地址
+
+   ```sh
+   $ sudo docker inspect -f='{{.Name}} - {{range 
.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(sudo docker ps -aq) | grep 
web
+   # 输出
+   /apisix-docker-web1-1 - 172.21.0.5
+   /apisix-docker-web2-1 - 172.21.0.6
+   ```
+
+6. 请求 Consul HTTP API 将 Web 服务注册到 Consul
+
+   ```sh
+   # 使用 Web 对应的 IP 和 port 进行注册
+   $ curl --location --request PUT 
'http://127.0.0.1:8500/v1/agent/service/register' \
+   --header 'Content-Type: application/json' \
+   --data '{
+  "ID": "service_a1",
+  "Name": "service_a",
+  "Tags": ["primary", "v1"],
+  "Address": "172.21.0.5",
+  "Port": 9081,
+  "Weights": {
+ "Passing": 10,
+ "Warning": 1
+  }
+   }'
+
+   $ curl --location --request PUT 
'http://127.0.0.1:8500/v1/agent/service/register' \
+   --header 'Content-Type: application/json' \
+   --data '{
+  "ID": "service_a2",
+  "Name": "service_a",
+  "Tags": ["primary", "v1"],
+  "Address": "172.21.0.6",
+  "Port": 9082,
+  "Weights": {
+ "Passing": 10,
+ "Warning": 1
+  }
+   }'
+   ```
+
+7. 查看测试服务是否注册成功
+
+   ```sh
+   $ curl --location --request GET 
'http://127.0.0.1:8

[GitHub] [apisix-website] Fabriceli commented on pull request #1478: docs: add apisix with consul blog

2023-01-18 Thread GitBox


Fabriceli commented on PR #1478:
URL: https://github.com/apache/apisix-website/pull/1478#issuecomment-1396349413

   > @Fabriceli thanks for your contribution! Looking forward to this article.
   > 
   > You can check this part to fix Lint errors https://user-images.githubusercontent.com/39793568/213334227-cbc83409-5400-49d0-9799-5feea32ac6d5.png";>
 https://user-images.githubusercontent.com/39793568/213334233-e184fd6c-7164-4a21-8e16-208f9df289ed.png";>
   
   Done


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-ingress-controller] Fabriceli commented on issue #1587: feat request: ApisixConsumer CRD add openid-connect support

2023-01-18 Thread GitBox


Fabriceli commented on issue #1587:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/1587#issuecomment-1396348718

   > @Fabriceli APISIX consumer is used for those built-in **internal** 
authentication, which replies on users to configure the auth credentials on the 
consumer, while for OpenID connect, you don't need a consumer. So IMHO, this 
feature is not reasonable.
   
   thanks, but i am confused about the Consumer with these auth plugins, How 
can I set up Keycloak with these auth plugins in Consumer? Our team want to 
manager Consumer with Keycloak auth, for the moment, Does Consumer support this 
feature?


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] SylviaBABY commented on issue #8698: [docs]: deployment-role.md is not exist

2023-01-18 Thread GitBox


SylviaBABY commented on issue #8698:
URL: https://github.com/apache/apisix/issues/8698#issuecomment-1396345588

   > @SylviaBABY @yzeng25 Hi, do you have time to fix this?
   
   will fix it this week, thanks for remind


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-dashboard] ronething commented on issue #2716: Support configuring multiple prefixes of etcd for apisix-dashboard

2023-01-18 Thread GitBox


ronething commented on issue #2716:
URL: 
https://github.com/apache/apisix-dashboard/issues/2716#issuecomment-1396339009

   same as https://github.com/apache/apisix-dashboard/issues/2549


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] SkyeYoung commented on issue #8698: [docs]: deployment-role.md is not exist

2023-01-18 Thread GitBox


SkyeYoung commented on issue #8698:
URL: https://github.com/apache/apisix/issues/8698#issuecomment-1396333688

   @SylviaBABY @yzeng25 Hi, do you have time to fix this?


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-ingress-controller] tokers commented on issue #1587: feat request: ApisixConsumer CRD add openid-connect support

2023-01-18 Thread GitBox


tokers commented on issue #1587:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/1587#issuecomment-1396326953

   @Fabriceli APISIX consumer is used for those built-in **internal** 
authentication, which replies on users to configure the auth credentials on the 
consumer, while for OpenID connect, you don't need a consumer. So IMHO, this 
feature is not reasonable.


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-website] SylviaBABY commented on pull request #1478: docs: add apisix with consul blog

2023-01-18 Thread GitBox


SylviaBABY commented on PR #1478:
URL: https://github.com/apache/apisix-website/pull/1478#issuecomment-1396326549

   @Fabriceli thanks for your contribution! Looking forward to this article. 
   
   You can check this part to fix Lint errors
   https://user-images.githubusercontent.com/39793568/213334227-cbc83409-5400-49d0-9799-5feea32ac6d5.png";>
   https://user-images.githubusercontent.com/39793568/213334233-e184fd6c-7164-4a21-8e16-208f9df289ed.png";>
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-ingress-controller] AlinsRan opened a new pull request, #1605: doc: add svc-namespace description to the annotations

2023-01-18 Thread GitBox


AlinsRan opened a new pull request, #1605:
URL: https://github.com/apache/apisix-ingress-controller/pull/1605

   
   
   ### Type of change:
   
   
   
   - [ ] Bugfix
   - [ ] New feature provided
   - [ ] Improve performance
   - [ ] Backport patches
   
   ### What this PR does / why we need it:
   
   
   
   ### Pre-submission checklist:
   
   
   
   * [ ] Did you explain what problem does this PR solve? Or what new features 
have been added?
   * [ ] Have you added corresponding test cases?
   * [ ] Have you modified the corresponding document?
   * [ ] Is this PR backward compatible? **If it is not backward compatible, 
please discuss on the [mailing 
list](https://github.com/apache/apisix-ingress-controller#community) first**
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-ingress-controller] jensg-st commented on issue #1602: bug: DNS resolution on Ubuntu 22.04.1 LTS

2023-01-18 Thread GitBox


jensg-st commented on issue #1602:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/1602#issuecomment-1387359424

   The `etc/resolv.conf` looks alright:
   
   ```
   search apisix.svc.cluster.local svc.cluster.local cluster.local 
local.ds-networks.de
   nameserver 10.43.0.10
   options ndots:5
   ```


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] tao12345666333 commented on issue #8686: feat: As a user, I want to the consumer support openid-connect plugin as an auth plugin, so that we can use openid-connect plugin to config c

2023-01-18 Thread GitBox


tao12345666333 commented on issue #8686:
URL: https://github.com/apache/apisix/issues/8686#issuecomment-1387230513

   cc @soulbird @spacewander 


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1587: feat request: ApisixConsumer CRD add openid-connect support

2023-01-18 Thread GitBox


tao12345666333 commented on issue #1587:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/1587#issuecomment-1387229094

   Thanks, I will back tomorrow


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] mgonzaga1990 opened a new issue, #8709: help request: Setting up routing path

2023-01-18 Thread GitBox


mgonzaga1990 opened a new issue, #8709:
URL: https://github.com/apache/apisix/issues/8709

   ### Description
   
   I have Apache APISIX setup in docker and it is using consul service 
discovery.
   
   Everything works fine if my route is **/*** however if I changed it to 
something like **/food/*** it returns 404.
   
   
![image](https://user-images.githubusercontent.com/21145779/213183482-405be1ee-bc41-4681-aff0-0994cbf0b717.png)
   
   _with /* path_
   
![image](https://user-images.githubusercontent.com/21145779/213183870-3b5e196b-ad0b-4216-9201-31779d00682d.png)
   
![image](https://user-images.githubusercontent.com/21145779/213183770-de007934-7a7f-4bb1-b4e1-6affc7d29414.png)
   
   _with /food/* path_
   
![image](https://user-images.githubusercontent.com/21145779/213183994-a56782d5-ea51-49dd-a131-b0cb753db48d.png)
   
![image](https://user-images.githubusercontent.com/21145779/213184059-7c7e4b63-35db-4a70-8cab-d48fa00927c4.png)
   
   
   Note: I have tested that APISIX is connected to consul properly. I just 
having issues setting up custom path.
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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-unsubscr...@apisix.apache.org.apache.org

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



[GitHub] [apisix-website] Yilialinn commented on pull request #1468: Add blog post "Accessing Apisix-dashboard from everywhere with Keycloak authentication"

2023-01-18 Thread GitBox


Yilialinn commented on PR #1468:
URL: https://github.com/apache/apisix-website/pull/1468#issuecomment-1386887578

   Hi @juzhiyuan, I've done my review. Hope you can change the status from 
draft to approve if you have no questions


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-ingress-controller] Gallardot opened a new pull request, #1604: docs: update prowered-by.md

2023-01-18 Thread GitBox


Gallardot opened a new pull request, #1604:
URL: https://github.com/apache/apisix-ingress-controller/pull/1604

   
   Thanks to the community, great job!
   ### Type of change:
   
   
   
   - [ ] Bugfix
   - [ ] New feature provided
   - [ ] Improve performance
   - [ ] Backport patches
   
   ### What this PR does / why we need it:
   
   
   
   ### Pre-submission checklist:
   
   
   
   * [ ] Did you explain what problem does this PR solve? Or what new features 
have been added?
   * [ ] Have you added corresponding test cases?
   * [ ] Have you modified the corresponding document?
   * [ ] Is this PR backward compatible? **If it is not backward compatible, 
please discuss on the [mailing 
list](https://github.com/apache/apisix-ingress-controller#community) first**
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1602: bug: DNS resolution on Ubuntu 22.04.1 LTS

2023-01-18 Thread GitBox


tao12345666333 commented on issue #1602:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/1602#issuecomment-1386734933

   Can you try to exec into the pod and look at `/etc/resolv.conf` ?
   
   
   
   > Other than that you can close the issue because we are building our own 
image on Ubuntu now because centos is not longer supported/maintained and we 
need UTC as timezone. This is just FYI.
   
   good point! I think we can modify it


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-website] netlify[bot] commented on pull request #1478: docs: add apisix with consul blog

2023-01-18 Thread GitBox


netlify[bot] commented on PR #1478:
URL: https://github.com/apache/apisix-website/pull/1478#issuecomment-1386727588

   ### 👷 Deploy Preview for *apache-apisix* 
processing.
   
   
   |  Name | Link |
   |-||
   |🔨 Latest commit | 
7dfc1885ba573ad4766a1cb05cd5980ff8fab070 |
   |🔍 Latest deploy log | 
https://app.netlify.com/sites/apache-apisix/deploys/63c7b8f53b580700096612c3 |


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-website] Fabriceli opened a new pull request, #1478: docs: add apisix with consul blog

2023-01-18 Thread GitBox


Fabriceli opened a new pull request, #1478:
URL: https://github.com/apache/apisix-website/pull/1478

   Fixes: #[Add issue number here]
   
   Changes:
   
   add apisix with consul blog
   
   
   Screenshots of the change:
   
   
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] monkeyDluffy6017 commented on issue #8702: if etcd is down,the apisix not affect service?

2023-01-18 Thread GitBox


monkeyDluffy6017 commented on issue #8702:
URL: https://github.com/apache/apisix/issues/8702#issuecomment-1386726390

   > if etcd cluster is down ,the apisix also can handle the requests
   
   Yes, Just can't update the data anymore after the etcd cluster is down


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-ingress-controller] codecov-commenter commented on pull request #1603: chore(deps): bump some dependencies

2023-01-18 Thread GitBox


codecov-commenter commented on PR #1603:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/1603#issuecomment-1386716080

   # 
[Codecov](https://codecov.io/gh/apache/apisix-ingress-controller/pull/1603?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 Report
   > Merging 
[#1603](https://codecov.io/gh/apache/apisix-ingress-controller/pull/1603?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 (f841ab8) into 
[master](https://codecov.io/gh/apache/apisix-ingress-controller/commit/31714eb4ae13c25ea0de1b2b7af0469f01938738?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 (31714eb) will **not change** coverage.
   > The diff coverage is `n/a`.
   
   ```diff
   @@   Coverage Diff   @@
   ##   master#1603   +/-   ##
   ===
 Coverage   41.30%   41.30%   
   ===
 Files  87   87   
 Lines7460 7460   
   ===
 Hits 3081 3081   
 Misses   4026 4026   
 Partials  353  353   
   ```
   
   
   
   :mega: We’re building smart automated test selection to slash your CI/CD 
build times. [Learn 
more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] snail2sky opened a new issue, #8708: apisix 能否支持对管理人员更细粒度的授权

2023-01-18 Thread GitBox


snail2sky opened a new issue, #8708:
URL: https://github.com/apache/apisix/issues/8708

   ### Description
   
   1. 
目前只要能登陆到apisix的dashboard,那么就能操作dashboard的所有功能,这其实在生产环境中是很危险的,目前是否支持更细粒度的授权?
   2. 
其次,apisix到底是一个什么样的定位呢?到底是交给运维人员管理,还是交由研发管理?运维将所有的相关域名的流量直接打到研发的apisix中,让研发根据自己的需求做更细粒度的调度?能否给出几个最佳实践
   3. 能否对相关的域名做批量替换upstream,主要指的是灾演情况
   
   - 因为我是运维人员,从我的观点来看,apisix有点像网络架构中的接入层的交换机,而不是核心层的,apisix应该离realserver 
(apiserver) 很近,而且经常操作他的人应该是研发,而不是运维;当然运维也可以用apisix 做汇聚层、甚至是核心层的 nginx,但是不会针对 
具体的 api进行转发,而只需要将域名的所有流量转发给研发的 apisix即可


-- 
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-unsubscr...@apisix.apache.org.apache.org

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



[GitHub] [apisix-ingress-controller] tao12345666333 opened a new pull request, #1603: chore(deps): bump some dependencies

2023-01-18 Thread GitBox


tao12345666333 opened a new pull request, #1603:
URL: https://github.com/apache/apisix-ingress-controller/pull/1603

   
   
   ### Type of change:
   
   
   
   - [ ] Bugfix
   - [ ] New feature provided
   - [ ] Improve performance
   - [ ] Backport patches
   
   ### What this PR does / why we need it:
   
   
   
   closes: #1600 
   closes: #1542
   ### Pre-submission checklist:
   
   
   
   * [ ] Did you explain what problem does this PR solve? Or what new features 
have been added?
   * [ ] Have you added corresponding test cases?
   * [ ] Have you modified the corresponding document?
   * [ ] Is this PR backward compatible? **If it is not backward compatible, 
please discuss on the [mailing 
list](https://github.com/apache/apisix-ingress-controller#community) first**
   


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-website] Yilialinn commented on a diff in pull request #1468: Add blog post "Accessing Apisix-dashboard from everywhere with Keycloak authentication"

2023-01-18 Thread GitBox


Yilialinn commented on code in PR #1468:
URL: https://github.com/apache/apisix-website/pull/1468#discussion_r1073252529


##
blog/en/blog/2023/01/02/accessing_apisix-dashboard_from_everywhere_with_keycloak_authentication.md:
##
@@ -0,0 +1,1152 @@
+---
+title: "Accessing APISIX-Dashboard from Everywhere with Keycloak 
Authentication"
+authors:
+  - name: "Busico Mirto Silvio"
+title: ""
+url: "https://github.com/MirtoBusico";
+image_url: 
"https://avatars.githubusercontent.com/u/11090934?s=400&u=644e4f87c2fad56760f6eb4f46cbcb4db059880a&v=4";
+keywords:
+  - Alternatives to NGINX
+  - Access and Authentication
+  - Nginx reverse proxy
+  - OpenID-Connect
+  - Keycloak
+description: This guest blog shares how to expose the APISIX Dashboard using 
APISIX to authenticate access with the OpenID-Connect plugin and Keycloak 
server to manage identities.
+tags:
+  - APISIX Basics
+  - API Gateway Concepts
+  - Authorization & Authentication
+cover: https://github.com/MirtoBusico/assets-for-blogs/blob/main/blog01a.png
+---
+
+> This article describes how to setup an external access to apisix-dashboard 
protecting the URL with authentication managed by a keycloak server.
+
+
+
+![framework](https://github.com/MirtoBusico/assets-for-blogs/blob/main/blog01a.png)
+
+This article presents how to setup a framework where a user can access the 
Apisix-dashboard protected using an authentication system managed by a Keycloak 
server.
+
+## Prerequisites
+
+Basic understanding of nginx reverse proxy, kubernetes, apisix and openid 
connect.
+
+> A lot of information on this matter can be found in ["Use Keycloak with API 
Gateway to secure 
APIs"](https://apisix.apache.org/blog/2022/07/06/use-keycloak-with-api-gateway-to-secure-apis/)
 blog post
+
+Here I'll present instructions, examples, code and screenshots taken from my 
home lab.
+
+The framework used in this article consists of some KVM virtual machines (from 
now VM):
+
+| VM Name | Role | Services | Description |
+|-|--|--|-|
+|   hdev  |  Development|kubectl, istioctl, helm  | 
workstation from where manage the cluster   |
+|   hserv |  external services| DNS server, Nginx, Keycloak  | 
services used by the cluster VM and external users|
+|   hkm   | Kubernetes master | master node | control plane 
manager for K8S|
+|   hkw1  | K8S worker 1| first worker node | node for 
hosting pods|
+|   hkw2  | K8S worker 2| second worker node | node for 
hosting pods|
+|   hkw3  | K8S worker 3| third worker node | node for 
hosting pods|
+
+The **hserv** VM have two lan cards: one on an external lan to expose services 
and one an internal lan to communicate with the Kubernetes (from now K8S) 
cluster.
+All the other VM are only connected to the internal lan.
+
+All the machines resolve the IP addresses using the DNS server installed on 
**hserv**
+
+**Hserv** and **hdev** machines have a Graphical User Interface (from now 
GUI). All the other machines have only the character console.
+
+> The real framework is more complex. Here are reported only the relevant 
components
+
+All machines use Ubuntu distribution but commands reported here should worh 
for other distributions with some modifications.
+The username used throughout this article will be **"sysop"** So the home 
directory will be indicated as **"/home/sysop"** or **"~/"**.
+
+## Create a Certification authority and certificates

Review Comment:
   ```suggestion
   ## Create a Certification Authority and Certificates
   ```



##
blog/en/blog/2023/01/02/accessing_apisix-dashboard_from_everywhere_with_keycloak_authentication.md:
##
@@ -0,0 +1,1152 @@
+---
+title: "Accessing APISIX-Dashboard from Everywhere with Keycloak 
Authentication"
+authors:
+  - name: "Busico Mirto Silvio"
+title: ""
+url: "https://github.com/MirtoBusico";
+image_url: 
"https://avatars.githubusercontent.com/u/11090934?s=400&u=644e4f87c2fad56760f6eb4f46cbcb4db059880a&v=4";
+keywords:
+  - Alternatives to NGINX
+  - Access and Authentication
+  - Nginx reverse proxy
+  - OpenID-Connect
+  - Keycloak
+description: This guest blog shares how to expose the APISIX Dashboard using 
APISIX to authenticate access with the OpenID-Connect plugin and Keycloak 
server to manage identities.
+tags:
+  - APISIX Basics
+  - API Gateway Concepts
+  - Authorization & Authentication
+cover: https://github.com/MirtoBusico/assets-for-blogs/blob/main/blog01a.png
+---
+
+> This article describes how to setup an external access to apisix-dashboard 
protecting the URL with authentication managed by a keycloak server.
+
+
+
+![framework](https://github.com/MirtoBusico/assets-for-blogs/blob/main/blog01a.png)
+
+This article presents how to setup a framework where a user can access the 
Apisix-dashboard protected using an authenticatio

[apisix-helm-chart] branch master updated: doc: update apisix doc for new users (#413)

2023-01-18 Thread tokers
This is an automated email from the ASF dual-hosted git repository.

tokers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-helm-chart.git


The following commit(s) were added to refs/heads/master by this push:
 new 2741f10  doc: update apisix doc for new users (#413)
2741f10 is described below

commit 2741f102d64ace12aa920d2770c3001524d99728
Author: Gallardot 
AuthorDate: Wed Jan 18 16:53:14 2023 +0800

doc: update apisix doc for new users (#413)

Signed-off-by: Gallardot 
---
 docs/en/latest/apisix.md | 8 
 1 file changed, 8 insertions(+)

diff --git a/docs/en/latest/apisix.md b/docs/en/latest/apisix.md
index 6acdae8..9cdddc8 100644
--- a/docs/en/latest/apisix.md
+++ b/docs/en/latest/apisix.md
@@ -31,6 +31,14 @@ helm repo update
 helm install apisix apisix/apisix --create-namespace  --namespace apisix
 ```
 
+### Start By One Line
+
+To quickly experience Apache APISIX related components like Apache APISIX 
Dashboard and Apache APISIX Ingress Controller. For a quick installation, start 
by one line:
+
+```shell
+helm repo add apisix https://charts.apiseven.com && helm repo update && helm 
upgrade --install apisix apisix/apisix --create-namespace  --namespace apisix 
--set dashboard.enabled=true --set ingress-controller.enabled=true --set 
ingress-controller.config.apisix.serviceNamespace=apisix
+```
+
 :::note
 
 The latest APISIX Dashboard are not compatible with APISIX 3.x.



[GitHub] [apisix-helm-chart] tokers merged pull request #413: doc: update apisix doc for new users

2023-01-18 Thread GitBox


tokers merged PR #413:
URL: https://github.com/apache/apisix-helm-chart/pull/413


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] unsw-luopan commented on issue #8540: bug: can't run apifix by offical document

2023-01-18 Thread GitBox


unsw-luopan commented on issue #8540:
URL: https://github.com/apache/apisix/issues/8540#issuecomment-1386679494

   save my life..same error, same mirror


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix] uran0sH commented on issue #5453: request help: proxy-cache plugin, why the cache expiration time cannot be configured dynamically?

2023-01-18 Thread GitBox


uran0sH commented on issue #5453:
URL: https://github.com/apache/apisix/issues/5453#issuecomment-1386676004

   So do I need to modify the config of Nginx and reload it in `header_filter`? 
Are there some operations to modify the config of Nginx? I am so confused about 
it. Could you give me some ideas?


-- 
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-unsubscr...@apisix.apache.org

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