Commit b0831cb2 authored by Daishan's avatar Daishan
Browse files

Generate rancher customization

parent b789e338
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -10,7 +10,7 @@ keywords:
- mixer
- mixer
- pilot
- pilot
- galley
- galley
name: istio
name: rancher-istio
sources:
sources:
- http://github.com/istio/istio
- http://github.com/istio/istio
tillerVersion: '>=2.7.2-0'
tillerVersion: '>=2.7.2-0'
+1 −1
Original line number Original line Diff line number Diff line
@@ -83,7 +83,7 @@ spec:
      serviceAccountName: istio-security-post-install-account
      serviceAccountName: istio-security-post-install-account
      containers:
      containers:
        - name: kubectl
        - name: kubectl
          image: "{{ .Values.global.hub }}/kubectl:{{ .Values.global.tag }}"
          image: "{{ .Values.global.hub }}/istio-kubectl:{{ .Values.global.tag }}"
          imagePullPolicy: IfNotPresent
          imagePullPolicy: IfNotPresent
          command: [ "/bin/bash", "/tmp/security/run.sh", "/tmp/security/custom-resources.yaml" ]
          command: [ "/bin/bash", "/tmp/security/run.sh", "/tmp/security/custom-resources.yaml" ]
          volumeMounts:
          volumeMounts:
+3 −0
Original line number Original line Diff line number Diff line
labels:
  rancher.istio.v1.4.2: 1.4.2
rancher_min_version: 2.3.0-rc1
+4816 −0

File added.

Preview size limit exceeded, changes collapsed.

+121 −0
Original line number Original line Diff line number Diff line
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  annotations:
    helm.sh/resource-policy: keep
    helm.sh/hook: crd-install
  labels:
    app: istio-pilot
    chart: istio
    heritage: Tiller
    release: istio
  name: sidecars.networking.istio.io
spec:
  group: networking.istio.io
  names:
    categories:
    - istio-io
    - networking-istio-io
    kind: Sidecar
    plural: sidecars
    singular: sidecar
  scope: Namespaced
  subresources:
    status: {}
  validation:
    openAPIV3Schema:
      properties:
        spec:
          description: 'Configuration affecting network reachability of a sidecar.
            See more details at: https://istio.io/docs/reference/config/networking/v1alpha3/sidecar.html'
          properties:
            egress:
              items:
                properties:
                  bind:
                    format: string
                    type: string
                  captureMode:
                    enum:
                    - DEFAULT
                    - IPTABLES
                    - NONE
                    type: string
                  hosts:
                    items:
                      format: string
                      type: string
                    type: array
                  port:
                    description: The port associated with the listener.
                    properties:
                      name:
                        description: Label assigned to the port.
                        format: string
                        type: string
                      number:
                        description: A valid non-negative integer port number.
                        type: integer
                      protocol:
                        description: The protocol exposed on the port.
                        format: string
                        type: string
                    type: object
                type: object
              type: array
            ingress:
              items:
                properties:
                  bind:
                    description: The ip to which the listener should be bound.
                    format: string
                    type: string
                  captureMode:
                    enum:
                    - DEFAULT
                    - IPTABLES
                    - NONE
                    type: string
                  defaultEndpoint:
                    format: string
                    type: string
                  port:
                    description: The port associated with the listener.
                    properties:
                      name:
                        description: Label assigned to the port.
                        format: string
                        type: string
                      number:
                        description: A valid non-negative integer port number.
                        type: integer
                      protocol:
                        description: The protocol exposed on the port.
                        format: string
                        type: string
                    type: object
                type: object
              type: array
            outboundTrafficPolicy:
              description: This allows to configure the outbound traffic policy.
              properties:
                mode:
                  enum:
                  - REGISTRY_ONLY
                  - ALLOW_ANY
                  type: string
              type: object
            workloadSelector:
              properties:
                labels:
                  additionalProperties:
                    format: string
                    type: string
                  type: object
              type: object
          type: object
      type: object
  versions:
  - name: v1alpha3
    served: true
    storage: true
Loading