Skip to content

Commit

Permalink
Use k8s 1.29 client libs (#224)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha authored Jan 1, 2024
1 parent 04c5a03 commit 9e1c356
Show file tree
Hide file tree
Showing 619 changed files with 30,084 additions and 8,334 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ BIN := installer
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
CRD_OPTIONS ?= "crd:generateEmbeddedObjectMeta=true,allowDangerousTypes=true"
# https://github.com/appscodelabs/gengo-builder
CODE_GENERATOR_IMAGE ?= ghcr.io/appscode/gengo:release-1.25
CODE_GENERATOR_IMAGE ?= ghcr.io/appscode/gengo:release-1.29
API_GROUPS ?= installer:v1alpha1

# This version-strategy uses git tags to set the version string
Expand Down Expand Up @@ -58,8 +58,8 @@ BIN_PLATFORMS := $(DOCKER_PLATFORMS)
OS := $(if $(GOOS),$(GOOS),$(shell go env GOOS))
ARCH := $(if $(GOARCH),$(GOARCH),$(shell go env GOARCH))

BASEIMAGE_PROD ?= gcr.io/distroless/static-debian11
BASEIMAGE_DBG ?= debian:bullseye
BASEIMAGE_PROD ?= gcr.io/distroless/static-debian12
BASEIMAGE_DBG ?= debian:bookworm

GO_VERSION ?= 1.21
BUILD_IMAGE ?= ghcr.io/appscode/golang-dev:$(GO_VERSION)
Expand Down Expand Up @@ -390,7 +390,7 @@ ct: $(BUILD_DIRS)
ct $(CT_COMMAND) --debug --validate-maintainers=false $(CT_ARGS) \
"

ADDTL_LINTERS := goconst,gofmt,goimports,unparam
ADDTL_LINTERS := gofmt,goimports,unparam

.PHONY: lint
lint: $(BUILD_DIRS)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ metadata:
{{- include "kubevault-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter") $) }}:v0.1.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter")
$) }}:v0.1.1'
stash:
addon:
backupTask:
name: vault-backup-1.10.3
restoreTask:
name: vault-restore-1.10.3
unsealer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer") $) }}:v0.16.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer")
$) }}:v0.16.0'
vault:
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "vault") $) }}:0.11.5'
version: 0.11.5
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ metadata:
{{- include "kubevault-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter") $) }}:v0.1.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter")
$) }}:v0.1.1'
stash:
addon:
backupTask:
name: vault-backup-1.10.3
restoreTask:
name: vault-restore-1.10.3
unsealer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer") $) }}:v0.16.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer")
$) }}:v0.16.0'
vault:
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "vault") $) }}:1.10.3'
version: 1.10.3
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ metadata:
{{- include "kubevault-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter") $) }}:v0.1.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter")
$) }}:v0.1.1'
stash:
addon:
backupTask:
name: vault-backup-1.10.3
restoreTask:
name: vault-restore-1.10.3
unsealer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer") $) }}:v0.16.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer")
$) }}:v0.16.0'
vault:
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "vault") $) }}:1.11.5'
version: 1.11.5
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ metadata:
{{- include "kubevault-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter") $) }}:v0.1.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter")
$) }}:v0.1.1'
stash:
addon:
backupTask:
name: vault-backup-1.10.3
restoreTask:
name: vault-restore-1.10.3
unsealer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer") $) }}:v0.16.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer")
$) }}:v0.16.0'
vault:
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "vault") $) }}:1.12.1'
version: 1.12.1
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ metadata:
{{- include "kubevault-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter") $) }}:v0.1.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter")
$) }}:v0.1.1'
stash:
addon:
backupTask:
name: vault-backup-1.10.3
restoreTask:
name: vault-restore-1.10.3
unsealer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer") $) }}:v0.16.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer")
$) }}:v0.16.0'
vault:
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "vault") $) }}:1.13.3'
version: 1.13.3
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ metadata:
{{- include "kubevault-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter") $) }}:v0.1.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter")
$) }}:v0.1.1'
stash:
addon:
backupTask:
name: vault-backup-1.10.3
restoreTask:
name: vault-restore-1.10.3
unsealer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer") $) }}:v0.16.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer")
$) }}:v0.16.0'
vault:
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "vault") $) }}:1.2.0'
version: 1.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ metadata:
{{- include "kubevault-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter") $) }}:v0.1.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter")
$) }}:v0.1.1'
stash:
addon:
backupTask:
name: vault-backup-1.10.3
restoreTask:
name: vault-restore-1.10.3
unsealer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer") $) }}:v0.16.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer")
$) }}:v0.16.0'
vault:
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "vault") $) }}:1.2.2'
version: 1.2.2
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ metadata:
{{- include "kubevault-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter") $) }}:v0.1.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter")
$) }}:v0.1.1'
stash:
addon:
backupTask:
name: vault-backup-1.10.3
restoreTask:
name: vault-restore-1.10.3
unsealer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer") $) }}:v0.16.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer")
$) }}:v0.16.0'
vault:
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "vault") $) }}:1.2.3'
version: 1.2.3
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ metadata:
{{- include "kubevault-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter") $) }}:v0.1.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter")
$) }}:v0.1.1'
stash:
addon:
backupTask:
name: vault-backup-1.10.3
restoreTask:
name: vault-restore-1.10.3
unsealer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer") $) }}:v0.16.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer")
$) }}:v0.16.0'
vault:
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "vault") $) }}:1.5.9'
version: 1.5.9
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ metadata:
{{- include "kubevault-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter") $) }}:v0.1.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter")
$) }}:v0.1.1'
stash:
addon:
backupTask:
name: vault-backup-1.10.3
restoreTask:
name: vault-restore-1.10.3
unsealer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer") $) }}:v0.16.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer")
$) }}:v0.16.0'
vault:
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "vault") $) }}:1.6.5'
version: 1.6.5
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ metadata:
{{- include "kubevault-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter") $) }}:v0.1.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter")
$) }}:v0.1.1'
stash:
addon:
backupTask:
name: vault-backup-1.10.3
restoreTask:
name: vault-restore-1.10.3
unsealer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer") $) }}:v0.16.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer")
$) }}:v0.16.0'
vault:
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "vault") $) }}:1.7.2'
version: 1.7.2
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ metadata:
{{- include "kubevault-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter") $) }}:v0.1.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter")
$) }}:v0.1.1'
stash:
addon:
backupTask:
name: vault-backup-1.10.3
restoreTask:
name: vault-restore-1.10.3
unsealer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer") $) }}:v0.16.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer")
$) }}:v0.16.0'
vault:
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "vault") $) }}:1.7.3'
version: 1.7.3
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ metadata:
{{- include "kubevault-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter") $) }}:v0.1.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter")
$) }}:v0.1.1'
stash:
addon:
backupTask:
name: vault-backup-1.10.3
restoreTask:
name: vault-restore-1.10.3
unsealer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer") $) }}:v0.16.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer")
$) }}:v0.16.0'
vault:
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "vault") $) }}:1.8.2'
version: 1.8.2
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ metadata:
{{- include "kubevault-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter") $) }}:v0.1.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-exporter")
$) }}:v0.1.1'
stash:
addon:
backupTask:
name: vault-backup-1.10.3
restoreTask:
name: vault-restore-1.10.3
unsealer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer") $) }}:v0.16.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubevault/vault-unsealer")
$) }}:v0.16.0'
vault:
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "vault") $) }}:1.9.2'
version: 1.9.2
Loading

0 comments on commit 9e1c356

Please sign in to comment.