bitpoke / stack

Open-Source WordPress Infrastructure on Kubernetes
https://www.bitpoke.io/stack
Apache License 2.0
165 stars 30 forks source link

Cannot install bitpoke/wordpress-site - INSTALLATION FAILED: failed to download #131

Closed nachtmaar closed 2 years ago

nachtmaar commented 2 years ago

What happened: I am currently trying to use the bitpoke/stack for hosting a website using Wordpress on Kubernetes. It is part of this new project from myself.

I followed the instructions on the Readme in the bitpoke/stack repository but the bitpoke/wordpress-site is not installable/existing.

What you expected to happen: bitpoke/wordpress-site can be installed.

How to reproduce it (as minimally and precisely as possible):

$ export STACK_VERSION=0.12.0
$ helm install \
    mysite bitpoke/wordpress-site \
    --version v${STACK_VERSION} \
    --set 'site.domains[0]=www.example.com'
Error: INSTALLATION FAILED: failed to download "bitpoke/wordpress-site" at version "v0.12.0"

Anything else?:

I did some troubleshooting already. Seems the helm chart does not exist at the bitpoke repository yet:

$ helm search repo bitpoke

NAME                            CHART VERSION   APP VERSION     DESCRIPTION
bitpoke/bitpoke                 1.8.0           1.8.0           The Bitpoke App for WordPress provides a versat...
bitpoke/mysql-cluster           0.6.2           v0.6.2          A Helm chart for easy deployment of a MySQL clu...
bitpoke/mysql-operator          0.6.2           v0.6.2          A helm chart for Bitpoke Operator for MySQL
bitpoke/stack                   0.12.0          v0.12.0         Your Open-Source, Cloud-Native WordPress Infras...
bitpoke/wordpress-operator      0.12.1          v0.12.1         Bitpoke WordPress Operator Helm Chart

However it is available in the presslabs repo:

$  helm search repo presslabs

NAME                            CHART VERSION   APP VERSION     DESCRIPTION
presslabs/db-operator           v0.5.0          v0.5.0          A Helm chart for db operator
presslabs/locust                0.2.0           0.7.5           A modern load testing framework
presslabs/mysql-cluster         0.3.1           1.0             A Helm chart for easy deployment of a MySQL clu...
presslabs/mysql-operator        0.4.0           v0.4.0          A Helm chart for mysql operator
presslabs/orchestrator          0.1.7           3.0.14          A Helm chart for github's mysql orchestrator
presslabs/stack                 v0.10.4         v0.10.4         Open-Source WordPress Infrastructure on Kubernetes
presslabs/stack-operators       v0.12.0         v0.12.0         Open-Source WordPress Infrastructure on Kubernetes
presslabs/wordpress-operator    0.10.5          0.10.5          Presslabs WordPress Operator Helm Chart
presslabs/wordpress-site        v0.12.0         v0.12.0         A Helm chart for deploying a WordPress site on ...
presslabs/wp-operator           0.11.7          0.11.7          Presslabs WordPress Operator Helm Chart

So I went ahead and used the presslabs/wordpress-site chart since it is available in v0.12.0 as well.

$ helm upgrade \
    mysite presslabs/wordpress-site \
    --version v${STACK_VERSION} \
    --set 'site.domains[0]=www.example.com'

Release "mysite" has been upgraded. Happy Helming!
NAME: mysite
LAST DEPLOYED: Sun Jan 30 08:22:36 2022
NAMESPACE: default
STATUS: deployed
REVISION: 2
TEST SUITE: None
NOTES:
1. Change your DNS records to point www.example.com at the ingress
controller endpoints

2. Visit the site at:
    http://www.example.com

3. That's it!

I guess the chart was just not pushed over to bitpoke yet ? 🤔

calind commented 2 years ago

I've fixed the issue and now the package is properly published (https://artifacthub.io/packages/helm/bitpoke/wordpress-site). Please take note that presslabs/wordpress-site is not in sync with bitpoke/stack so that you should use and file bug reports against bitpoke/wordpress-site.