Skip to content

Commit f98bcca

Browse files
committed
[cli] remove legacy kube-controller path and add runtime HA
1 parent 04281a0 commit f98bcca

File tree

11 files changed

+105
-373
lines changed

11 files changed

+105
-373
lines changed

ci/main.go

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -797,26 +797,6 @@ func (m *ApoxyCli) PublishImages(
797797

798798
fmt.Println("Tunnelproxy images published to", addr)
799799

800-
var kcCtrs []*dagger.Container
801-
for _, platform := range []string{"linux/amd64", "linux/arm64"} {
802-
kcCtrs = append(kcCtrs, m.BuildCLIRelease(ctx, src, platform, tag, sha))
803-
}
804-
805-
addr, err = dag.Container().
806-
WithRegistryAuth(
807-
"registry-1.docker.io",
808-
"apoxy",
809-
registryPassword,
810-
).
811-
Publish(ctx, "docker.io/apoxy/kube-controller:"+tag, dagger.ContainerPublishOpts{
812-
PlatformVariants: kcCtrs,
813-
})
814-
if err != nil {
815-
return err
816-
}
817-
818-
fmt.Println("Kube controller images published to", addr)
819-
820800
var cliCtrs []*dagger.Container
821801
for _, platform := range []string{"linux/amd64", "linux/arm64"} {
822802
cliCtr := m.BuildCLIRelease(ctx, src, platform, tag, sha)

cmd/kube-controller/main.go

Lines changed: 0 additions & 125 deletions
This file was deleted.

deploy/helm/apoxy-gateway/templates/kube_controller_configmap.yaml

Lines changed: 0 additions & 41 deletions
This file was deleted.

deploy/helm/apoxy-gateway/templates/kube_controller_deployment.yaml

Lines changed: 0 additions & 71 deletions
This file was deleted.

deploy/helm/apoxy-gateway/templates/kube_controller_rbac.yaml

Lines changed: 0 additions & 42 deletions
This file was deleted.

deploy/helm/apoxy-gateway/templates/kube_controller_service.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

deploy/helm/apoxy-gateway/templates/kube_controller_serviceaccount.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

deploy/helm/apoxy-gateway/values.yaml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -44,32 +44,6 @@ apiserver:
4444
tolerations: []
4545
affinity: {}
4646

47-
kubeController:
48-
enabled: true
49-
image:
50-
repository: apoxy/kube-controller
51-
pullPolicy: IfNotPresent
52-
serviceAccount:
53-
create: true
54-
annotations: {}
55-
name: ""
56-
projectId: ""
57-
bootstrapToken: ""
58-
clusterName: ""
59-
namespace: "apoxy"
60-
serviceName: "kube-controller"
61-
mirror: ""
62-
tunnel:
63-
enabled: false
64-
name: ""
65-
mode: "user"
66-
resources: {}
67-
nodeSelector: {}
68-
tolerations: []
69-
affinity: {}
70-
imagePullSecrets: []
71-
podAnnotations: {}
72-
7347
backplane:
7448
image:
7549
repository: apoxy/backplane

0 commit comments

Comments
 (0)