Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Merge #943
Browse files Browse the repository at this point in the history
943: Prepare for the 0.7.0 release r=JamesGuthrie a=JamesGuthrie



Co-authored-by: James Guthrie <[email protected]>
  • Loading branch information
bors[bot] and JamesGuthrie authored Dec 2, 2021
2 parents 5f952d4 + eb00b72 commit 36cfee3
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 32 deletions.
8 changes: 4 additions & 4 deletions build/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ archives:
format: binary
builds:
- prom-migrator
name_template: "{{ .Binary }}_0.0.2_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
name_template: "{{ .Binary }}_0.0.3_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
replacements:
darwin: Darwin
linux: Linux
Expand All @@ -111,7 +111,7 @@ archives:
format: binary
builds:
- jaeger-query-proxy
name_template: "{{ .Binary }}_0.0.1_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
name_template: "{{ .Binary }}_0.0.2_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
replacements:
darwin: Darwin
linux: Linux
Expand Down Expand Up @@ -172,7 +172,7 @@ dockers:
- pkg
- cmd
image_templates:
- "timescale/prom-migrator:0.0.2"
- "timescale/prom-migrator:0.0.3"
- "timescale/prom-migrator:latest"
- ids: []
skip_push: false
Expand All @@ -184,7 +184,7 @@ dockers:
- pkg
- cmd
image_templates:
- "timescale/jaeger-query-proxy:0.0.1"
- "timescale/jaeger-query-proxy:0.0.2"
- "timescale/jaeger-query-proxy:latest"


Expand Down
67 changes: 42 additions & 25 deletions deploy/static/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,36 @@
---
# Source: promscale/templates/service-account.yaml
apiVersion: v1
kind: ServiceAccount
automountServiceAccountToken: false
metadata:
name: promscale
namespace: default
labels:
app: promscale
chart: promscale-0.7.0
release: promscale
heritage: Helm
---
# Source: promscale/templates/secret-connection.yaml
apiVersion: v1
kind: Secret
metadata:
name: promscale
namespace: default
labels:
app: promscale
chart: promscale-0.7.0
release: promscale
heritage: Helm
stringData:
PROMSCALE_DB_PORT: "5432"
PROMSCALE_DB_USER: "postgres"
PROMSCALE_DB_PASSWORD: ""
PROMSCALE_DB_HOST: "timescaledb.default.svc.cluster.local"
PROMSCALE_DB_NAME: "timescale"
PROMSCALE_DB_SSL_MODE: "require"
---
# Source: promscale/templates/svc-promscale.yaml
apiVersion: v1
kind: Service
Expand All @@ -7,17 +39,15 @@ metadata:
namespace: default
labels:
app: promscale
chart: promscale-0.6.0
chart: promscale-0.7.0
release: promscale
heritage: Helm
annotations:
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "4000"
spec:
selector:
app: promscale
type: LoadBalancer
type: ClusterIP
ports:
- name: connector-port
- name: metrics-port
port: 9201
protocol: TCP
---
Expand All @@ -29,7 +59,7 @@ metadata:
namespace: default
labels:
app: promscale
chart: promscale-0.6.0
chart: promscale-0.7.0
release: promscale
heritage: Helm
spec:
Expand All @@ -43,33 +73,20 @@ spec:
metadata:
labels:
app: promscale

annotations:
checksum/config: 88c801c7dcedfa1badfb9c718a5de2a2e4bacb8ba3126b7b43fc40ab0b356fc4
prometheus.io/path: /metrics
prometheus.io/port: "9201"
prometheus.io/scrape: "true"

spec:
containers:
- image: timescale/promscale
imagePullPolicy: IfNotPresent
name: promscale-connector
envFrom:
- secretRef:
name: promscale
ports:
- containerPort: 9201
name: connector-port
env:
- name: PROMSCALE_DB_PORT
value: "5432"
- name: PROMSCALE_DB_USER
value: postgres
- name: PROMSCALE_DB_PASSWORD
valueFrom:
secretKeyRef:
name: promscale-credentials
key: PATRONI_SUPERUSER_PASSWORD
- name: PROMSCALE_DB_HOST
value: promscale.default.svc.cluster.local
- name: PROMSCALE_DB_NAME
value: timescale
- name: PROMSCALE_DB_SSL_MODE
value: require
name: metrics-port
serviceAccountName: promscale
2 changes: 1 addition & 1 deletion helm-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: promscale
version: 0.7.0-beta.1
version: 0.7.0
apiVersion: v2
description: Promscale Connector deployment
4 changes: 2 additions & 2 deletions pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ var (
// It is customary to bump the version by incrementing the numeral after
// the `dev` tag. The SQL migration script name must correspond to the /new/ version.

Promscale = "0.7.0-beta.1.dev.5"
Promscale = "0.7.0"
PrevReleaseVersion = "0.7.0-beta.1"
PromMigrator = "0.0.2"
PromMigrator = "0.0.3"
CommitHash = ""
EarliestUpgradeTestVersion = "0.1.0"
EarliestUpgradeTestVersionMultinode = "0.1.4" //0.1.4 earliest version that supports tsdb 2.0
Expand Down

0 comments on commit 36cfee3

Please sign in to comment.