File tree 26 files changed +72
-1
lines changed
26 files changed +72
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ apiVersion: v1
3
3
appVersion : v0.30.0
4
4
description : A Helm chart for Atlantis https://www.runatlantis.io
5
5
name : atlantis
6
- version : 5.9.0
6
+ version : 5.9.1
7
7
keywords :
8
8
- terraform
9
9
home : https://www.runatlantis.io
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
3
3
kind : ConfigMap
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- with .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
3
3
kind : ConfigMap
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}-gitconfig-init
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- with .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
3
3
kind : ConfigMap
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}-init-config
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- with .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
3
3
kind : ConfigMap
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}-repo-config
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- with .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ apiVersion: {{ $apiVersion }}
18
18
kind : Ingress
19
19
metadata :
20
20
name : {{ $fullName }}
21
+ namespace : {{ .Release.Namespace }}
21
22
labels :
22
23
{{- include "atlantis.labels" . | nindent 4 }}
23
24
{{- if .Values.ingress.labels }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: monitoring.googleapis.com/v1
3
3
kind : PodMonitoring
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- if or .Values.service.annotations .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
3
3
kind : PersistentVolumeClaim
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}-data
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- with .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
3
3
kind : Role
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- with .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
3
3
kind : RoleBinding
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- with .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
3
3
kind : Secret
4
4
metadata :
5
5
name : {{ template "atlantis.apiSecretName" . }}
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- with .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
3
3
kind : Secret
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}-aws
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- with .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
3
3
kind : Secret
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}-basic-auth
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- with .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
3
3
kind : Secret
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}-gitconfig
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- with .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
3
3
kind : Secret
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}-netrc
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- with .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
3
3
kind : Secret
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}-redis
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- with .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ apiVersion: v1
4
4
kind : Secret
5
5
metadata :
6
6
name : {{ $name }}
7
+ namespace : {{ $.Release.Namespace }}
7
8
labels :
8
9
component : service-account-secret
9
10
{{- include "atlantis.labels" $ | nindent 4 }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
3
3
kind : Secret
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}-webhook
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- with .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ apiVersion: v1
2
2
kind : Service
3
3
metadata :
4
4
name : {{ template "atlantis.fullname" . }}
5
+ namespace : {{ .Release.Namespace }}
5
6
labels :
6
7
{{- include "atlantis.labels" . | nindent 4 }}
7
8
{{- if or .Values.service.annotations .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
3
3
kind : ServiceAccount
4
4
metadata :
5
5
name : {{ template "atlantis.serviceAccountName" . }}
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- if or .Values.serviceAccount.annotations .Values.extraAnnotations }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: monitoring.coreos.com/v1
3
3
kind : ServiceMonitor
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}
6
+ namespace : {{ .Release.Namespace }}
6
7
labels :
7
8
{{- include "atlantis.labels" . | nindent 4 }}
8
9
{{- with .Values.servicemonitor.additionalLabels }}
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ apiVersion: apps/v1
2
2
kind : StatefulSet
3
3
metadata :
4
4
name : {{ template "atlantis.fullname" . }}
5
+ namespace : {{ .Release.Namespace }}
5
6
labels :
6
7
{{- include "atlantis.labels" . | nindent 4 }}
7
8
{{- with .Values.statefulSet.labels }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
3
3
kind : ConfigMap
4
4
metadata :
5
5
name : {{ template "atlantis.fullname" . }}-tests
6
+ namespace : {{ .Release.Namespace }}
6
7
data :
7
8
tests.bats : |-
8
9
setup() {
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: v1
3
3
kind : Pod
4
4
metadata :
5
5
name : " {{ .Release.Name }}-ui-test"
6
+ namespace : {{ .Release.Namespace }}
6
7
annotations :
7
8
helm.sh/hook : test
8
9
{{- with .Values.test.annotations }}
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ apiVersion: {{ $apiVersion }}
18
18
kind : Ingress
19
19
metadata :
20
20
name : {{ $fullName }}-secondary
21
+ namespace : {{ .Release.Namespace }}
21
22
labels :
22
23
{{- include "atlantis.labels" . | nindent 4 }}
23
24
{{- with .Values.webhook_ingress.labels }}
Original file line number Diff line number Diff line change
1
+ suite : test miscellaneous cases
2
+ templates :
3
+ - " *.yaml"
4
+ chart :
5
+ appVersion : test-appVersion
6
+ release :
7
+ name : my-release
8
+ namespace : my-namespace
9
+ tests :
10
+ - it : ensure namespaces are specified in all resources
11
+ set :
12
+ config : " dummy"
13
+ gitconfigReadOnly : false
14
+ gitconfig : " dummy"
15
+ initConfig :
16
+ enabled : true
17
+ repoConfig : " dummy"
18
+ podMonitor :
19
+ enabled : true
20
+ servicemonitor :
21
+ enabled : true
22
+ enableKubernetesBackend : true
23
+ api :
24
+ secret : " dummy"
25
+ aws :
26
+ config : " dummy"
27
+ basicAuth :
28
+ username : " dummy"
29
+ password : " dummy"
30
+ netrc : " dummy"
31
+ redis :
32
+ password : " dummy"
33
+ serviceAccountSecrets :
34
+ credentials : " dummy"
35
+ webhook_ingress :
36
+ enabled : true
37
+ extraManifests :
38
+ - apiVersion : v1
39
+ kind : Pod
40
+ metadata :
41
+ name : dummy
42
+ namespace : " my-namespace"
43
+
44
+ asserts :
45
+ - equal :
46
+ path : metadata.namespace
47
+ value : my-namespace
You can’t perform that action at this time.
0 commit comments