File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed 
resource_customizations/external-secrets.io/ExternalSecret/actions Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,6 @@ discoveryTests:
77  - inputPath : testdata/external-secret.yaml 
88    result :
99      - name : " refresh" 
10+   - inputPath : testdata/external-secret-refresh-policy.yaml 
11+     result :
12+       - name : " refresh" 
Original file line number Diff line number Diff line change 1+ apiVersion : external-secrets.io/v1alpha1 
2+ kind : ExternalSecret 
3+ metadata :
4+   creationTimestamp : ' 2021-11-16T21:59:33Z' 
5+   generation : 1 
6+   name : test-healthy 
7+   namespace : argocd 
8+   resourceVersion : ' 136487331' 
9+   selfLink : /apis/external-secrets.io/v1alpha1/namespaces/argocd/externalsecrets/test-healthy 
10+   uid : 1e754a7e-0781-4d57-932d-4651d5b19586 
11+ spec :
12+   data :
13+     - remoteRef :
14+         key : secret/sa/example 
15+         property : api.address 
16+       secretKey : url 
17+     - remoteRef :
18+         key : secret/sa/example 
19+         property : ca.crt 
20+       secretKey : ca 
21+     - remoteRef :
22+         key : secret/sa/example 
23+         property : token 
24+       secretKey : token 
25+   refreshInterval : 0 
26+   refreshPolicy : OnChange 
27+   secretStoreRef :
28+     kind : SecretStore 
29+     name : example 
30+   target :
31+     creationPolicy : Owner 
32+     template :
33+       data :
34+         config : | 
35+           { 
36+             "bearerToken": "{{ .token | base64decode | toString }}", 
37+             "tlsClientConfig": { 
38+               "insecure": false, 
39+               "caData": "{{ .ca | toString }}" 
40+             } 
41+           } 
42+ name : cluster-test 
43+         server : ' {{ .url | toString }}' 
44+       metadata :
45+         labels :
46+           argocd.argoproj.io/secret-type : cluster 
47+ status :
48+   conditions :
49+     - lastTransitionTime : ' 2021-11-16T21:59:34Z' 
50+       message : Secret was synced 
51+       reason : SecretSynced 
52+       status : ' True' 
53+       type : Ready 
54+   refreshTime : ' 2021-11-29T18:32:24Z' 
55+   syncedResourceVersion : 1-519a61da0dc68b2575b4f8efada70e42 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments