Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for annotation (0.43 sec)

  1. istioctl/pkg/injector/injector-list_test.go

    			expectedRevision: "",
    		},
    		{
    			name: "has rev annotation",
    			pod: &corev1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Annotations: map[string]string{
    						annotation.SidecarStatus.Name: `{"revision": "test-anno"}`,
    					},
    				},
    			},
    			expectedRevision: "test-anno",
    		},
    		{
    			name: "has both rev label and annotation, use label",
    			pod: &corev1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. cni/pkg/util/podutil_test.go

    // limitations under the License.
    
    package util
    
    import (
    	"testing"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/annotation"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestGetPodIPIfPodIPPresent(t *testing.T) {
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  3. cni/pkg/util/podutil.go

    	"k8s.io/client-go/kubernetes"
    
    	"istio.io/api/annotation"
    	"istio.io/istio/pkg/config/constants"
    )
    
    var annotationPatch = []byte(fmt.Sprintf(
    	`{"metadata":{"annotations":{"%s":"%s"}}}`,
    	constants.AmbientRedirection,
    	constants.AmbientRedirectionEnabled,
    ))
    
    var annotationRemovePatch = []byte(fmt.Sprintf(
    	`{"metadata":{"annotations":{"%s":null}}}`,
    	constants.AmbientRedirection,
    ))
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/informers.go

    		}
    		wasAnnotated := oldPod.Annotations != nil && oldPod.Annotations[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled
    		isAnnotated := newPod.Annotations != nil && newPod.Annotations[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled
    		shouldBeEnabled := util.PodRedirectionEnabled(ns, newPod)
    
    		// We should check the latest annotation vs desired status
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. manifests/charts/istio-cni/templates/daemonset.yaml

            sidecar.istio.io/inject: "false"
            istio.io/dataplane-mode: none
          annotations:
            sidecar.istio.io/inject: "false"
            # Add Prometheus Scrape annotations
            prometheus.io/scrape: 'true'
            prometheus.io/port: "15014"
            prometheus.io/path: '/metrics'
            # Custom annotations
            {{- if .Values.cni.podAnnotations }}
    {{ toYaml .Values.cni.podAnnotations | indent 8 }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. manifests/charts/ztunnel/templates/rbac.yaml

    imagePullSecrets:
      {{- range . }}
      - name: {{ . }}
      {{- end }}
      {{- end }}
    metadata:
      name: ztunnel
      namespace: {{ .Release.Namespace }}
      labels:
        {{- .Values.labels | toYaml | nindent 4}}
      annotations:
        {{- .Values.annotations | toYaml | nindent 4 }}
    ---
    {{- if (eq .Values.platform "openshift") }}
    apiVersion: rbac.authorization.k8s.io/v1
    kind: ClusterRole
    metadata:
      name: ztunnel
      labels:
        app: ztunnel
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat May 04 01:17:57 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryFactory.java

    import org.apache.maven.api.LocalRepository;
    import org.apache.maven.api.RemoteRepository;
    import org.apache.maven.api.Service;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.Repository;
    
    /**
     * Factory service to create {@link LocalRepository} or {@link RemoteRepository} objects.
     *
     * @since 4.0.0
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. manifests/charts/ztunnel/templates/daemonset.yaml

    apiVersion: apps/v1
    kind: DaemonSet
    metadata:
      name: ztunnel
      namespace: {{ .Release.Namespace }}
      labels:
        {{- .Values.labels | toYaml | nindent 4}}
      annotations:
        {{- .Values.annotations | toYaml | nindent 4 }}
    spec:
      updateStrategy:
        rollingUpdate:
          maxSurge: 1
          maxUnavailable: 0
      selector:
        matchLabels:
          app: ztunnel
      template:
        metadata:
          labels:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/LookupException.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * The Exception class throw by the {@link Lookup} service.
     *
     * @since 4.0.0
     */
    @Experimental
    public class LookupException extends MavenException {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultLocalRepository.java

     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.nio.file.Path;
    
    import org.apache.maven.api.LocalRepository;
    import org.apache.maven.api.annotations.Nonnull;
    
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    public class DefaultLocalRepository implements LocalRepository {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top