add short names
add publish conditions for services use official gitea helm chart
This commit is contained in:
@ -85,9 +85,6 @@ bitwarden_publish: false
|
||||
gitea_enabled: true
|
||||
#gitea_size: "20Gi"
|
||||
#gitea_storage: "nfs-ssd"
|
||||
#gitea_lfs: true
|
||||
#gitea_lfs_size: "50Gi"
|
||||
#gitea_lfs_storage: "nfs-hdd"
|
||||
gitea_publish_web: false
|
||||
gitea_publish_ssh: false
|
||||
gitea_loadbalancer_ip: "192.168.250.5"
|
||||
|
@ -23,15 +23,17 @@ ddclient_conf: |
|
||||
{% endfor %}
|
||||
|
||||
ddclient_hosts:
|
||||
- "{% if nextcloud_publish | default(false) %}nextcloud.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if drone_publish | default(false) %}drone.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if gitea_publish | default(false) %}gitea.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if bitwarden_publish | default(false) %}bitwarden.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if wikijs_publish | default(false) %}wikijs.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if chartmuseum_publish | default(false) %}charts.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if registry_publish | default(false) %}registry.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if peertube_publish | default(false) %}peertube.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if roundcube_publish | default(false) %}webmail.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if nextcloud_publish | default(false) %}{{ nextcloud_short_name | default('nextcloud') }}.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if drone_publish | default(false) %}{{ drone_short_name | default('drone') }}.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if gitea_publish_web | default(false) %}{{ gitea_short_name | default('gitea') }}.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if bitwarden_publish | default(false) %}{{ bitwarden_short_name | default('bitwarden') }}.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if playmaker_publish | default(false) %}{{ playmaker_short_name | default('playmaker') }}.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if pipyserver_publish | default(false) %}{{ pipyserver_short_name | default('pip') }}.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if wikijs_publish | default(false) %}{{ wikijs_short_name | default('wikijs') }}.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if chartmuseum_publish | default(false) %}{{ chartsmuseum_short_name | default('charts') }}.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if registry_publish | default(false) %}{{ registry_short_name | default('registry') }}.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if peertube_publish | default(false) %}{{ peertube_short_name | default('peertube') }}.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{% if roundcube_publish | default(false) %}{{ roundcube_short_name | default('webmail') }}.{{ domain }}{% else %}omitme{% endif %}"
|
||||
- "{{ registry_readonly_ingress | default('omitme') }}"
|
||||
- "{{ chartmuseum_readonly_ingress | default('omitme') }}"
|
||||
- "{{ wikijs_readonly_ingress | default('omitme') }}"
|
||||
|
@ -45,28 +45,34 @@ nginx:
|
||||
default gitea_ssh_{{ namespace }};
|
||||
{% endif %}
|
||||
{% if gitea_publish_web %}
|
||||
gitea.{{ domain }} gitea_web_{{ namespace }};
|
||||
{{ gitea_short_name | default('gitea') }}.{{ domain }} gitea_web_{{ namespace }};
|
||||
{% endif %}
|
||||
{% if playmaker_publish %}
|
||||
{{ playmaker_short_name | default('playmaker') }}.{{ domain }} https_{{ namespace }};
|
||||
{% endif %}
|
||||
{% if pipyserver_publish %}
|
||||
{{ pipyserver_short_name | default('pip') }}.{{ domain }} https_{{ namespace }};
|
||||
{% endif %}
|
||||
{% if bitwarden_publish %}
|
||||
bitwarden.{{ domain }} https_{{ namespace }};
|
||||
{{ bitwarden_short_name | default('bitwarden') }}.{{ domain }} https_{{ namespace }};
|
||||
{% endif %}
|
||||
{% if wikijs_publish %}
|
||||
wikijs.{{ domain }} https_{{ namespace }};
|
||||
{{ wikijs_short_name | default('wikijs') }}.{{ domain }} https_{{ namespace }};
|
||||
{% endif %}
|
||||
{% if drone_publish %}
|
||||
drone.{{ domain }} https_{{ namespace }};
|
||||
{{ drone_short_name | default('drone') }}.{{ domain }} https_{{ namespace }};
|
||||
{% endif %}
|
||||
{% if nextcloud_publish %}
|
||||
nextcloud.{{ domain }} https_{{ namespace }};
|
||||
{{ nextcloud_short_name | default('nextcloud') }}.{{ domain }} https_{{ namespace }};
|
||||
{% endif %}
|
||||
{% if registry_publish %}
|
||||
registry.{{ domain }} https_{{ namespace }};
|
||||
{{ registry_short_name | default('registry') }}.{{ domain }} https_{{ namespace }};
|
||||
{% endif %}
|
||||
{% if registry_readonly_ingress %}
|
||||
{{ registry_readonly_ingress }} https_{{ namespace }};
|
||||
{% endif %}
|
||||
{% if chartmuseum_publish %}
|
||||
charts.{{ domain }} https_{{ namespace }};
|
||||
{{ chartsmuseum_short_name | default('charts') }}.{{ domain }} https_{{ namespace }};
|
||||
{% endif %}
|
||||
{% if chartmuseum_readonly_ingress %}
|
||||
{{ chartmuseum_readonly_ingress }} https_{{ namespace }};
|
||||
@ -75,10 +81,10 @@ nginx:
|
||||
{{ wikijs_readonly_ingress }} https_{{ namespace }};
|
||||
{% endif %}
|
||||
{% if peertube_publish %}
|
||||
peertube.{{ domain }} https_{{ namespace }};
|
||||
{{ peertube_short_name | default('peertube') }}.{{ domain }} https_{{ namespace }};
|
||||
{% endif %}
|
||||
{% if roundcube_publish %}
|
||||
webmail.{{ domain }} https_{{ namespace }};
|
||||
{{ roundcube_short_name | default('webmail') }}.{{ domain }} https_{{ namespace }};
|
||||
{% endif %}
|
||||
- name: "k8s-ghp-{{ namespace }}.conf"
|
||||
data: |-
|
||||
|
Reference in New Issue
Block a user