Skip to content

feat: new version ingress controller helm chart #175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 22, 2025
Merged

Conversation

ronething
Copy link
Contributor

No description provided.

@ronething ronething requested a review from Copilot May 20, 2025 10:19
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new version of the ingress controller Helm chart, renaming and refactoring resources from the legacy "api7‑ingress‑controller" to "apisix‑ingress‑controller‑manager" while removing several legacy and potentially redundant resources.

  • Renames templates, labels, and helper functions to align with the new naming convention.
  • Removes legacy Kubernetes resources (e.g. HPA, RBAC, several CRDs, NOTES.txt, .helmignore) and updates deployment configurations.
  • Updates Chart metadata and README to reflect the new version and repository.

Reviewed Changes

Copilot reviewed 28 out of 28 changed files in this pull request and generated no comments.

Show a summary per file
File Description
charts/ingress-controller/templates/service-apisix.yaml Removed legacy APISIX Gateway Service definition.
charts/ingress-controller/templates/service-account.yaml Adjusted service account naming and added updated label definitions.
charts/ingress-controller/templates/role_binding.yaml Introduced new RoleBinding with updated labels and naming.
charts/ingress-controller/templates/role.yaml Added new Role with updated rules and labels.
charts/ingress-controller/templates/rbac.yaml Removed ClusterRole and ClusterRoleBinding resources.
charts/ingress-controller/templates/pdb.yaml Updated naming from legacy names to the new naming convention.
charts/ingress-controller/templates/hpa.yaml Removed HPA resource definitions.
charts/ingress-controller/templates/deployment.yaml Overhauled deployment configuration with new image, probes, and volume mounts.
charts/ingress-controller/templates/configmap.yaml Refactored ConfigMap name and configuration content.
charts/ingress-controller/templates/cluster_role_binding.yaml Added updated ClusterRoleBinding definitions with new labels.
charts/ingress-controller/templates/cluster_role.yaml Introduced new ClusterRole resources conforming to updated RBAC rules.
charts/ingress-controller/templates/_helpers.tpl Renamed helper function definitions to reflect new naming.
charts/ingress-controller/templates/NOTES.txt Removed NOTES file.
charts/ingress-controller/crds/*.yaml Removed several CRDs (ApisixTls, ApisixPluginConfig, ApisixGlobalRule, ApisixClusterConfig).
charts/ingress-controller/README.md Renamed project title and updated version badges and documentation.
charts/ingress-controller/Chart.yaml Updated chart metadata including name, description, version, and maintainers.
charts/ingress-controller/.helmignore Removed .helmignore file from the chart package.

@ronething ronething requested review from nic-6443, dspo and AlinsRan May 21, 2025 06:35
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Release.Name }}-apisix-ingress-manager-role
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added.

@@ -1,99 +1,57 @@
# api7-ingress-controller
# apisix-ingress-controller-manager
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个是否有必要换名字呢?以后是否可能有 api7 专有功能呢。不过下面 Source Code 指向了开源仓库,换名字也没啥问题。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1,
Shouldn't it be an API7 ingress controller image.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated.

Signed-off-by: ashing <[email protected]>
@ronething ronething merged commit c76d933 into main May 22, 2025
1 check passed
@ronething ronething deleted the feat/add_ingress branch May 22, 2025 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants