Configure CA w/ ingress
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2022-08-23 12:37:38 +02:00
parent 0534b031fa
commit 1cd7e1510f
2 changed files with 15 additions and 3 deletions

View File

@ -12,7 +12,8 @@ DFLT='\033[0m' # Reset colour
LCLR='\033[K' # Clear to end of line LCLR='\033[K' # Clear to end of line
PRST='\033[0;0H' # Reset cursor position PRST='\033[0;0H' # Reset cursor position
COMPONENTS=('ingress' 'storage' 'registry' 'git' 'gitops') # COMPONENTS=('ca' 'ingress' 'storage' 'registry' 'git' 'gitops')
COMPONENTS=('ca' 'storage' 'registry' 'git' 'gitops')
FQDN='{{ vapp['metacluster.fqdn'] }}' FQDN='{{ vapp['metacluster.fqdn'] }}'
IPADDRESS='{{ vapp['guestinfo.ipaddress'] }}' IPADDRESS='{{ vapp['guestinfo.ipaddress'] }}'

View File

@ -63,8 +63,15 @@ components:
chart_values: !unsafe | chart_values: !unsafe |
inject: inject:
secrets: secrets:
ca_password: "{{ vapp['guestinfo.rootpw'] }}" ca_password: "{{ vapp['guestinfo.rootpw'] | b64encode }}"
provisioner_password: "{{ vapp['guestinfo.rootpw'] }}" provisioner_password: "{{ vapp['guestinfo.rootpw'] | b64encode }}"
ingress:
enabled: true
hosts:
- host: ca.{{ vapp['metacluster.fqdn'] }}
paths:
- path: /
pathType: Prefix
service: service:
targetPort: 9000 targetPort: 9000
@ -157,6 +164,10 @@ dependencies:
extra_opts: --strip-components=1 extra_opts: --strip-components=1
- filename: skopeo - filename: skopeo
url: https://code.spamasaurus.com/api/packages/djpbessems/generic/skopeo/v1.9.1/skopeo url: https://code.spamasaurus.com/api/packages/djpbessems/generic/skopeo/v1.9.1/skopeo
- filename: step
url: https://dl.step.sm/gh-release/cli/gh-release-header/v0.21.0/step_linux_0.21.0_amd64.tar.gz
archive: compressed
extra_opts: --strip-components=2
- filename: yq - filename: yq
url: http://github.com/mikefarah/yq/releases/download/v4.25.3/yq_linux_amd64 url: http://github.com/mikefarah/yq/releases/download/v4.25.3/yq_linux_amd64