You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{- if or .Values.global.codefresh.tls.caCerts.secret.create (and .Values.global.codefresh.tls.caCerts.secretKeyRef.key .Values.global.codefresh.tls.caCerts.secretKeyRef.name) }}
{{- if or .Values.global.codefresh.tls.caCerts.secret.create (and .Values.global.codefresh.tls.caCerts.secretKeyRef.key .Values.global.codefresh.tls.caCerts.secretKeyRef.name) }}
{{- if or .Values.global.codefresh.tls.caCerts.secret.create (and .Values.global.codefresh.tls.caCerts.secretKeyRef.key .Values.global.codefresh.tls.caCerts.secretKeyRef.name) }}
Copy file name to clipboardExpand all lines: charts/gitops-runtime/tests/external_argocd_test.yaml
+16-36Lines changed: 16 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -675,18 +675,6 @@ tests:
675
675
name: ARGO_CD_TOKEN_SECRET_KEY
676
676
value: token
677
677
678
-
- it: should require ArgoCd repoServer address if it's not provided
679
-
values:
680
-
- ./values/mandatory-values-ingress.yaml
681
-
- ./values/external-argocd-values.yaml
682
-
set:
683
-
global:
684
-
external-argo-cd:
685
-
repoServer: null
686
-
asserts:
687
-
- failedTemplate:
688
-
errorMessage: "ArgoCD is not enabled and .Values.global.external-argo-cd.repoServer is not set"
689
-
690
678
- it: should required only allowed auth type for external ArgoCd
691
679
values:
692
680
- ./values/mandatory-values-ingress.yaml
@@ -709,9 +697,10 @@ tests:
709
697
- ./values/external-argocd-values.yaml
710
698
set:
711
699
global:
712
-
external-argo-cd:
713
-
server:
714
-
rootpath: /argocd
700
+
integrations:
701
+
argo-cd:
702
+
server:
703
+
rootpath: /argocd
715
704
asserts:
716
705
- contains:
717
706
path: spec.template.spec.containers[0].env
@@ -726,9 +715,10 @@ tests:
726
715
- ./values/external-argocd-values.yaml
727
716
set:
728
717
global:
729
-
external-argo-cd:
730
-
server:
731
-
rootpath: /argocd
718
+
integrations:
719
+
argo-cd:
720
+
server:
721
+
rootpath: /argocd
732
722
asserts:
733
723
- contains:
734
724
path: spec.template.spec.containers[0].env
@@ -743,9 +733,10 @@ tests:
743
733
template: app-proxy/config.yaml
744
734
set:
745
735
global:
746
-
external-argo-cd:
747
-
server:
748
-
rootpath: /argocd
736
+
integrations:
737
+
argo-cd:
738
+
server:
739
+
rootpath: /argocd
749
740
asserts:
750
741
- equal:
751
742
path: data.argoCdUrl
@@ -758,9 +749,10 @@ tests:
758
749
- ./values/external-argocd-values.yaml
759
750
set:
760
751
global:
761
-
external-argo-cd:
762
-
server:
763
-
rootpath: /argocd
752
+
integrations:
753
+
argo-cd:
754
+
server:
755
+
rootpath: /argocd
764
756
asserts:
765
757
- contains:
766
758
path: spec.template.spec.containers[0].env
@@ -843,15 +835,3 @@ tests:
843
835
asserts:
844
836
- failedTemplate:
845
837
errorMessage: ".Values.global.integrations.argo-cd.server.auth.type is set to 'token' therefore .Values.global.integrations.argo-cd.server.auth.tokenSecretKeyRef.name is required"
846
-
847
-
- it: should require ArgoCd server address if it's not provided
848
-
values:
849
-
- ./values/mandatory-values-ingress.yaml
850
-
- ./values/external-argocd-values.yaml
851
-
set:
852
-
global:
853
-
external-argo-cd:
854
-
server: null
855
-
asserts:
856
-
- failedTemplate:
857
-
errorMessage: "ArgoCD is not enabled and .Values.global.external-argo-cd.server is not set"
0 commit comments