UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 09bae791 authored by runyontr's avatar runyontr
Browse files

Merge branch 'cluster-auditor' into 'master'

generic commit message

See merge request platform-one/big-bang/umbrella!16
parents 3a446865 b1d5228f
No related branches found
No related tags found
1 merge request!16generic commit message
Pipeline #71770 passed
......@@ -46,7 +46,8 @@ package tests:
- kubectl wait --for=condition=Ready --timeout 300s helmrelease -n bigbang logging-operator
- kubectl wait --for=condition=Ready --timeout 300s helmrelease -n bigbang efk
- kubectl wait --for=condition=Ready --timeout 300s helmrelease -n bigbang twistlock
- kubectl wait --for=condition=Ready --timeout 900s helmrelease -n bigbang cluster-auditor
# Show all deployed resources
- kubectl get all -A
......
{{- if .Values.gatekeeper.enabled }}
{{- if .Values.clusterAuditor.enabled }}
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
......@@ -30,14 +30,8 @@ spec:
timeout: {{ .rollback.timeout }}
cleanupOnFail: {{ .rollback.cleanupOnFail }}
{{- end }}
values:
#conversion from umbrella values to package values
image:
repository: registry1.dsop.io/ironbank/opensource/openpolicyagent/gatekeeper
release: v3.1.2
disableValidatingWebhook: true
createNamespace: false
{{- if and (ne .Values.registryCredentials.username "") (ne .Values.registryCredentials.password "") }}
imagePullSecrets: [ private-registry ]
{{- end }}
......@@ -45,13 +39,9 @@ spec:
- name: values
kind: Secret
valuesKey: "clusterauditor.yaml"
{{- if .Values.certmanager.enabled }}
dependsOn:
- name: gatekeeper
namespace: {{ .Release.Namespace }}
- name: eck-operator
namespace: {{ .Release.Namespace }}
- name: cluster-auditor-policies
namespace: {{ .Release.Namespace}}
{{- end }}
{{- end }}
\ No newline at end of file
......@@ -5,6 +5,7 @@ metadata:
name: cluster-auditor-policies
namespace: {{ .Release.Namespace }}
spec:
targetNamespace: cluster-auditor
chart:
spec:
chart: charts/policies
......@@ -38,7 +39,5 @@ spec:
dependsOn:
- name: gatekeeper
namespace: {{ .Release.Namespace }}
- name: eck-operator
namespace: {{ .Release.Namespace }}
{{- end }}
{{- end }}
\ No newline at end of file
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