Skip to content

Commit

Permalink
Revert "fix(charts/prow): insert the default env (#359)" (#361)
Browse files Browse the repository at this point in the history
This reverts commit aac685f.
  • Loading branch information
wuhuizuo authored Dec 20, 2022
1 parent 5c81ef4 commit 7c880b8
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 15 deletions.
28 changes: 15 additions & 13 deletions apps/staging/prow/release/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
chart:
spec:
chart: prow
version: 0.6.2
version: 0.6.4
sourceRef:
kind: HelmRepository
name: ee-ops
Expand Down Expand Up @@ -87,18 +87,20 @@ spec:
- name: external-plugins-config
mountPath: /etc/external_plugins_config
readOnly: true
persistent:
type: s3
bucketName: ${BUCKET_NAME}
credentials: |
{
"region": "${BUCKET_REGION:=ceph}",
"endpoint": "${BUCKET_HOST}:${BUCKET_PORT}",
"insecure": true,
"s3_force_path_style": true,
"access_key": "${AWS_ACCESS_KEY_ID}",
"secret_key": "${AWS_SECRET_ACCESS_KEY}"
}
service:
type: Cluster
persistent:
type: s3
bucketName: ${BUCKET_NAME}
credentials: |
{
"region": "${BUCKET_REGION:=ceph}",
"endpoint": "${BUCKET_HOST}:${BUCKET_PORT}",
"insecure": true,
"s3_force_path_style": true,
"access_key": "${AWS_ACCESS_KEY_ID}",
"secret_key": "${AWS_SECRET_ACCESS_KEY}"
}
postRenderers:
- kustomize:
patchesJson6902:
Expand Down
2 changes: 1 addition & 1 deletion charts/prow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type: application
# time you make changes to the chart and its templates,
# including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: "0.6.2"
version: "0.6.4"

# This is the version number of the application being deployed.
# This version number should be incremented each time you make changes to the
Expand Down
2 changes: 1 addition & 1 deletion charts/prow/templates/third-plugins/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
spec:
type: {{ default "ClusterIP" $val.service.type }}
ports:
- port: {{ $val.service.port }}
- port: {{ default 80 $val.service.port }}
targetPort: http
protocol: TCP
name: http
Expand Down
4 changes: 4 additions & 0 deletions charts/prow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,10 @@ thirdPlugins: {}
# ports:
# http: 80
# resources: {}
# service: true # or
# service:
# type: ClusterIP
# port: 80
# ti-community-autoresponder: {}
# ti-community-blunderbuss:
# ti-community-cherrypicker:
Expand Down

0 comments on commit 7c880b8

Please sign in to comment.