github.com/sealerio/sealer@v0.11.1-0.20240507115618-f4f89c5853ae/build/kubefile/parser/test/brigade-github-app/values.yaml (about) 1 # Copyright © 2022 Alibaba Group Holding Ltd. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 rbac: 16 enabled: true 17 18 serviceAccount: 19 create: true 20 name: 21 22 ## Image configuration 23 registry: brigadecore 24 name: brigade-github-app 25 ## Image tags in this chart default to the value specified by appVersion in Chart.yaml 26 # tag: latest 27 # pullPolicy: "Always" 28 29 service: 30 name: brigade-github-app 31 type: ClusterIP 32 externalPort: 80 33 internalPort: 7746 34 35 ingress: 36 enabled: true 37 # From Kubernetes 1.18+ this field is supported in case your ingress controller supports it. When set, you do not need to add the ingress class as annotation. 38 ingressClassName: 39 ## Used to create an Ingress record. 40 hosts: 41 - gh-app.example.com 42 annotations: 43 kubernetes.io/ingress.class: nginx 44 kubernetes.io/tls-acme: "true" 45 tls: 46 ## Secrets must be manually created in the namespace. 47 - secretName: gh-app-tls 48 hosts: 49 - gh-app.example.com 50 51 gateway: 52 ## The author associations who are allowed to have PRs built 53 ## Classes are: COLLABORATOR, CONTRIBUTOR, OWNER, NONE, MEMBER, FIRST_TIMER, FIRST_TME_CONTRIBUTOR 54 ## See https://developer.github.com/v4/enum/commentauthorassociation/ 55 ## To completely disable pull request builds, leave this list blank. 56 allowedAuthorRoles: 57 - OWNER 58 - MEMBER 59 - COLLABORATOR 60 ## The opt-in list of events to be emitted 61 ## Brigade creates one or two worker pods for each webhook request so 62 ## ignoring unnecessary events saves your cluster's resource. 63 ## Defaults to "*" that matches any event type and action. 64 ## Remove "*" and set qualified(e.g. `issue_comment:created`) or unqualified(e.g. `issue_comment`) events instead so that Brigade emit creates worker pods for those events only. 65 emittedEvents: 66 - "*" 67 68 github: 69 ## The x509 PEM-formatted keyfile GitHub issued for you App. 70 key: | 71 REQUIRED: Your key goes here. 72 ## This represents the unique ID for a GitHub App 73 ## The value can be retrieved from the main App page or any inbound webhook payloads 74 appID: 75 ## Trigger a Check Suite on Pull Requests 76 ## This will need to be set to true to enable running Check Suites on PRs originating from forks 77 checkSuiteOnPR: true 78 ## Set a defaultSharedSecret if you want to use this one instance of the 79 ## Github gateway with multiple Brigade projects. Leave the shared secret field 80 ## blank in project-level configuration and this default will be used. 81 # defaultSharedSecret: 82 83 ## Add custom annotations to the api pod 84 # podAnnotations: 85 # name: value