github.com/replicatedcom/ship@v0.50.0/integration/init_app/helm-github/expected/installer/charts/minio-forked-proxy/deployment.yaml (about)

     1  ---
     2  # Source: minio/templates/deployment.yaml
     3  
     4  apiVersion: apps/v1
     5  kind: Deployment
     6  metadata:
     7    name: integration-replicated-app-helm-github
     8    labels:
     9      app: minio
    10      chart: minio-2.2.0
    11      release: integration-replicated-app-helm-github
    12      heritage: Tiller
    13  spec:
    14    strategy:
    15      type: RollingUpdate
    16      rollingUpdate:
    17        maxSurge: 100%
    18        maxUnavailable: 0
    19    selector:
    20      matchLabels:
    21        app: minio
    22        release: integration-replicated-app-helm-github
    23    template:
    24      metadata:
    25        name: integration-replicated-app-helm-github
    26        labels:
    27          app: minio
    28          release: integration-replicated-app-helm-github
    29      spec:
    30        containers:
    31          - name: minio
    32            image: "minio/minio:RELEASE.2018-12-06T01-27-43Z"
    33            imagePullPolicy: IfNotPresent
    34            command: [ "/bin/sh", 
    35            "-ce", 
    36            "cp /tmp/config.json /root/.minio/ && 
    37            /usr/bin/docker-entrypoint.sh minio -C /root/.minio/ server /export" ]
    38            volumeMounts:
    39              - name: export
    40                mountPath: /export
    41              - name: minio-server-config
    42                mountPath: "/tmp/config.json"
    43                subPath: config.json
    44              - name: minio-config-dir
    45                mountPath: /root/.minio/
    46            ports:
    47              - name: service
    48                containerPort: 9000
    49            env:
    50              - name: MINIO_ACCESS_KEY
    51                valueFrom:
    52                  secretKeyRef:
    53                    name: integration-replicated-app-helm-github
    54                    key: accesskey
    55              - name: MINIO_SECRET_KEY
    56                valueFrom:
    57                  secretKeyRef:
    58                    name: integration-replicated-app-helm-github
    59                    key: secretkey
    60              - name: MINIO_BROWSER
    61                value: "on"
    62            livenessProbe:
    63              httpGet:
    64                path: /minio/health/live
    65                port: service
    66              initialDelaySeconds: 5
    67              periodSeconds: 30
    68              timeoutSeconds: 1
    69              successThreshold: 1
    70              failureThreshold: 3
    71            readinessProbe:
    72              httpGet:
    73                path: /minio/health/ready
    74                port: service
    75              periodSeconds: 15
    76              timeoutSeconds: 1
    77              successThreshold: 1
    78              failureThreshold: 3
    79            resources:
    80              requests:
    81                cpu: 250m
    82                memory: 256Mi
    83              
    84        volumes:
    85          - name: export
    86            persistentVolumeClaim:
    87              claimName: integration-replicated-app-helm-github
    88          - name: minio-server-config
    89            configMap:
    90              name: integration-replicated-app-helm-github
    91          - name: minio-user
    92            secret:
    93              secretName: integration-replicated-app-helm-github
    94          - name: minio-config-dir
    95            emptyDir: {}