mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 02:26:19 +00:00
set image name for k8
This commit is contained in:
@@ -30,6 +30,9 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
|
|
||||||
|
- name: Generate YAML for Kubectl
|
||||||
|
run: make dist charts
|
||||||
|
|
||||||
- name: Upload CRD manifest
|
- name: Upload CRD manifest
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
# Image URL to use all building/pushing image targets
|
# Image URL to use all building/pushing image targets
|
||||||
IMG ?= controller:latest
|
IMG ?= infisical/kubernetes-operator:latest
|
||||||
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
|
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
|
||||||
ENVTEST_K8S_VERSION = 1.25.0
|
ENVTEST_K8S_VERSION = 1.25.0
|
||||||
|
|
||||||
@@ -41,6 +41,12 @@ help: ## Display this help.
|
|||||||
helm-chart:
|
helm-chart:
|
||||||
$(KUSTOMIZE) build config/default | helmify ../helm-charts/secrets-operator
|
$(KUSTOMIZE) build config/default | helmify ../helm-charts/secrets-operator
|
||||||
|
|
||||||
|
## Yaml for Kubectl
|
||||||
|
dist: manifests kustomize
|
||||||
|
mkdir -p dist
|
||||||
|
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
|
||||||
|
$(KUSTOMIZE) build config/default > dist/install-secrets-operator.yaml
|
||||||
|
|
||||||
##@ Development
|
##@ Development
|
||||||
|
|
||||||
.PHONY: manifests
|
.PHONY: manifests
|
||||||
|
|||||||
@@ -1,2 +1,8 @@
|
|||||||
resources:
|
resources:
|
||||||
- manager.yaml
|
- manager.yaml
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
images:
|
||||||
|
- name: controller
|
||||||
|
newName: infisical/kubernetes-operator
|
||||||
|
newTag: latest
|
||||||
|
|||||||
Reference in New Issue
Block a user