|
1 | | -# Default values for github-deploy-key-operator |
| 1 | +# Default values for github-deploy-key-operator. |
| 2 | + |
2 | 3 | replicaCount: 1 |
3 | 4 |
|
4 | 5 | image: |
5 | | - repository: ghcr.io/gurghet/github-deploy-key-operator |
| 6 | + repository: ghcr.io/gurghet/github-deploy-key-operator/operator |
| 7 | + tag: latest # We recommend using a specific version |
6 | 8 | pullPolicy: Always |
7 | | - tag: "latest" |
8 | 9 |
|
9 | 10 | nameOverride: "" |
10 | 11 | fullnameOverride: "" |
11 | 12 |
|
12 | | -# GitHub token configuration |
| 13 | +# GitHub configuration |
13 | 14 | github: |
14 | | - # -- Name of the secret containing the GitHub token |
| 15 | + # -- GitHub token (not recommended, use existingSecret instead) |
| 16 | + token: "" |
| 17 | + |
| 18 | + # -- Name of existing secret containing the GitHub token |
15 | 19 | existingSecret: "" |
16 | | - # -- Key in the secret that contains the GitHub token |
| 20 | + |
| 21 | + # -- Key in the existing secret that contains the GitHub token |
17 | 22 | existingSecretKey: "GITHUB_TOKEN" |
18 | | - # -- Create a new secret with this token (if existingSecret is not set) |
19 | | - token: "" |
20 | | - |
21 | | -serviceAccount: |
22 | | - # -- Specifies whether a service account should be created |
23 | | - create: true |
24 | | - # -- The name of the service account to use. |
25 | | - # If not set and create is true, a name is generated using the fullname template |
26 | | - name: "" |
27 | | - # -- Annotations to add to the service account |
28 | | - annotations: {} |
29 | 23 |
|
30 | | -# Pod security context |
| 24 | +# Security context configuration |
31 | 25 | podSecurityContext: |
32 | 26 | runAsNonRoot: true |
| 27 | + runAsUser: 1000 |
| 28 | + fsGroup: 2000 |
33 | 29 | seccompProfile: |
34 | 30 | type: RuntimeDefault |
35 | 31 |
|
36 | | -# Container security context |
37 | 32 | securityContext: |
38 | 33 | allowPrivilegeEscalation: false |
| 34 | + readOnlyRootFilesystem: true |
| 35 | + runAsNonRoot: true |
39 | 36 | capabilities: |
40 | | - drop: ["ALL"] |
| 37 | + drop: |
| 38 | + - ALL |
| 39 | + |
| 40 | +# Service account configuration |
| 41 | +serviceAccount: |
| 42 | + # -- Create a service account |
| 43 | + create: true |
| 44 | + # -- Service account name (if not creating one) |
| 45 | + name: "" |
| 46 | + # -- Annotations to add to the service account |
| 47 | + annotations: {} |
41 | 48 |
|
42 | | -resources: {} |
43 | | - # limits: |
44 | | - # cpu: 100m |
45 | | - # memory: 128Mi |
46 | | - # requests: |
47 | | - # cpu: 100m |
48 | | - # memory: 128Mi |
| 49 | +# Resource limits |
| 50 | +resources: |
| 51 | + requests: |
| 52 | + cpu: 100m |
| 53 | + memory: 128Mi |
| 54 | + limits: |
| 55 | + cpu: 500m |
| 56 | + memory: 256Mi |
49 | 57 |
|
| 58 | +# Node selector |
50 | 59 | nodeSelector: {} |
51 | 60 |
|
| 61 | +# Tolerations |
52 | 62 | tolerations: [] |
53 | 63 |
|
| 64 | +# Affinity |
54 | 65 | affinity: {} |
0 commit comments