|  |  |  | @@ -6,23 +6,23 @@ release: | 
		
	
		
			
				|  |  |  |  |   name: prometheus-fail2ban-exporter-unittest | 
		
	
		
			
				|  |  |  |  |   namespace: testing | 
		
	
		
			
				|  |  |  |  | templates: | 
		
	
		
			
				|  |  |  |  | - templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  | - templates/prometheus-fail2ban-exporter/secretWebConfig.yaml | 
		
	
		
			
				|  |  |  |  | - templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  | - templates/secretWebConfig.yaml | 
		
	
		
			
				|  |  |  |  | tests: | 
		
	
		
			
				|  |  |  |  | - it: Rendering default | 
		
	
		
			
				|  |  |  |  |   asserts: | 
		
	
		
			
				|  |  |  |  |   - hasDocuments: | 
		
	
		
			
				|  |  |  |  |       count: 1 | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - containsDocument: | 
		
	
		
			
				|  |  |  |  |       apiVersion: apps/v1 | 
		
	
		
			
				|  |  |  |  |       kind: DaemonSet | 
		
	
		
			
				|  |  |  |  |       name: prometheus-fail2ban-exporter-unittest | 
		
	
		
			
				|  |  |  |  |       namespace: testing | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - notExists: | 
		
	
		
			
				|  |  |  |  |       path: metadata.annotations | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: metadata.labels | 
		
	
		
			
				|  |  |  |  |       value: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -31,10 +31,10 @@ tests: | 
		
	
		
			
				|  |  |  |  |         app.kubernetes.io/name: prometheus-fail2ban-exporter | 
		
	
		
			
				|  |  |  |  |         app.kubernetes.io/version: 0.1.0 | 
		
	
		
			
				|  |  |  |  |         helm.sh/chart: prometheus-fail2ban-exporter-0.1.0 | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - exists: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.metadata.annotations.checksum/secret-web-config | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.metadata.labels | 
		
	
		
			
				|  |  |  |  |       value: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -43,19 +43,19 @@ tests: | 
		
	
		
			
				|  |  |  |  |         app.kubernetes.io/name: prometheus-fail2ban-exporter | 
		
	
		
			
				|  |  |  |  |         app.kubernetes.io/version: 0.1.0 | 
		
	
		
			
				|  |  |  |  |         helm.sh/chart: prometheus-fail2ban-exporter-0.1.0 | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - notExists: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.affinity | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - notExists: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.containers[0].envFrom | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.containers[0].args | 
		
	
		
			
				|  |  |  |  |       value: | 
		
	
		
			
				|  |  |  |  |       # - --web.config.file=/etc/prometheus-fail2ban-exporter/config.d/webConfig.yaml | 
		
	
		
			
				|  |  |  |  |       - --web.listen-address=:9191 | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.containers[0].volumeMounts | 
		
	
		
			
				|  |  |  |  |       value: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -63,7 +63,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |         name: socket | 
		
	
		
			
				|  |  |  |  |       - mountPath: /etc/prometheus-fail2ban-exporter/config.d | 
		
	
		
			
				|  |  |  |  |         name: config-d | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.volumes | 
		
	
		
			
				|  |  |  |  |       value: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -74,59 +74,59 @@ tests: | 
		
	
		
			
				|  |  |  |  |       - name: config-d | 
		
	
		
			
				|  |  |  |  |         secret: | 
		
	
		
			
				|  |  |  |  |           secretName: prometheus-fail2ban-exporter-unittest-web-config | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.containers[0].image | 
		
	
		
			
				|  |  |  |  |       value: git.cryptic.systems/volker.raschek/prometheus-fail2ban-exporter:0.1.0 | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.containers[0].imagePullPolicy | 
		
	
		
			
				|  |  |  |  |       value: IfNotPresent | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - notExists: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.containers[0].resources | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - notExists: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.containers[0].securityContext | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - notExists: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.dnsConfig | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - notExists: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.dnsPolicy | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - notExists: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.hostname | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.hostNetwork | 
		
	
		
			
				|  |  |  |  |       value: false | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - notExists: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.imagePullSecrets | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - notExists: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.nodeSelector | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - notExists: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.priorityClassName | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - notExists: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.restartPolicy | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - notExists: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.subdomain | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.terminationGracePeriodSeconds | 
		
	
		
			
				|  |  |  |  |       value: 60 | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - notExists: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.tolerations | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - notExists: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.topologySpreadConstraints | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.updateStrategy | 
		
	
		
			
				|  |  |  |  |       value: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -134,7 +134,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |           maxSurge: 1 | 
		
	
		
			
				|  |  |  |  |           maxUnavailable: 0 | 
		
	
		
			
				|  |  |  |  |         type: "RollingUpdate" | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test custom affinity | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -161,7 +161,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |                 values: | 
		
	
		
			
				|  |  |  |  |                 - antarctica-east1 | 
		
	
		
			
				|  |  |  |  |                 - antarctica-west1 | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test additional arguments | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -176,7 +176,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |       - --web.listen-address=:9191 | 
		
	
		
			
				|  |  |  |  |       - --foo=bar | 
		
	
		
			
				|  |  |  |  |       - --bar=foo | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test custom imageRegistry and imageRepository | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -186,7 +186,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.containers[0].image | 
		
	
		
			
				|  |  |  |  |       value: registry.example.local/path/special/prometheus-fail2ban-exporter:0.1.0 | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test custom imagePullPolicy | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -195,7 +195,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.containers[0].imagePullPolicy | 
		
	
		
			
				|  |  |  |  |       value: Always | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test config.webConfig.existingSecret | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -209,7 +209,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |         name: socket | 
		
	
		
			
				|  |  |  |  |       - mountPath: /etc/prometheus-fail2ban-exporter/config.d | 
		
	
		
			
				|  |  |  |  |         name: config-d | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.volumes | 
		
	
		
			
				|  |  |  |  |       value: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -220,7 +220,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |       - name: config-d | 
		
	
		
			
				|  |  |  |  |         secret: | 
		
	
		
			
				|  |  |  |  |           secretName: web-config-secret | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test custom resource limits and requests | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -240,7 +240,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |           resourceFieldRef: | 
		
	
		
			
				|  |  |  |  |             divisor: "1" | 
		
	
		
			
				|  |  |  |  |             resource: limits.cpu | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.containers[0].resources | 
		
	
		
			
				|  |  |  |  |       value: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -250,7 +250,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |         requests: | 
		
	
		
			
				|  |  |  |  |           cpu: 25m | 
		
	
		
			
				|  |  |  |  |           memory: 100MB | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test custom securityContext | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -277,7 +277,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |         readOnlyRootFilesystem: true | 
		
	
		
			
				|  |  |  |  |         runAsNonRoot: true | 
		
	
		
			
				|  |  |  |  |         runAsUser: 1000 | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test dnsConfig | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -292,7 +292,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |         nameservers: | 
		
	
		
			
				|  |  |  |  |         - "8.8.8.8" | 
		
	
		
			
				|  |  |  |  |         - "8.8.4.4" | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test dnsPolicy | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -301,7 +301,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.dnsPolicy | 
		
	
		
			
				|  |  |  |  |       value: ClusterFirst | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test hostNetwork, hostname, subdomain | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -312,15 +312,15 @@ tests: | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.hostNetwork | 
		
	
		
			
				|  |  |  |  |       value: true | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.hostname | 
		
	
		
			
				|  |  |  |  |       value: pg-exporter | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.subdomain | 
		
	
		
			
				|  |  |  |  |       value: exporters.internal | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test imagePullSecrets | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -333,7 +333,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |       value: | 
		
	
		
			
				|  |  |  |  |       - name: my-pull-secret | 
		
	
		
			
				|  |  |  |  |       - name: my-special-secret | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test nodeSelector | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -344,7 +344,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.nodeSelector | 
		
	
		
			
				|  |  |  |  |       value: | 
		
	
		
			
				|  |  |  |  |         foo: bar | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test priorityClassName | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -353,7 +353,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.priorityClassName | 
		
	
		
			
				|  |  |  |  |       value: my-priority | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test restartPolicy | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -362,7 +362,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.restartPolicy | 
		
	
		
			
				|  |  |  |  |       value: Always | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test terminationGracePeriodSeconds | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -371,7 +371,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.terminationGracePeriodSeconds | 
		
	
		
			
				|  |  |  |  |       value: 120 | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test tolerations | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -388,7 +388,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |         operator: Equal | 
		
	
		
			
				|  |  |  |  |         value: fail2ban | 
		
	
		
			
				|  |  |  |  |         effect: NoSchedule | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test topologySpreadConstraints | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -407,7 +407,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |         labelSelector: | 
		
	
		
			
				|  |  |  |  |           matchLabels: | 
		
	
		
			
				|  |  |  |  |             app.kubernetes.io/instance: prometheus-fail2ban-exporter | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | - it: Test additional volumeMounts and volumes | 
		
	
		
			
				|  |  |  |  |   set: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -426,7 +426,7 @@ tests: | 
		
	
		
			
				|  |  |  |  |         mountPath: /usr/lib/prometheus-fail2ban-exporter/data | 
		
	
		
			
				|  |  |  |  |       - name: config-d | 
		
	
		
			
				|  |  |  |  |         mountPath: /etc/prometheus-fail2ban-exporter/config.d | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |   - equal: | 
		
	
		
			
				|  |  |  |  |       path: spec.template.spec.volumes | 
		
	
		
			
				|  |  |  |  |       value: | 
		
	
	
		
			
				
					
					|  |  |  | @@ -436,4 +436,4 @@ tests: | 
		
	
		
			
				|  |  |  |  |       - name: config-d | 
		
	
		
			
				|  |  |  |  |         secret: | 
		
	
		
			
				|  |  |  |  |           secretName: prometheus-fail2ban-exporter-unittest-web-config | 
		
	
		
			
				|  |  |  |  |     template: templates/prometheus-fail2ban-exporter/daemonSet.yaml | 
		
	
		
			
				|  |  |  |  |     template: templates/daemonSet.yaml |