Skip to content

Commit

Permalink
Set name of original vcluster secret so matches that copied into the …
Browse files Browse the repository at this point in the history
…workshop namespace and vcluster_secret variable.
  • Loading branch information
GrahamDumpleton committed May 2, 2022
1 parent e4cb6c7 commit ea1ed02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion session-manager/handlers/application_vcluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def vcluster_session_objects_list(application_properties):
"rules": [
{
"sourceSecret": {
"name": "vc-my-vcluster",
"name": "$(session_namespace)-vc-kubeconfig",
"namespace": "$(session_namespace)-vc",
},
"targetNamespaces": {
Expand Down Expand Up @@ -245,6 +245,7 @@ def vcluster_session_objects_list(application_properties):
"--name=my-vcluster",
"--tls-san=my-vcluster.$(session_namespace)-vc.svc.cluster.local",
"--out-kube-config-server=https://my-vcluster.$(session_namespace)-vc.svc.cluster.local",
"--out-kube-config-secret=$(session_namespace)-vc-kubeconfig"
],
"livenessProbe": {
"httpGet": {
Expand Down

0 comments on commit ea1ed02

Please sign in to comment.