github.com/aquasecurity/trivy-iac@v0.8.1-0.20240127024015-3d8e412cf0ab/pkg/scanners/helm/test/testdata/testchart/values.yaml (about)

     1  # Default values for testchart.
     2  # This is a YAML-formatted file.
     3  # Declare variables to be passed into your templates.
     4  
     5  replicaCount: 1
     6  
     7  image:
     8    repository: nginx
     9    pullPolicy: IfNotPresent
    10    # Overrides the image tag whose default is the chart appVersion.
    11    tag: ""
    12  
    13  imagePullSecrets: []
    14  nameOverride: ""
    15  fullnameOverride: ""
    16  
    17  serviceAccount:
    18    # Specifies whether a service account should be created
    19    create: true
    20    # Annotations to add to the service account
    21    annotations: {}
    22    # The name of the service account to use.
    23    # If not set and create is true, a name is generated using the fullname template
    24    name: ""
    25  
    26  podAnnotations: {}
    27  
    28  podSecurityContext:
    29    {}
    30    # fsGroup: 2000
    31  
    32  securityContext:
    33    {}
    34    # capabilities:
    35    #   drop:
    36    #   - ALL
    37    # readOnlyRootFilesystem: true
    38    # runAsNonRoot: true
    39    # runAsUser: 1000
    40  
    41  service:
    42    type: ClusterIP
    43    port: 80
    44  
    45  ingress:
    46    enabled: false
    47    className: ""
    48    annotations:
    49      {}
    50      # kubernetes.io/ingress.class: nginx
    51      # kubernetes.io/tls-acme: "true"
    52    hosts:
    53      - host: chart-example.local
    54        paths:
    55          - path: /
    56            pathType: ImplementationSpecific
    57    tls: []
    58    #  - secretName: chart-example-tls
    59    #    hosts:
    60    #      - chart-example.local
    61  
    62  resources:
    63    {}
    64    # We usually recommend not to specify default resources and to leave this as a conscious
    65    # choice for the user. This also increases chances charts run on environments with little
    66    # resources, such as Minikube. If you do want to specify resources, uncomment the following
    67    # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
    68    # limits:
    69    #   cpu: 100m
    70    #   memory: 128Mi
    71    # requests:
    72    #   cpu: 100m
    73    #   memory: 128Mi
    74  
    75  autoscaling:
    76    enabled: false
    77    minReplicas: 1
    78    maxReplicas: 100
    79    targetCPUUtilizationPercentage: 80
    80    # targetMemoryUtilizationPercentage: 80
    81  
    82  nodeSelector: {}
    83  
    84  tolerations: []
    85  
    86  affinity: {}