From ea0ea8cbfae196d5da81ad2acbd7d020122bad1a Mon Sep 17 00:00:00 2001 From: kurokobo <2920259+kurokobo@users.noreply.github.com> Date: Fri, 10 Jun 2022 21:23:59 +0900 Subject: [PATCH 1/2] fix: change the way to patch traefik to creating yaml file --- galaxy/README.md | 14 ++++++++++++-- tips/troubleshooting.md | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/galaxy/README.md b/galaxy/README.md index 20a8963..d77f002 100644 --- a/galaxy/README.md +++ b/galaxy/README.md @@ -186,10 +186,20 @@ This project is still under active development and there is no support, however, If you use Traefik which is K3s' Ingress controller as completely default, the Pod may not be able to get the client's IP address (see [k3s-io/k3s#2997](https://github.com/k3s-io/k3s/discussions/2997) for details). In the current implementation of Pulp, this causes problems with the web UI being unreachable. -For this reason, you should fix the Traefik configuration. For a single node like doing in this repository, the following command is easy to use. +For this reason, you should fix the Traefik configuration. For a single node like doing in this repository, reconfiguring your Traefik by creating YAML file is the easy way. ```bash -kubectl -n kube-system patch deployment traefik --patch '{"spec":{"template":{"spec":{"hostNetwork":true}}}}' +sudo tee /var/lib/rancher/k3s/server/manifests/traefik-config.yaml < Date: Fri, 10 Jun 2022 21:53:14 +0900 Subject: [PATCH 2/2] feat: bump pulp operator version to 0.11.1 --- galaxy/README.md | 4 ++-- galaxy/pulp/galaxy.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/galaxy/README.md b/galaxy/README.md index d77f002..97cdc8c 100644 --- a/galaxy/README.md +++ b/galaxy/README.md @@ -180,7 +180,7 @@ There is a Kubernetes Operator for Pulp 3 named Pulp Operator. - [pulp/pulp-operator: Kubernetes Operator for Pulp 3](https://github.com/pulp/pulp-operator) -This project is still under active development and there is no support, however, at least the code to create a new instance seems to be implemented. In this procedure, we use [Pulp Operator 0.11.0](https://github.com/pulp/pulp-operator/tree/0.11.0) +This project is still under active development and there is no support, however, at least the code to create a new instance seems to be implemented. In this procedure, we use [Pulp Operator 0.11.1](https://github.com/pulp/pulp-operator/tree/0.11.1) ### Patch K3s @@ -218,7 +218,7 @@ Install specified version of Pulp Operator. cd ~ git clone https://github.com/pulp/pulp-operator.git cd pulp-operator -git checkout 0.11.0 +git checkout 0.11.1 ``` Export the name of the namespace where you want to deploy Pulp Operator as the environment variable `NAMESPACE` and run `make deploy`. The default namespace is `pulp-operator-system`. diff --git a/galaxy/pulp/galaxy.yaml b/galaxy/pulp/galaxy.yaml index ca5f219..d1cf9b1 100644 --- a/galaxy/pulp/galaxy.yaml +++ b/galaxy/pulp/galaxy.yaml @@ -4,8 +4,8 @@ metadata: name: galaxy spec: # These parameters are designed for use with: - # - Pulp Operator: 0.11.0 - # https://github.com/pulp/pulp-operator/blob/0.11.0/README.md + # - Pulp Operator: 0.11.1 + # https://github.com/pulp/pulp-operator/blob/0.11.1/README.md # - Galaxy NG: 4.5.0 # https://github.com/ansible/galaxy_ng/tree/4.5.0