github.com/codefresh-io/kcfi@v0.0.0-20230301195427-c1578715cc46/stage/k8s-agent/config.yaml (about)

     1  metadata:
     2    kind: k8s-agent
     3    installer:
     4      type: helm
     5      helm:
     6        chart: k8s-agent
     7  # replicaCount number of pods to be schedualed
     8  replicaCount: 1
     9  
    10  ## imagePullPolicy 'Always' if imageTag is 'latest', else set to 'IfNotPresent' ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
    11  imagePullPolicy: Always
    12  
    13  # redeploy whenever to force redeploy
    14  redeploy: false
    15  
    16  # imageTag set the tag of the image
    17  imageTag: stable
    18  
    19  # image name, takes from variable
    20  image:  "codefresh/agent"
    21  
    22  # env set of evnrionment varialbe to be add to the containers
    23  #env:
    24  
    25  # clusterUrl - optional. for setup outside cluster when current context is used
    26  # clusterToken - optional. for setup outside cluster when current context is used
    27  # clusterCA - optional. for setup outside cluster when current context is used
    28  # apiToken - should be set when the chart is installing
    29  # clusterId - cluster name as it registered in account
    30  # useCurrentContext - use current context instead of cluster credentials. False by default.
    31  apiUrl: https://g.codefresh.io/api/k8s-monitor/events
    32  clusterId: clusterName
    33  clusterUrl: ""
    34  clean: false
    35  
    36  # port container port
    37  port: 9020
    38  
    39  # servicePort port of the kubernetes service listen to
    40  servicePort: 80
    41  
    42  accountId: user
    43  apiToken: ""
    44  
    45  rbacEnabled: true
    46  
    47  newRelicLicenseKey: ""
    48  
    49  heapSize: 4096
    50  
    51  namespaceInterval: 60000
    52  podInterval: 120000
    53  deploymentInterval: 120000
    54  releaseInterval: 600000
    55  serviceInterval: 120000
    56  secretInterval: 120000
    57  
    58  disableHelm: false
    59  
    60  helm3: false
    61  useConfig: false
    62  useNamespaceWideRole: false
    63  existingServiceAccount: ""