From 562adea09fd57018f2494fc5f47b9f180e4b8643 Mon Sep 17 00:00:00 2001 From: kurokobo <2920259+kurokobo@users.noreply.github.com> Date: Wed, 21 Sep 2022 17:43:25 +0900 Subject: [PATCH] feat: bump pulp operator version to 0.14.0 --- galaxy/README.md | 37 +++---------------------------------- galaxy/pulp/galaxy.yaml | 6 ++---- 2 files changed, 5 insertions(+), 38 deletions(-) diff --git a/galaxy/README.md b/galaxy/README.md index 0b850f4..a828154 100644 --- a/galaxy/README.md +++ b/galaxy/README.md @@ -20,7 +20,6 @@ All information on this page is for **development, testing and study purposes on - [Deploy Galaxy NG](#deploy-galaxy-ng) - [Initial Configuration](#initial-configuration) - [Deploy on Kubernetes (Pulp Operator)](#deploy-on-kubernetes-pulp-operator) - - [Patch K3s](#patch-k3s) - [Install Pulp Operator](#install-pulp-operator) - [Prepare required files](#prepare-required-files) - [Deploy Galaxy NG](#deploy-galaxy-ng-1) @@ -180,35 +179,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.13.0](https://github.com/pulp/pulp-operator/tree/0.13.0) - -### Patch K3s - -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, reconfiguring your Traefik by creating YAML file is the easy way. - -```bash -sudo tee /var/lib/rancher/k3s/server/manifests/traefik-config.yaml < galaxy.example.com 192.168.0.219,2400:4050:a8e2:a00:250:56ff:fe86:454d 80, 443 4m19s NAME TYPE DATA AGE -secret/default-token-lhlds kubernetes.io/service-account-token 3 5m4s -secret/pulp-operator-sa-token-45zqf kubernetes.io/service-account-token 3 5m4s secret/galaxy-admin-password Opaque 1 4m48s secret/galaxy-postgres-configuration Opaque 6 4m48s secret/galaxy-secret-tls kubernetes.io/tls 2 4m48s diff --git a/galaxy/pulp/galaxy.yaml b/galaxy/pulp/galaxy.yaml index 63ad572..0d38145 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.13.0 - # https://github.com/pulp/pulp-operator/blob/0.13.0/README.md + # - Pulp Operator: 0.14.0 + # https://github.com/pulp/pulp-operator/blob/0.14.0/README.md # - Galaxy NG: 4.5.2 # https://github.com/ansible/galaxy_ng/tree/4.5.2 @@ -44,5 +44,3 @@ spec: replicas: 1 web: replicas: 1 - resource_manager: - replicas: 1