You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2021. It is now read-only.
the blog post references a screenshot during the Github App setup that does not exist anymore, the values are output to stdout
if the ofc-bootstrap is going to print to stdout, it would be nicer to have the option to just output to a file
After the invalid screenshot there is a section about copyingn and editing the example init, this seems to be redundant because ofc-bootstrap will accept multiple files, the user should just create an init.yaml with only the edited values.
there is a very confusing instruction that I don't know how to follow
Set the value for your registry, use your Docker Hub account
because of the above, i can not finish the installation process because of the following error
ofc-bootstrap apply -f example.init.yaml -f init.yaml
2020/12/05 16:23:57 Loading 2 plans
2020/12/05 16:23:57 example.init.yaml loaded
2020/12/05 16:23:57 init.yaml loaded
https://get.helm.sh/helm-v3.0.2-linux-amd64.tar.gz
/home/lucas/.k3sup/bin/helm3/linux-amd64 linux-amd64/
/home/lucas/.k3sup/bin/helm3/README.md linux-amd64/README.md
/home/lucas/.k3sup/bin/helm3/LICENSE linux-amd64/LICENSE
/home/lucas/.k3sup/bin/helm3/helm linux-amd64/helm
2020/12/05 16:23:59 extracted tarball into /home/lucas/.k3sup/bin/helm3: 3 files, 0 dirs (429.396628ms)
2020/12/05 16:23:59 helm3 at: /home/lucas/.k3sup/bin/helm3
2020/12/05 16:23:59 Validating tools available in PATH: "/home/lucas/.k3sup/bin/helm3:/home/lucas/.oh-my-zsh/custom/plugins/git-open:/home/lucas/go/bin:/home/lucas/.local/go/bin:/home/lucas/.local/bin:/home/lucas/go/bin:/home/lucas/.local/go/bin:/home/lucas/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.4", GitCommit:"d360454c9bcd1634cf4cc52d1867af5491dc9c5f", GitTreeState:"clean", BuildDate:"2020-11-11T13:17:17Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
OpenSSL 1.1.1f 31 Mar 2020
version.BuildInfo{Version:"v3.0.2", GitCommit:"19e47ee3283ae98139d98460de796c1be1e3975f", GitTreeState:"clean", GoVersion:"go1.13.5"}
___ _____ ____
/ _ \ _ __ ___ _ __ | ___|_ _ __ _/ ___|||||'_ \ / _ \ '_ \||_ / _`|/ _`\___ \
||_|||_) | __/ ||| _| (_|| (_||___) |\___/| .__/ \___|_||_|_|\__,_|\__,_|____/
|_|
CLI:
commit: fd0651a9907103d03649ef8ad1e2816576d8863a-dirty
version: 0.12.19-1-gfd0651a9
Your faas-cli version (0.12.19-1-gfd0651a9) may be out of date. Version: 0.12.19 is now available on GitHub.
panic: stat ./credentials/config.json: no such file or directory
goroutine 1 [running]:
github.com/openfaas-incubator/ofc-bootstrap/cmd.runApplyCommandE(0xc9f240, 0xc000032600, 0x0, 0x4, 0x0, 0x0)
/go/src/github.com/openfaas-incubator/ofc-bootstrap/cmd/apply.go:153 +0x13ab
github.com/spf13/cobra.(*Command).execute(0xc9f240, 0xc0000325c0, 0x4, 0x4, 0xc9f240, 0xc0000325c0)
/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:826 +0x460
github.com/spf13/cobra.(*Command).ExecuteC(0xc9f9c0, 0x43b85a, 0xc635e0, 0xc000054750)
/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 +0x2fb
github.com/spf13/cobra.(*Command).Execute(...)
/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
github.com/openfaas-incubator/ofc-bootstrap/cmd.Execute(0x9952c8, 0x5, 0x9a91e0, 0x28, 0x84c140, 0xc000026118)
/go/src/github.com/openfaas-incubator/ofc-bootstrap/cmd/root.go:72 +0x77
main.main()
/go/src/github.com/openfaas-incubator/ofc-bootstrap/main.go:13 +0x51
my best guess is that i can edit the yaml file to point at ~/.docker/config.json
It appears the ofc-bootstrap must be run inside the root of the ofc-bootstrap project, this is not clear or noted in blog post. I was running the command in a sandbox folder and got this error
ofc-bootstrap apply -f example.init.yaml -f init.yaml
2020/12/05 16:50:33 Loading 2 plans
2020/12/05 16:50:33 example.init.yaml loaded
2020/12/05 16:50:33 init.yaml loaded
2020/12/05 16:50:33 helm3 at: /home/lucas/.k3sup/bin/helm3
2020/12/05 16:50:33 Validating tools available in PATH: "/home/lucas/.k3sup/bin/helm3:/home/lucas/.oh-my-zsh/custom/plugins/git-open:/home/lucas/go/bin:/home/lucas/.local/go/bin:/home/lucas/.local/bin:/home/lucas/go/bin:/home/lucas/.local/go/bin:/home/lucas/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.4", GitCommit:"d360454c9bcd1634cf4cc52d1867af5491dc9c5f", GitTreeState:"clean", BuildDate:"2020-11-11T13:17:17Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
OpenSSL 1.1.1f 31 Mar 2020
version.BuildInfo{Version:"v3.0.2", GitCommit:"19e47ee3283ae98139d98460de796c1be1e3975f", GitTreeState:"clean", GoVersion:"go1.13.5"}
___ _____ ____
/ _ \ _ __ ___ _ __ | ___|_ _ __ _/ ___|||||'_ \ / _ \ '_ \||_ / _`|/ _`\___ \
||_|||_) | __/ ||| _| (_|| (_||___) |\___/| .__/ \___|_||_|_|\__,_|\__,_|____/
|_|
CLI:
commit: fd0651a9907103d03649ef8ad1e2816576d8863a-dirty
version: 0.12.19-1-gfd0651a9
Your faas-cli version (0.12.19-1-gfd0651a9) may be out of date. Version: 0.12.19 is now available on GitHub.
Plan loaded from: [example.init.yaml init.yaml]
Validating registry credentials file2020/12/05 16:50:33 Creating namespaces
/bin/bash: scripts/create-namespaces.sh: No such file or directory
2020/12/05 16:50:33 127 /bin/bash: scripts/create-namespaces.sh: No such file or directory
2020/12/05 16:50:33 Adding stable helm repo
"stable" has been added to your repositories
2020/12/05 16:50:35 Updating helm repos
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "inlets" chart repository
...Successfully got an update from the "contiamo-public" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈ Happy Helming!⎈
2020/12/05 16:50:36 Creating Ingress Controller
/bin/bash: scripts/install-nginx.sh: No such file or directory
2020/12/05 16:50:36 127 /bin/bash: scripts/install-nginx.sh: No such file or directory
Creating secret: s3-secret-key
fork/exec scripts/generate-sha.sh: no such file or directory
after moving to the ofc-bootstrap root folder, the command finished without errors, but i don't have any idea what to do based on the blog post
but when i run the svc command, i don't have a public ip
kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.43.0.1 <none> 443/TCP 122m
It specifically mentions nginx, but i don't have any nginx SVCs running
was i supposed to do something with inlets? very early in the blog post it is installed, but then I do nothing else with it directly. Additionally, nothing was yet created in digital ocean
I am working through the steps documented in https://blog.alexellis.io/openfaas-cloud-for-development/ but can not complete the installation
get.shscript is incorrect, this is fixed with Change the get.sh owner value to openfaas #238ofc-bootstrapwill accept multiple files, the user should just create aninit.yamlwith only the edited values.~/.docker/config.jsonbut when i run the svc command, i don't have a public ip