Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Add ignite/v1alpha3 API #624

Merged
merged 2 commits into from
Jun 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ IMAGE_TAG:=$(shell IGNITE_GIT_VERSION=$(GIT_VERSION) DOCKER_USER=$(DOCKER_USER)
IS_DIRTY:=$(shell echo ${GIT_VERSION} | grep -c dirty)
PROJECT = github.com/weaveworks/ignite
APIS_DIR = ${PROJECT}/pkg/apis
API_DIRS = ${APIS_DIR}/ignite,${APIS_DIR}/ignite/v1alpha2,${APIS_DIR}/meta/v1alpha1
API_DIRS = ${APIS_DIR}/ignite,${APIS_DIR}/ignite/v1alpha2,${APIS_DIR}/ignite/v1alpha3,${APIS_DIR}/meta/v1alpha1
CACHE_DIR = $(shell pwd)/bin/cache
# Specifies if this is a CI build or not; if it is, it will save the docker image created to bin/$(GOARCH)/image.tar
IS_CI_BUILD ?= 0
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/cmd/vmcmd/ps.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewCmdPs(out io.Writer) *cobra.Command {
also list VMs that are not currently running.
Using the -f (--filter) flag, you can give conditions VMs should fullfilled to be displayed.
You can filter on all the underlying fields of the VM struct, see the documentation:
https://ignite.readthedocs.io/en/stable/api/ignite_v1alpha2#VM.
https://ignite.readthedocs.io/en/stable/api/ignite_v1alpha3#VM.

Different operators can be used:
- "=" and "==" for the equal
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/run/testdata/input/create-config-no-name.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: ignite.weave.works/v1alpha2
apiVersion: ignite.weave.works/v1alpha3
kind: VM
spec:
image:
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/run/testdata/input/rm-no-name-uid.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: ignite.weave.works/v1alpha2
apiVersion: ignite.weave.works/v1alpha3
kind: VM
metadata:
name: ""
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/run/testdata/input/rm-vm1.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: ignite.weave.works/v1alpha2
apiVersion: ignite.weave.works/v1alpha3
kind: VM
metadata:
name: myvm2
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/run/testdata/output/inspect-json.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"kind": "VM",
"apiVersion": "ignite.weave.works/v1alpha2",
"apiVersion": "ignite.weave.works/v1alpha3",
"metadata": {
"name": "someVM",
"uid": "1699b6ba255cde7f",
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/run/testdata/output/inspect-yaml.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: ignite.weave.works/v1alpha2
apiVersion: ignite.weave.works/v1alpha3
kind: VM
metadata:
created: "2000-01-01T01:00:00Z"
Expand Down
Loading