portefaix / portefaix-kubernetes

Kubernetes resources
https://github.com/portefaix/.github
Other
8 stars 7 forks source link

CSI Driver for Amazon EBS: Kubernetes recommanded labels and custom labels #1487

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 2 years ago

CSI Driver for Amazon EBS: Kubernetes recommanded labels and custom labels

portefaix.xyz/version: v0.25.0

a8r.io/description: CSI Driver for Amazon EBS

a8r.io/owner: aws

a8r.io/bugs: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/issues

a8r.io/documentation: https://kubernetes-sigs.github.io/aws-ebs-csi-driver

a8r.io/repository: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/

a8r.io/support: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/issues

labels:

my-label-is: supercool

defaults to WaitForFirstConsumer

https://github.com/portefaix/portefaix/blob/ce13ffcf0bfa9a2f4051f6e4a52bed8cd57f1a26/kubernetes/base/kube-system/aws-ebs-csi-driver/aws-ebs-csi-driver.yaml#L35


# Copyright (C) 2021 Nicolas Lamirault <nicolas.lamirault@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: aws-ebs-csi-driver
  namespace: kube-system
spec:
  chart:
    spec:
      # renovate: registryUrl=https://kubernetes-sigs.github.io/aws-ebs-csi-driver
      chart: aws-ebs-csi-driver
      version: 2.4.0
      sourceRef:
        kind: HelmRepository
        name: aws-ebs-csi-driver
        namespace: flux-system
  interval: 5m0s
  releaseName: aws-ebs-csi-driver
  targetNamespace: kube-system
  values:
    # TODO: CSI Driver for Amazon EBS: Kubernetes recommanded labels and custom labels
    # labels: kind/feature, priority/low, lifecycle/frozen, area/kubernetes, cloud/aws
    # https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1106

    # customLabels:
    #   portefaix.xyz/version: v0.25.0

    # additionalAnnotations:
    #   a8r.io/description: CSI Driver for Amazon EBS
    #   a8r.io/owner: aws
    #   a8r.io/bugs: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/issues
    #   a8r.io/documentation: https://kubernetes-sigs.github.io/aws-ebs-csi-driver
    #   a8r.io/repository: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/
    #   a8r.io/support: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/issues

    controller:
      serviceAccount:
        create: true
        name: ebs-csi-controller

    node:
      serviceAccount:
        create: true
        name: ebs-csi-node

    storageClasses:
      - name: ebs-gp3
        annotations:
          # storageclass.kubernetes.io/is-default-class: "true"
          volumeBindingMode: Immediate
        #   # defaults to Delete
        reclaimPolicy: Retain
        allowVolumeExpansion: true
        parameters:
          type: gp3
      - name: ebs-gp3
        annotations:
          storageclass.kubernetes.io/is-default-class: "true"
        #   # label metadata
        #   labels:
        #     my-label-is: supercool
        #   # defaults to WaitForFirstConsumer
          volumeBindingMode: Immediate
        #   # defaults to Delete
        reclaimPolicy: Retain
        allowVolumeExpansion: true
        parameters:
          encrypted: "true"
          type: gp3

8c9396ec1704facff16b6c093bf2ee64e4a56158

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.