Add step-ca component
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2022-08-22 12:52:47 +02:00
parent 5f1d1bfa8a
commit 3849b79493
2 changed files with 25 additions and 0 deletions

View File

@ -106,6 +106,16 @@
kubeconfig: "{{ kubeconfig.path }}" kubeconfig: "{{ kubeconfig.path }}"
values: "{{ components.longhorn.chart_values }}" values: "{{ components.longhorn.chart_values }}"
- name: Install step-ca chart
kubernetes.core.helm:
name: step-certificates
chart_ref: /opt/metacluster/helm-charts/step-certificates
release_namespace: step-ca
create_namespace: yes
wait: yes
kubeconfig: "{{ kubeconfig.path }}"
values: "{{ components.stepcertificates.chart_values }}"
- name: Install harbor chart - name: Install harbor chart
kubernetes.core.helm: kubernetes.core.helm:
name: harbor name: harbor

View File

@ -35,6 +35,8 @@ platform:
url: https://argoproj.github.io/argo-helm url: https://argoproj.github.io/argo-helm
- name: sealed-secrets - name: sealed-secrets
url: https://bitnami-labs.github.io/sealed-secrets url: https://bitnami-labs.github.io/sealed-secrets
- name: smallstep
url: https://smallstep.github.io/helm-charts/
components: components:
@ -53,6 +55,19 @@ components:
persistence: persistence:
defaultClassReplicaCount: 1 defaultClassReplicaCount: 1
stepcertificates:
helm:
version: 1.18.2+20220324
chart: smallstep/step-certificates
parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sed '/:/!s/$/:latest/' | sort -u
chart_values: !unsafe |
inject:
secrets:
ca_password: {{ vapp['metacluster.password'] }}
provisioner_password: {{ vapp['metacluster.password'] }}
service:
targetPort: 9000
harbor: harbor:
helm: helm:
version: 1.9.1 # (= Harbor v2.5.1) version: 1.9.1 # (= Harbor v2.5.1)