Parcourir la source

Deployed c078a88d to main with MkDocs 1.6.0 and mike 1.2.0.dev0

gusfcarvalho il y a 1 an
Parent
commit
688dc624a3

+ 64 - 3
main/api/clusterexternalsecret/index.html

@@ -814,6 +814,30 @@
     </span>
   </a>
   
+</li>
+      
+        <li class="md-nav__item">
+  <a href="#deprecations" class="md-nav__link">
+    <span class="md-ellipsis">
+      Deprecations
+    </span>
+  </a>
+  
+    <nav class="md-nav" aria-label="Deprecations">
+      <ul class="md-nav__list">
+        
+          <li class="md-nav__item">
+  <a href="#namespaceselector" class="md-nav__link">
+    <span class="md-ellipsis">
+      namespaceSelector
+    </span>
+  </a>
+  
+</li>
+        
+      </ul>
+    </nav>
+  
 </li>
       
     </ul>
@@ -3236,6 +3260,30 @@
     </span>
   </a>
   
+</li>
+      
+        <li class="md-nav__item">
+  <a href="#deprecations" class="md-nav__link">
+    <span class="md-ellipsis">
+      Deprecations
+    </span>
+  </a>
+  
+    <nav class="md-nav" aria-label="Deprecations">
+      <ul class="md-nav__list">
+        
+          <li class="md-nav__item">
+  <a href="#namespaceselector" class="md-nav__link">
+    <span class="md-ellipsis">
+      namespaceSelector
+    </span>
+  </a>
+  
+</li>
+        
+      </ul>
+    </nav>
+  
 </li>
       
     </ul>
@@ -3260,7 +3308,7 @@
 
 <p><img alt="ClusterExternalSecret" src="../../pictures/diagrams-cluster-external-secrets.png" /></p>
 <p>The <code>ClusterExternalSecret</code> is a cluster scoped resource that can be used to manage <code>ExternalSecret</code> resources in specific namespaces.</p>
-<p>With <code>namespaceSelector</code> you can select namespaces in which the ExternalSecret should be created.
+<p>With <code>namespaceSelectors</code> you can select namespaces in which the ExternalSecret should be created.
 If there is a conflict with an existing resource the controller will error out.</p>
 <h2 id="example">Example</h2>
 <p>Below is an example of the <code>ClusterExternalSecret</code> in use.</p>
@@ -3274,8 +3322,17 @@ If there is a conflict with an existing resource the controller will error out.<
 
 <span class="w">  </span><span class="c1"># This is a basic label selector to select the namespaces to deploy ExternalSecrets to.</span>
 <span class="w">  </span><span class="c1"># you can read more about them here https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#resources-that-support-set-based-requirements</span>
-<span class="w">  </span><span class="nt">namespaceSelector</span><span class="p">:</span>
-<span class="w">    </span><span class="nt">matchLabels</span><span class="p">:</span><span class="w"> </span>
+<span class="w">  </span><span class="c1"># Deprecated: Use namespaceSelectors instead.</span>
+<span class="w">  </span><span class="c1"># namespaceSelector:</span>
+<span class="w">  </span><span class="c1">#   matchLabels:</span>
+<span class="w">  </span><span class="c1">#     cool: label</span>
+
+<span class="w">  </span><span class="c1"># This is a list of basic label selector to select the namespaces to deploy ExternalSecrets to.</span>
+<span class="w">  </span><span class="c1"># you can read more about them here https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#resources-that-support-set-based-requirements</span>
+<span class="w">  </span><span class="c1"># The list is OR&#39;d together, so if any of the namespaceSelectors match the namespace,</span>
+<span class="w">  </span><span class="c1"># the ExternalSecret will be deployed to that namespace.</span>
+<span class="w">  </span><span class="nt">namespaceSelectors</span><span class="p">:</span>
+<span class="w">  </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">matchLabels</span><span class="p">:</span>
 <span class="w">      </span><span class="nt">cool</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">label</span>
 
 <span class="w">  </span><span class="c1"># How often the ClusterExternalSecret should reconcile itself</span>
@@ -3341,6 +3398,10 @@ If there is a conflict with an existing resource the controller will error out.<
 <span class="w">    </span><span class="nt">status</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;True&quot;</span>
 <span class="w">    </span><span class="nt">lastTransitionTime</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;2022-01-12T12:33:02Z&quot;</span>
 </code></pre></div>
+<h2 id="deprecations">Deprecations</h2>
+<h3 id="namespaceselector">namespaceSelector</h3>
+<p>The field <code>namespaceSelector</code> has been deprecated in favor of <code>namespaceSelectors</code> and will be removed in a future
+version.</p>
 
 
 

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
main/search/search_index.json


+ 11 - 2
main/snippets/full-cluster-external-secret.yaml

@@ -9,8 +9,17 @@ spec:
 
   # This is a basic label selector to select the namespaces to deploy ExternalSecrets to.
   # you can read more about them here https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#resources-that-support-set-based-requirements
-  namespaceSelector:
-    matchLabels: 
+  # Deprecated: Use namespaceSelectors instead.
+  # namespaceSelector:
+  #   matchLabels:
+  #     cool: label
+
+  # This is a list of basic label selector to select the namespaces to deploy ExternalSecrets to.
+  # you can read more about them here https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#resources-that-support-set-based-requirements
+  # The list is OR'd together, so if any of the namespaceSelectors match the namespace,
+  # the ExternalSecret will be deployed to that namespace.
+  namespaceSelectors:
+  - matchLabels:
       cool: label
 
   # How often the ClusterExternalSecret should reconcile itself

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff