UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 019554a1 authored by joshwolf's avatar joshwolf Committed by runyontr
Browse files

remove certmanager from core rollout

parent c6bebd02
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,6 @@ package tests:
# Wait for healthy
- sleep 5
- kubectl get namespaces,pods,helmrelease,kustomizations,gitrepositories -A
- kubectl wait --for=condition=Ready --timeout 300s helmrelease -n bigbang certmanager
- kubectl wait --for=condition=Ready --timeout 300s helmrelease -n bigbang gatekeeper
- kubectl wait --for=condition=Ready --timeout 300s helmrelease -n bigbang istio-operator
- kubectl wait --for=condition=Ready --timeout 300s helmrelease -n bigbang istio
......
{{- if .Values.certmanager.enabled }}
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: certmanager
namespace: {{ .Release.Namespace }}
spec:
targetNamespace: cert-manager
chart:
spec:
chart: chart
interval: 5m
sourceRef:
kind: GitRepository
name: certmanager
namespace: {{ .Release.Namespace }}
{{- with .Values.flux }}
interval: {{ .interval }}
test:
enable: false
install:
remediation:
retries: {{ .install.retries }}
upgrade:
remediation:
retries: {{ .upgrade.retries }}
remediateLastFailure: true
cleanupOnFail: true
rollback:
timeout: {{ .rollback.timeout }}
cleanupOnFail: {{ .rollback.cleanupOnFail }}
{{- end }}
values:
global:
logLevel: 2
{{- if and (ne .Values.registryCredentials.username "") (ne .Values.registryCredentials.password "") }}
imagePullSecrets: [ name: private-registry ]
{{- end }}
valuesFrom:
- name: values
kind: Secret
valuesKey: "certmanager.yaml"
{{- end }}
\ No newline at end of file
{{- if and (not .Values.offline) .Values.certmanager.enabled }}
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: GitRepository
metadata:
name: certmanager
namespace: {{ .Release.Namespace }}
spec:
ignore: |
# exclude file extensions
/**/*.md
/**/*.txt
/**/*.sh
interval: {{ .Values.flux.interval }}
ref:
branch: {{ .Values.certmanager.git.branch }}
url: {{ .Values.certmanager.git.repo }}
{{- end }}
{{- if .Values.certmanager.enabled }}
apiVersion: v1
kind: Namespace
metadata:
name: cert-manager
---
{{- if and (ne .Values.registryCredentials.username "") (ne .Values.registryCredentials.password "") }}
apiVersion: v1
kind: Secret
metadata:
name: private-registry
namespace: cert-manager
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: {{ template "imagePullSecret" . }}
{{- end }}
{{- end}}
\ No newline at end of file
......@@ -35,7 +35,7 @@ spec:
- name: values
kind: Secret
valuesKey: "clusterauditor.yaml"
{{- if .Values.certmanager.enabled }}
{{- if .Values.gatekeeper.enabled }}
dependsOn:
- name: gatekeeper
namespace: {{ .Release.Namespace }}
......
......@@ -46,10 +46,4 @@ spec:
{{- if and (ne .Values.registryCredentials.username "") (ne .Values.registryCredentials.password "") }}
imagePullSecrets: [ private-registry ]
{{- end }}
{{- if .Values.certmanager.enabled }}
dependsOn:
- name: certmanager
namespace: {{ .Release.Namespace }}
{{- end }}
{{- end }}
\ No newline at end of file
......@@ -7,8 +7,6 @@ type: generic
stringData:
istio.yaml: |
{{ toYaml .Values.istio.values | indent 4 }}
certmanager.yaml: |
{{ toYaml .Values.certmanager.values | indent 4 }}
gatekeeper.yaml: |
{{ toYaml .Values.gatekeeper.values | indent 4 }}
logging.yaml: |
......
......@@ -28,12 +28,6 @@ istio:
repo: https://repo1.dsop.io/platform-one/big-bang/apps/core/servicemesh.git
branch: chart-release
values: {}
certmanager:
enabled: true
git:
repo: https://repo1.dsop.io/platform-one/big-bang/apps/sandbox/cert-manager.git
branch: release-v1.0.x
values: {}
clusterAuditor:
enabled: true
......@@ -42,8 +36,6 @@ clusterAuditor:
branch: chart-release
values: {}
gatekeeper:
enabled: true
git:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment