adamant-kite-43734
04/19/2023, 6:43 PMbest-address-79640
04/19/2023, 6:45 PMbest-address-79640
04/20/2023, 2:25 PMbest-address-79640
04/20/2023, 2:25 PMbest-address-79640
04/20/2023, 2:25 PMworried-fountain-60974
worried-fountain-60974
worried-fountain-60974
best-address-79640
04/23/2023, 7:32 AMbest-address-79640
06/06/2023, 6:25 PMbest-address-79640
06/06/2023, 6:28 PMkubectl get pods -n hobbyfarm-system
NAME READY STATUS RESTARTS AGE
admin-ui-84998dfb4f-nqngj 1/1 Running 0 12m
gargantua-5ff9877d5c-f7lhh 1/1 Running 0 12m
gargantua-shell-c75f6b76d-wplnq 1/1 Running 0 12m
terraform-controller-6656988cd4-jvczh 1/1 Running 0 12m
ui-6468c8c688-qwfgq 1/1 Running 0 12m
Got the UI , but not so sure about the next steps to configure the vSphere.
During the installation, I've passed my custom terraform module path, but not so sure the parameters to configure the Environment
for vSphere. The terraform works fine and I get the VM up in a vSAN cluster with that conde and it returns the IP.best-address-79640
06/06/2023, 7:12 PMfaint-optician-47536
06/06/2023, 7:31 PMfaint-optician-47536
06/06/2023, 7:32 PMfaint-optician-47536
06/06/2023, 7:33 PMbest-address-79640
06/07/2023, 12:01 PMhelm install hobbyfarm hobbyfarm/hobbyfarm --namespace hobbyfarm-system
The upgraded with overrides
helm upgrade hobbyfarm hobbyfarm/hobbyfarm --namespace hobbyfarm-system --set ingress.className=nginx --set users.admin.password=${BCRYPT_PASS} -f values-custom.yaml
The custom values file
ingress:
enabled: true
tls:
enabled: true
secrets:
backend: backend-tls-secret
admin: admin-tls-secret
ui: ui-tls-secret
shell: shell-tls-secret
hostnames:
backend: api.acloud.lab
admin: admin.acloud.lab
shell: shell.acloud.lab
ui: trainer.acloud.lab
users:
admin:
enabled: true
terraform:
enabled: true
provider: vsphere
executor:
image: rancher/terraform-controller-executor
tag: "v0.0.13-alpha1"
controller:
image: rancher/terraform-controller
tag: "v0.0.13-alpha1"
threads: 2
vsphere:
module: tf-module
module_repo: <https://github.com/ansilh/hobbyfarm-tools>
I can see the admin user and rolebinding is also present
[root@trainer ~]# k get users -n hobbyfarm-system
NAME EMAIL
admin admin
[root@trainer ~]# k get rolebinding hobbyfarm-admin-rolebinding -n hobbyfarm-system
NAME ROLE AGE
hobbyfarm-admin-rolebinding Role/hobbyfarm-admin 3m10s
[root@trainer ~]# k get rolebinding hobbyfarm-admin-rolebinding -n hobbyfarm-system -o yaml
apiVersion: <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>
kind: RoleBinding
metadata:
annotations:
<http://meta.helm.sh/release-name|meta.helm.sh/release-name>: hobbyfarm
<http://meta.helm.sh/release-namespace|meta.helm.sh/release-namespace>: hobbyfarm-system
creationTimestamp: "2023-06-07T11:52:17Z"
labels:
<http://app.kubernetes.io/managed-by|app.kubernetes.io/managed-by>: Helm
name: hobbyfarm-admin-rolebinding
namespace: hobbyfarm-system
resourceVersion: "4854"
uid: 214c6904-05ff-4d37-84bc-3a2eed61b174
roleRef:
apiGroup: <http://rbac.authorization.k8s.io|rbac.authorization.k8s.io>
kind: Role
name: hobbyfarm-admin
subjects:
- apiGroup: <http://rbac.authorization.k8s.io|rbac.authorization.k8s.io>
kind: User
name: admin
But still I get the UI I pasted earlierfaint-optician-47536
06/07/2023, 12:02 PMk get roles -n hobbyfarm-system
?best-address-79640
06/07/2023, 12:03 PM[root@trainer ~]# k get roles -n hobbyfarm-system
NAME CREATED AT
gargantua 2023-06-07T11:51:49Z
hobbyfarm-admin 2023-06-07T11:52:17Z
faint-optician-47536
06/07/2023, 12:06 PMfaint-optician-47536
06/07/2023, 12:06 PMbest-address-79640
06/07/2023, 12:07 PMfaint-optician-47536
06/07/2023, 12:08 PMbest-address-79640
06/07/2023, 12:09 PMbest-address-79640
06/07/2023, 12:09 PMbest-address-79640
06/07/2023, 3:03 PMgargantua-shell
. My terraform code can push the public key, but not so sure how to get the connection working with the shell component.
I0607 15:02:25.016352 1 shell.go:529] Going to upgrade connection now... dynamic-eqyiwzp4zl-b1cd0ac7
E0607 15:02:25.052880 1 shell.go:579] did not connect ssh successfully: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
faint-optician-47536
06/07/2023, 3:15 PMfaint-optician-47536
06/07/2023, 3:16 PMbest-address-79640
06/07/2023, 3:17 PMfaint-optician-47536
06/07/2023, 3:18 PMfaint-optician-47536
06/07/2023, 3:19 PMbest-address-79640
06/07/2023, 3:20 PMbest-address-79640
06/07/2023, 4:24 PMworried-fountain-60974