Skip to content

Commit

Permalink
Configure url and cabundle for self managed cluster
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Mar 14, 2024
1 parent 03cc671 commit df73f81
Show file tree
Hide file tree
Showing 10 changed files with 142 additions and 135 deletions.
3 changes: 3 additions & 0 deletions charts/multicluster-controlplane/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spec:
{{- if eq .Values.enableSelfManagement true }}
- "--self-management"
{{- end }}
{{- if .Values.selfManagementClusterName }}
- "--self-management-cluster-name={{ .Values.selfManagementClusterName }}"
{{- end }}
{{- if eq .Values.enableDelegatingAuthentication true }}
- "--delegating-authentication"
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions charts/multicluster-controlplane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ autoApprovalBootstrapUsers: ""

# TODO: should add restriction while enable selfmanagement
enableSelfManagement: false
selfManagementClusterName: ""

enableDelegatingAuthentication: false

Expand Down
42 changes: 21 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module open-cluster-management.io/multicluster-controlplane
go 1.21

require (
github.com/onsi/ginkgo/v2 v2.14.0
github.com/onsi/gomega v1.30.0
github.com/onsi/ginkgo/v2 v2.15.0
github.com/onsi/gomega v1.31.1
github.com/openshift/client-go v0.0.0-20231218140158-47f6d749b9d9
github.com/openshift/library-go v0.0.0-20240116081341-964bcb3f545c
github.com/spf13/cobra v1.8.0
Expand All @@ -20,15 +20,16 @@ require (
k8s.io/cluster-bootstrap v0.29.2
k8s.io/component-base v0.29.2
k8s.io/controller-manager v0.29.2
k8s.io/klog/v2 v2.110.1
k8s.io/klog/v2 v2.120.1
k8s.io/kube-aggregator v0.29.2
k8s.io/kube-controller-manager v0.29.2
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00
k8s.io/kubernetes v1.29.2
k8s.io/metrics v0.29.2
k8s.io/utils v0.0.0-20240102154912-e7106e64919e
k8s.io/utils v0.0.0-20240310230437-4693a0247e57
open-cluster-management.io/api v0.13.0
open-cluster-management.io/ocm v0.13.0
open-cluster-management.io/ocm v0.13.1-0.20240314084416-edef33de92cd
open-cluster-management.io/sdk-go v0.13.1-0.20240313075541-00a94671ced1
sigs.k8s.io/controller-runtime v0.17.2
)

Expand Down Expand Up @@ -79,8 +80,8 @@ require (
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gorilla/websocket v1.5.1 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
Expand Down Expand Up @@ -144,37 +145,36 @@ require (
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.26.0 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/crypto v0.19.0 // indirect
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/oauth2 v0.12.0 // indirect
golang.org/x/sync v0.5.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/term v0.15.0 // indirect
golang.org/x/net v0.21.0 // indirect
golang.org/x/oauth2 v0.16.0 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.17.0 // indirect
golang.org/x/term v0.17.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.16.1 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect
google.golang.org/grpc v1.58.3 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 // indirect
google.golang.org/grpc v1.62.1 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
helm.sh/helm/v3 v3.14.1 // indirect
helm.sh/helm/v3 v3.14.2 // indirect
k8s.io/cloud-provider v0.29.2 // indirect
k8s.io/component-helpers v0.29.2 // indirect
k8s.io/dynamic-resource-allocation v0.29.2 // indirect
k8s.io/kms v0.29.2 // indirect
k8s.io/kubelet v0.29.2 // indirect
k8s.io/mount-utils v0.29.2 // indirect
k8s.io/pod-security-admission v0.29.2 // indirect
open-cluster-management.io/addon-framework v0.8.1-0.20240205013730-13fbb6259464 // indirect
open-cluster-management.io/sdk-go v0.13.0 // indirect
open-cluster-management.io/addon-framework v0.9.1-0.20240311065811-974d3377ecbd // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.28.0 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/kube-storage-version-migrator v0.0.6-0.20230721195810-5c8923c5ff96 // indirect
Expand Down
Loading

0 comments on commit df73f81

Please sign in to comment.