Project

Profile

Help

Story #5435

closed

As a pulp-operator user, I can add arbitrary settings to settings.py

Added by amacdona@redhat.com over 4 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 61
Quarter:

Description

The Docker plugin is adding a new setting, which cannot be set without a change to pulp-operator.

When travis used ansible-pulp to install, arbitrary settings could be added with an ansible variable `pulp_settings`.
https://github.com/pulp/pulp_docker/blob/master/.travis/playbook.yml#L27-L33

All values in pulp_settings (after being merged with the default settings) are added to settings.py in the jinja template.
https://github.com/pulp/ansible-pulp/blob/master/roles/pulp/templates/settings.py.j2

Something similar could be added to the operator https://github.com/pulp/pulp-operator/blob/fd6b7d92f057d369cd11489aa6e02cdc5a0000f4/roles/pulp-api/templates/pulp-server.config-map.yaml#L28-L30

Actions #1

Updated by amacdona@redhat.com over 4 years ago

We'll need to test if we can use an arbitrary hash tables for ansible-operator custom resources, and have them become ansible hash table variables / jinja2 hash table variables.

Actions #2

Updated by fao89 over 4 years ago

  • Tracker changed from Issue to Story
  • % Done set to 0
Actions #3

Updated by dkliban@redhat.com over 4 years ago

  • Sprint set to Sprint 60

This feature is needed to roll out containers to all the plugins. This includes pulp_docker and pulp_ansible.

Actions #4

Updated by dkliban@redhat.com over 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com
Actions #5

Updated by rchan over 4 years ago

  • Sprint changed from Sprint 60 to Sprint 61

Added by dkliban@redhat.com over 4 years ago

Revision 46234dc1 | View on GitHub

Allows user to specify all pulp_settings

This patch introduces a 'pulp_settings' config and moves the 'content_host' setting under it.

re: #5435 https://pulp.plan.io/issues/5435

Actions #6

Updated by dkliban@redhat.com over 4 years ago

  • Status changed from ASSIGNED to MODIFIED
Actions #7

Updated by bmbouter over 4 years ago

  • Sprint/Milestone set to 3.0.0
Actions #8

Updated by bmbouter over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF