Skip to content

Commit

Permalink
Merge pull request #54 from ZenHubHQ/enterprise-staging-4.2.1
Browse files Browse the repository at this point in the history
4.2.1 release
  • Loading branch information
cwarje authored Jun 28, 2024
2 parents 1099ee3 + 9f0b758 commit 8a809a7
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 18 deletions.
4 changes: 2 additions & 2 deletions k8s-cluster/base/devsite/apps_v1_deployment_devsite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
app.kubernetes.io/version: 4.2.0
app.kubernetes.io/version: 4.2.1
generation: 1
labels:
app.kubernetes.io/component: devsite
Expand All @@ -21,7 +21,7 @@ spec:
template:
metadata:
annotations:
app.kubernetes.io/version: 4.2.0
app.kubernetes.io/version: 4.2.1
creationTimestamp: null
labels:
app.kubernetes.io/component: devsite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
value: verify-full
- name: SERVER_TLS_CA_FILE
value: /var/ca-bundle/postgres/postgres-ca.pem
image: us.gcr.io/zenhub-public/pgbouncer:zhe-4.2.0
image: us.gcr.io/zenhub-public/pgbouncer:zhe-4.2.1
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
16 changes: 8 additions & 8 deletions k8s-cluster/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,32 +32,32 @@ commonLabels:
app.kubernetes.io/managed-by: kustomize

commonAnnotations:
app.kubernetes.io/version: 4.2.0
app.kubernetes.io/version: 4.2.1

# [EDIT] If your cluster does not have access to our public Docker registry,
# update the `newName` values with paths to your own private Docker registry.
images:
- name: kraken-webapp
newName: us.gcr.io/zenhub-public/kraken-webapp
newTag: zhe-4.2.0
newTag: zhe-4.2.1
- name: kraken-extension
newName: us.gcr.io/zenhub-public/kraken-extension
newTag: zhe-4.2.0
newTag: zhe-4.2.1
- name: kraken-zhe-admin
newName: us.gcr.io/zenhub-public/kraken-zhe-admin
newTag: zhe-4.2.0
newTag: zhe-4.2.1
- name: raptor-backend
newName: us.gcr.io/zenhub-public/raptor-backend
newTag: zhe-4.2.0
newTag: zhe-4.2.1
- name: toad-backend
newName: us.gcr.io/zenhub-public/toad-backend
newTag: zhe-4.2.0
newTag: zhe-4.2.1
- name: sanitycheck
newName: us.gcr.io/zenhub-public/sanitycheck
newTag: zhe-4.2.0
newTag: zhe-4.2.1
- name: devsite
newName: us.gcr.io/zenhub-public/devsite
newTag: zhe-4.2.0
newTag: zhe-4.2.1
- name: busybox
newName: docker.io/library/busybox
newTag: latest
Expand Down
2 changes: 1 addition & 1 deletion k8s-cluster/update/batch_v1_job_data_migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ spec:
secretKeyRef:
key: clickhouse_url
name: raptor
image: us.gcr.io/zenhub-public/raptor-backend:zhe-4.2.0
image: us.gcr.io/zenhub-public/raptor-backend:zhe-4.2.1
imagePullPolicy: Always
name: data-migration
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ spec:
secretKeyRef:
key: clickhouse_url
name: raptor
image: us.gcr.io/zenhub-public/raptor-backend:zhe-4.2.0
image: us.gcr.io/zenhub-public/raptor-backend:zhe-4.2.1
imagePullPolicy: Always
name: data-migration
resources:
Expand Down
14 changes: 9 additions & 5 deletions virtual-machine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,28 +430,32 @@ If you need to know how to update existing certificates without downtime, see se

#### 3.4.1 Zenhub Application TLS

Generate a certificate for your main application domain, like `https://<subdomain_suffix>.<domain_tld>`
Generate a passwordless certificate for your main application domain, like `https://<subdomain_suffix>.<domain_tld>`

Copy the certificate and key pair to the following path:

`${ZENHUB_HOME}/configuration/ssl/tls.key` - certificate private key

`${ZENHUB_HOME}/configuration/ssl/tls.crt` - certificate

> ⚠️ **NOTE:** The application comes with self-signed certificates set up by default. If you want to provide your own certificates, you can safely replace the self-signed certificates with your own.
> ⚠️ **NOTE:** The certificate and key must be named `tls.crt` and `tls.key` as in the example above.
> ⚠️ **NOTE:** Zenhub will automatically generate a new self-signed certificate if `ssl_self_signed` is set to `true` in the configuration file. Set `ssl_self_signed` to `false` if you want to provide your own self-signed certificates.
> ⚠️ **NOTE:** Zenhub will automatically generate a new self-signed certificate if `ssl_self_signed` is set to `true` in the configuration file. Set `ssl_self_signed` to `false` or leave it unset if you want to provide your own self-signed certificates.
#### 3.4.2 Developer Site TLS

Generate a certificate for your developer site domain, like `https://developers-<subdomain_suffix>.<domain_tld>`
Generate a passwordless certificate for your developer site domain, like `https://developers-<subdomain_suffix>.<domain_tld>`

Copy the certificate and key pair to the following path:

`${ZENHUB_HOME}/configuration/ssl/developer-site/tls.key` - certificate private key

`${ZENHUB_HOME}/configuration/ssl/developer-site/tls.crt` - certificate

> ⚠️ **NOTE:** The application comes with self-signed certificates set up by default. If you want to provide your own certificates, you can safely replace the self-signed certificates with your own.
> ⚠️ **NOTE:** The certificate and key must be named `tls.crt` and `tls.key` as in the example above.
## 4. Application Deployment
Expand Down Expand Up @@ -498,7 +502,7 @@ To successfully upgrade, ensure you have sufficient disk space available on your

### 5.2 Preparing to Upgrade

⚠️ **NOTE:** Starting in version 4.2.0, you can now upgrade from two minor versions behind the latest release. For example, if the latest release is 4.2.0, you can upgrade from 4.0.X or 4.1.X.
⚠️ **NOTE:** Starting in version 4.2, you can now upgrade from two minor versions behind the latest release. For example, if the latest release is 4.2.8, you can upgrade from 4.0.X or 4.1.X.

1. Before upgrading, you should always check the release notes for the version you are upgrading to. You can find the release notes for each version in the [releases](https://github.com/ZenHubHQ/zenhub-enterprise/releases) section of this repository. You must ensure you are upgrading to a version that is compatible with your GitHub Enterprise Server version. The release notes list the GitHub Enterprise Server versions that are compatible with each Zenhub Enterprise release.

Expand Down Expand Up @@ -1057,7 +1061,7 @@ If you wish to remove your log aggregator setup and revert to our default out-of

1. Undo the changes made in section 6.1.3
- Set fluentdconf to be `fluentd.conf`
- Run `kustomize edit set image fluentd=us.gcr.io/zenhub-public/fluentd:zhe-4.2.0`
- Run `kustomize edit set image fluentd=us.gcr.io/zenhub-public/fluentd:zhe-4.2.1`
2. Perform the steps in section 6.1.4

## 9. Developer Site
Expand Down

0 comments on commit 8a809a7

Please sign in to comment.