Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable the creation of Ingress or Route based on the CR input
* Add capabilities to the CRD for ingress or route * Enable the creation of ingress or route objects with provided TLS options * Update pulp-web to use nginx image directly driven via projected volumes * Removed pulp-web container creation * Alter all deployments to be driven off CR naming * Obtain pulp admin password from projected volume instead of ENV variable fixes #8272 https://pulp.plan.io/issues/8272
- Loading branch information
1 parent
c76defe
commit c93e392
Showing
36 changed files
with
505 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Enable the creation of Ingress or Route objects based on the specifications within the custom resource |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,13 @@ | ||
FROM {{ registry | default('quay.io') }}/{{ project | default('pulp') }}/{{ item.value.base_image_name | default('pulp') }}:{{ item.value.tag | default('latest') }} | ||
FROM {{ registry | default('quay.io') }}/{{ project | default('pulp') }}/{{ item.value.base_image_name | default('pulp') }}:{{ item.value.tag | default('latest') }} as builder | ||
|
||
RUN dnf -y install nginx | ||
RUN mkdir -p /etc/nginx/pulp | ||
{% for plugin in item.value.plugin_snippets %} | ||
RUN ln /usr/local/lib/python{{ item.value.python_version }}/site-packages/{{ plugin }}/app/webserver_snippets/nginx.conf /etc/nginx/pulp/{{ plugin }}.conf | ||
{% endfor %} | ||
|
||
RUN mkdir -p /etc/nginx/pulp \ | ||
/etc/services.d/nginx \ | ||
/var/lib/pulp/assets | ||
FROM nginx:latest | ||
|
||
COPY pulp-operator/containers/images/pulp/container-assets/nginx.conf /etc/nginx/nginx.conf | ||
COPY pulp-operator/containers/images/pulp/container-assets/nginx /usr/bin/nginx | ||
COPY pulp-operator/containers/images/pulp/container-assets/nginx-check /usr/bin/nginx-check | ||
|
||
RUN ln /usr/local/lib/python3.9/site-packages/pulp_ansible/app/webserver_snippets/nginx.conf /etc/nginx/pulp/pulp_ansible.conf | ||
RUN ln /usr/local/lib/python3.9/site-packages/pulp_container/app/webserver_snippets/nginx.conf /etc/nginx/pulp/pulp_container.conf | ||
{% if item.value.base_image_name == "galaxy" %} | ||
RUN ln /usr/local/lib/python3.9/site-packages/galaxy_ng/app/webserver_snippets/nginx.conf /etc/nginx/pulp/galaxy_ng.conf | ||
{% endif %} | ||
|
||
EXPOSE 80 | ||
RUN mkdir -p /etc/nginx/pulp | ||
WORKDIR /etc/nginx/pulp | ||
COPY --from=builder /etc/nginx/pulp . | ||
WORKDIR / |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,3 +37,4 @@ | |
- pulp-resource-manager | ||
- pulp-worker | ||
- pulp-web | ||
- pulp-routes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.