Sfoglia il codice sorgente

deploy: 6aa5c80f74f7223977468250dc812904999c0829

paul-the-alien[bot] 4 anni fa
parent
commit
7978089a27
5 ha cambiato i file con 136 aggiunte e 30 eliminazioni
  1. 76 0
      provider-hashicorp-vault/index.html
  2. 0 0
      search/search_index.json
  3. 30 30
      sitemap.xml
  4. BIN
      sitemap.xml.gz
  5. 30 0
      spec/index.html

+ 76 - 0
provider-hashicorp-vault/index.html

@@ -747,6 +747,33 @@
       </ul>
       </ul>
     </nav>
     </nav>
   
   
+</li>
+        
+          <li class="md-nav__item">
+  <a href="#vault-enterprise-and-eventual-consistency" class="md-nav__link">
+    Vault Enterprise and Eventual Consistency
+  </a>
+  
+    <nav class="md-nav" aria-label="Vault Enterprise and Eventual Consistency">
+      <ul class="md-nav__list">
+        
+          <li class="md-nav__item">
+  <a href="#read-your-writes" class="md-nav__link">
+    Read Your Writes
+  </a>
+  
+</li>
+        
+          <li class="md-nav__item">
+  <a href="#forward-inconsistent" class="md-nav__link">
+    Forward Inconsistent
+  </a>
+  
+</li>
+        
+      </ul>
+    </nav>
+  
 </li>
 </li>
         
         
       </ul>
       </ul>
@@ -1117,6 +1144,33 @@
       </ul>
       </ul>
     </nav>
     </nav>
   
   
+</li>
+        
+          <li class="md-nav__item">
+  <a href="#vault-enterprise-and-eventual-consistency" class="md-nav__link">
+    Vault Enterprise and Eventual Consistency
+  </a>
+  
+    <nav class="md-nav" aria-label="Vault Enterprise and Eventual Consistency">
+      <ul class="md-nav__list">
+        
+          <li class="md-nav__item">
+  <a href="#read-your-writes" class="md-nav__link">
+    Read Your Writes
+  </a>
+  
+</li>
+        
+          <li class="md-nav__item">
+  <a href="#forward-inconsistent" class="md-nav__link">
+    Forward Inconsistent
+  </a>
+  
+</li>
+        
+      </ul>
+    </nav>
+  
 </li>
 </li>
         
         
       </ul>
       </ul>
@@ -1369,6 +1423,28 @@ or <code>Kind=ClusterSecretStore</code> resource.</p>
             <span class="nt">namespace</span><span class="p">:</span> <span class="s">&quot;secret-admin&quot;</span>
             <span class="nt">namespace</span><span class="p">:</span> <span class="s">&quot;secret-admin&quot;</span>
             <span class="nt">key</span><span class="p">:</span> <span class="s">&quot;jwt-token&quot;</span>
             <span class="nt">key</span><span class="p">:</span> <span class="s">&quot;jwt-token&quot;</span>
 </code></pre></div>
 </code></pre></div>
+
+<h3 id="vault-enterprise-and-eventual-consistency">Vault Enterprise and Eventual Consistency</h3>
+<p>When using Vault Enterprise with <a href="https://www.vaultproject.io/docs/enterprise/consistency#performance-standby-nodes">performance standby nodes</a>,
+any follower can handle read requests immediately after the provider has
+authenticated. Since Vault becomes eventually consistent in this mode, these
+requests can fail if the login has not yet propagated to each server's local
+state.</p>
+<p>Below are two different solutions to this scenario. You'll need to review them
+and pick the best fit for your environment and Vault configuration.</p>
+<h4 id="read-your-writes">Read Your Writes</h4>
+<p>The simplest method is simply utilizing the <code>X-Vault-Index</code> header returned on
+all write requests (including logins). Passing this header back on subsequent
+requests instructs the Vault client to retry the request until the server has an
+index greater than or equal to that returned with the last write.</p>
+<p>Obviously though, this has a performance hit because the read is blocked until
+the follower's local state has caught up.</p>
+<h4 id="forward-inconsistent">Forward Inconsistent</h4>
+<p>In addition to the aforementioned <code>X-Vault-Index</code> header, Vault also supports
+proxying inconsistent requests to the current cluster leader for immediate
+read-after-write consistency. This is achieved by setting the <code>X-Vault-Inconsistent</code>
+header to <code>forward-active-node</code>. By default, this behavior is disabled and must
+be explicitly enabled in the server's <a href="https://www.vaultproject.io/docs/configuration/replication#allow_forwarding_via_header">replication configuration</a>.</p>
                 
                 
               
               
               
               

File diff suppressed because it is too large
+ 0 - 0
search/search_index.json


+ 30 - 30
sitemap.xml

@@ -1,123 +1,123 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url>
 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url><url>
     </url><url>
      <loc>None</loc>
      <loc>None</loc>
-     <lastmod>2022-01-19</lastmod>
+     <lastmod>2022-01-20</lastmod>
      <changefreq>daily</changefreq>
      <changefreq>daily</changefreq>
     </url>
     </url>
 </urlset>
 </urlset>

BIN
sitemap.xml.gz


+ 30 - 0
spec/index.html

@@ -4145,6 +4145,36 @@ CAProvider
 <p>The provider for the CA bundle to use to validate Vault server certificate.</p>
 <p>The provider for the CA bundle to use to validate Vault server certificate.</p>
 </td>
 </td>
 </tr>
 </tr>
+<tr>
+<td>
+<code>readYourWrites</code></br>
+<em>
+bool
+</em>
+</td>
+<td>
+<em>(Optional)</em>
+<p>ReadYourWrites ensures isolated read-after-write semantics by
+providing discovered cluster replication states in each request.
+More information about eventual consistency in Vault can be found here
+<a href="https://www.vaultproject.io/docs/enterprise/consistency">https://www.vaultproject.io/docs/enterprise/consistency</a></p>
+</td>
+</tr>
+<tr>
+<td>
+<code>forwardInconsistent</code></br>
+<em>
+bool
+</em>
+</td>
+<td>
+<em>(Optional)</em>
+<p>ForwardInconsistent tells Vault to forward read-after-write requests to the Vault
+leader instead of simply retrying within a loop. This can increase performance if
+the option is enabled serverside.
+<a href="https://www.vaultproject.io/docs/configuration/replication#allow_forwarding_via_header">https://www.vaultproject.io/docs/configuration/replication#allow_forwarding_via_header</a></p>
+</td>
+</tr>
 </tbody>
 </tbody>
 </table>
 </table>
 <h3 id="external-secrets.io/v1alpha1.WebhookCAProvider">WebhookCAProvider
 <h3 id="external-secrets.io/v1alpha1.WebhookCAProvider">WebhookCAProvider

Some files were not shown because too many files changed in this diff