mirror of
https://github.com/morten-olsen/homelab-operator.git
synced 2026-02-08 01:36:28 +01:00
rewrite2
This commit is contained in:
28
skaffold.yaml
Normal file
28
skaffold.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
apiVersion: skaffold/v4beta7
|
||||
kind: Config
|
||||
metadata:
|
||||
name: my-utility-service
|
||||
|
||||
build:
|
||||
# This tells Skaffold to build the image locally using your Docker daemon.
|
||||
local:
|
||||
push: false
|
||||
# This is the crucial part for your workflow. Instead of pushing to a
|
||||
# registry, it loads the built image directly into your cluster's nodes.
|
||||
# load: true
|
||||
artifacts:
|
||||
# Defines the image to build. It matches the placeholder in deployment.yaml.
|
||||
- image: homelab-operator
|
||||
context: . # The build context is the root directory
|
||||
docker:
|
||||
dockerfile: Dockerfile
|
||||
|
||||
manifests:
|
||||
helm:
|
||||
releases:
|
||||
- name: homelab-operator
|
||||
chartPath: charts/operator
|
||||
|
||||
deploy:
|
||||
# Use kubectl to apply the manifests.
|
||||
kubectl: {}
|
||||
Reference in New Issue
Block a user