Browse Source

Fix README examples and resource samples

Jonatas Baldin 5 years ago
parent
commit
5e3c3e8d3f

+ 1 - 1
README.md

@@ -34,7 +34,7 @@ make run
 Apply the sample resources:
 Apply the sample resources:
 ```shell
 ```shell
 kubectl apply -f config/samples/external-secrets_v1alpha1_secretstore.yaml
 kubectl apply -f config/samples/external-secrets_v1alpha1_secretstore.yaml
-kubectl applt -f config/samples/external-secrets_v1alpha1_externalsecret.yaml
+kubectl apply -f config/samples/external-secrets_v1alpha1_externalsecret.yaml
 ```
 ```
 
 
 We will add more documentation once we have the implementation for the different providers.
 We will add more documentation once we have the implementation for the different providers.

+ 2 - 2
config/samples/external-secrets_v1alpha1_externalsecret.yaml

@@ -11,7 +11,7 @@ spec:
     name: secret-to-be-created
     name: secret-to-be-created
     creationPolicy: Owner
     creationPolicy: Owner
 
 
-  refreshInternal: 1h
+  refreshInterval: 1h
 
 
   data:
   data:
   - secretKey: secret-key-to-be-managed
   - secretKey: secret-key-to-be-managed
@@ -22,4 +22,4 @@ spec:
 
 
   dataFrom:
   dataFrom:
   - remoteRef:
   - remoteRef:
-      key: remote-key-in-the-provider
+    key: remote-key-in-the-provider

+ 2 - 2
config/samples/external-secrets_v1alpha1_secretstore.yaml

@@ -9,11 +9,11 @@ spec:
     awssm:
     awssm:
       auth:
       auth:
         secretRef:
         secretRef:
-          accessKeyID:
+          accessKeyIDSecretRef:
             name: awssm-secret
             name: awssm-secret
             key: access-key
             key: access-key
 
 
-          secretAccessKey:
+          secretAccessKeySecretRef:
             name: awssm-secret
             name: awssm-secret
             key: secret-access-key
             key: secret-access-key