Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
4ebb402015 | |||
a54c905cc7 |
@@ -65,7 +65,7 @@ spec:
|
||||
containers:
|
||||
- command:
|
||||
- /manager
|
||||
image: git.acooldomain.co/server-manager/kubernetes-operator:v0.0.3
|
||||
image: git.acooldomain.co/server-manager/kubernetes-operator:v0.0.5
|
||||
env:
|
||||
- name: CONFIG_PATH
|
||||
value: /etc/server-manager/config.yaml
|
||||
|
@@ -397,7 +397,7 @@ func (r *ServerManagerReconciler) GenerateBrowserUrl(s *servermanagerv1alpha1.Se
|
||||
}
|
||||
|
||||
func (r *ServerManagerReconciler) GenerateBrowserSubPath(s *servermanagerv1alpha1.ServerManager) string {
|
||||
if r.Config.Browser.SubPath == "" {
|
||||
if r.Config.Browser.SubPath != "" {
|
||||
return fmt.Sprintf("%s/%s/%s", r.Config.Browser.SubPath, s.Namespace, s.Name)
|
||||
} else {
|
||||
return fmt.Sprintf("/%s/%s", s.Namespace, s.Name)
|
||||
|
Reference in New Issue
Block a user