Skip to content

Commit f197c19

Browse files
veggiemonkjlarfors
authored andcommitted
comply prometheus operator API
1 parent 992efb9 commit f197c19

File tree

6 files changed

+28
-32
lines changed

6 files changed

+28
-32
lines changed

.goreleaser.yml

+7-12
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ gomod:
1717
- GOPROXY=https://proxy.golang.org,direct
1818

1919
builds:
20-
2120
#
2221
# EXPLODE
2322
#
@@ -33,7 +32,7 @@ builds:
3332
- amd64
3433
- arm64
3534
# ensures mod timestamp to be the commit timestamp
36-
mod_timestamp: '{{ .CommitTimestamp }}'
35+
mod_timestamp: "{{ .CommitTimestamp }}"
3736
env:
3837
- CGO_ENABLED=0
3938
- GO111MODULE=on
@@ -132,7 +131,7 @@ archives:
132131
- terragen-macos
133132

134133
checksum:
135-
name_template: 'checksums.txt'
134+
name_template: "checksums.txt"
136135

137136
sboms:
138137
- artifacts: archive
@@ -146,19 +145,14 @@ changelog:
146145
sort: asc
147146
filters:
148147
exclude:
149-
- '^[Dd]ocs:'
150-
- '^[Tt]est:'
151-
- '^testdata:'
148+
- "^[Dd]ocs:"
149+
- "^[Tt]est:"
150+
- "^testdata:"
152151

153152
brews:
154153
- name: lingon
155154
ids:
156155
- needed-for-homebrew
157-
tap:
158-
owner: golingon
159-
name: homebrew-tap
160-
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
161-
folder: Formula
162156
homepage: "https://github.com/golingon/lingon"
163157
description: |
164158
Lingon binaries:
@@ -173,4 +167,5 @@ brews:
173167
# The lines beneath this are called `modelines`. See `:help modeline`
174168
# Feel free to remove those if you don't want/use them.
175169
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
176-
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
170+
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
171+

doc.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
//
2121
// - [kube.App] struct that is embedded to mark kubernetes applications
2222
//
23-
// - [kube.Export] converts kubernetes objects defined as Go struct to
24-
// kubernetes manifests in YAML. - [kube.Explode] kubernetes manifests in YAML
25-
// to multiple files, organized by namespace.
23+
// - [kube.Export] converts kubernetes objects defined as Go struct to
24+
// kubernetes manifests in YAML. - [kube.Explode] kubernetes manifests in YAML
25+
// to multiple files, organized by namespace.
26+
//
2627
// - [kube.Import] converts kubernetes manifests in YAML to Go structs.
2728
//
2829
// # Kubeconfig

docs/platypus2/cmd/platypus/cli.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ func run(p runParams) error {
176176
return finishAndDestroy(ctx, p, tf)
177177
}
178178

179-
vpcState := vpc.AWSVPC.VPC.StateMust()
179+
vpcState := vpc.VPC.StateMust()
180180
privateSubnetIDs := [3]string{}
181-
for i, subnet := range vpc.AWSVPC.PrivateSubnets {
181+
for i, subnet := range vpc.PrivateSubnets {
182182
privateSubnetIDs[i] = subnet.StateMust().Id
183183
}
184184

docs/platypus2/monitoring/metricsserver/app.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/platypus2/monitoring/promstack/prometheus.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/platypus2/monitoring/promstack/service-monitor.go

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)