Skip to content

Commit b0b3824

Browse files
committed
add cluster info
1 parent 812f6d1 commit b0b3824

1 file changed

Lines changed: 39 additions & 16 deletions

File tree

values-hypershift.yaml

Lines changed: 39 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,19 @@ global:
55
createBucket: true
66
oidc:
77
# OIDC bucket information: provide region and bucketName
8-
region: "s3-bucket-region"
9-
bucketName: "s3-bucket-name"
8+
region: "us-east-2"
9+
bucketName: "vphcp-state"
1010

1111
# GitHub organization(s) — shared by oauth and group-sync
1212
github:
1313
orgs:
14-
- name: 'gh-org-name'
14+
- name: validatedpatterns
1515
# Teams: Group Sync uses them for OpenShift groups. OAuth uses org/team slugs
1616
# for login when this list is non-empty; otherwise OAuth allows the whole org.
17-
teams: []
17+
teams:
18+
- Engineering
19+
- qe
20+
- Docs
1821

1922
# register a GitHub oAuth application: https://github.com/settings/applications/new
2023
# configure oauth provider: https://docs.openshift.com/container-platform/4.15/authentication/understanding-identity-provider.html
@@ -24,7 +27,7 @@ global:
2427
type: GitHub
2528
secretName: ocp-github-oauth
2629
github:
27-
clientID: 'gh-oauth-client-id'
30+
clientID: 'Ov23liX8pobrzJV3I5S0'
2831

2932
# Group Sync Operator — syncs GitHub teams to OpenShift groups.
3033
# Vault secret githubGroupSync: `appId` = GitHub App ID (settings/apps → About), not installation ID;
@@ -35,8 +38,7 @@ global:
3538
credentialsSecretName: github-group-sync
3639
url: https://api.github.com/
3740

38-
# KubeletConfig (charts/all/kubelet-config).
39-
# If cluster is compact 3-node hub: all nodes are on the master
41+
# KubeletConfig (charts/all/kubelet-config). Compact 3-node hub: all nodes are on the master
4042
# MachineConfigPool; the worker pool is empty, so targetPool must be master.
4143
kubelet:
4244
targetPool: worker
@@ -46,7 +48,7 @@ kubelet:
4648
autoscaling:
4749
clusterAutoscaler:
4850
# Set to true to enable cluster autoscaling
49-
enabled: false
51+
enabled: true
5052
# Balance nodes across similar MachineSets (e.g., across availability zones)
5153
balanceSimilarNodeGroups: true
5254
# Allow scale-down of nodes running pods with emptyDir volumes
@@ -69,17 +71,38 @@ autoscaling:
6971

7072
# Define MachineAutoscalers for each MachineSet to autoscale
7173
# Uncomment and configure based on your cluster's MachineSets
72-
machineAutoscalers: []
73-
# Example:
74-
# - name: worker-autoscaler-1a
75-
# enabled: true
76-
# machineSetName: <cluster-name>-worker-<zone>
77-
# minReplicas: 0
78-
# maxReplicas: 6
74+
machineAutoscalers:
75+
- name: worker-autoscaler-2a
76+
enabled: true
77+
machineSetName: hcp-mktvr-worker-us-west-2a
78+
minReplicas: 0
79+
maxReplicas: 6
80+
- name: worker-autoscaler-2c
81+
enabled: true
82+
machineSetName: hcp-mktvr-worker-us-west-2c
83+
minReplicas: 0
84+
maxReplicas: 6
85+
- name: worker-autoscaler-2d
86+
enabled: true
87+
machineSetName: hcp-mktvr-worker-us-west-2d
88+
minReplicas: 0
89+
maxReplicas: 6
7990

8091
# Set rbac.create to false if you want to skip creation of role/rolebinding.
8192
rbac:
8293
create: true
8394
# Provide a list of users and/or groups to add to the clusterrolebinding
8495
users: []
85-
groups: []
96+
groups:
97+
- Engineering
98+
- qe
99+
- Docs
100+
101+
letsencrypt:
102+
# region can be the empty string unless AccessKeyID and SecretAccessKeyID are not set (which we ensure is never true)
103+
# Otherwise, set to the region of the cluster, eg. us-east-1
104+
region: us-east-2
105+
server: https://acme-v02.api.letsencrypt.org/directory
106+
# staging URL
107+
# server: https://acme-staging-v02.api.letsencrypt.org/directory
108+
email: team-vp@ragtagrobot.com

0 commit comments

Comments
 (0)