Skip to content

Commit

Permalink
Merge branch 'master' into manageduser-db
Browse files Browse the repository at this point in the history
  • Loading branch information
jananivMS authored May 1, 2020
2 parents dd7ef2c + 962671a commit 378ce10
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
31 changes: 15 additions & 16 deletions config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,18 @@ metadata:
name: controller-manager
namespace: system
spec:
template:
spec:
containers:
- name: kube-rbac-proxy
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.0
args:
- "--secure-listen-address=0.0.0.0:8443"
- "--upstream=http://127.0.0.1:8080/"
- "--logtostderr=true"
- "--v=10"
ports:
- containerPort: 8443
name: https
- name: manager
args:
- "--metrics-addr=127.0.0.1:8080"
containers:
- name: kube-rbac-proxy
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0
args:
- "--secure-listen-address=0.0.0.0:8443"
- "--upstream=http://127.0.0.1:8080/"
- "--logtostderr=true"
- "--v=10"
ports:
- containerPort: 8443
name: https
- name: manager
args:
- "--metrics-addr=127.0.0.1:8080"
- "--enable-leader-election
4 changes: 2 additions & 2 deletions pkg/resourcemanager/cosmosdbs/cosmosdb_reconcile.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ func (m *AzureCosmosDBManager) createOrUpdateSecret(ctx context.Context, instanc
}
secretData := map[string][]byte{
"primaryEndpoint": []byte(*db.DocumentEndpoint),
"primaryConnectionString": []byte(*result.PrimaryMasterKey),
"secondaryConnectionString": []byte(*result.SecondaryMasterKey),
"primaryMasterKey": []byte(*result.PrimaryMasterKey),
"secondaryMasterKey": []byte(*result.SecondaryMasterKey),
"primaryReadonlyMasterKey": []byte(*result.PrimaryReadonlyMasterKey),
"secondaryReadonlyMasterKey": []byte(*result.SecondaryReadonlyMasterKey),
}
Expand Down

0 comments on commit 378ce10

Please sign in to comment.