Skip to content

Commit a3b281d

Browse files
authored
Prepare for release 3.4.22-v11 (#1062)
ProductLine: Stash Release: v2021.08.02 Release-tracker: stashed/CHANGELOG#39 Signed-off-by: 1gtm <1gtm@appscode.com>
1 parent dc10d71 commit a3b281d

31 files changed

+26166
-53267
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ require (
1919
kmodules.xyz/custom-resources v0.0.0-20210618003440-c6bb400da153
2020
kmodules.xyz/offshoot-api v0.0.0-20210618005544-5217a24765da
2121
kubedb.dev/apimachinery v0.18.1-0.20210618122709-e98fb31f5dfb
22-
stash.appscode.dev/apimachinery v0.14.1
22+
stash.appscode.dev/apimachinery v0.15.0
2323
)
2424

2525
replace bitbucket.org/ww/goautoneg => gomodules.xyz/goautoneg v0.0.0-20120707110453-a547fc61f48d

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,5 +1180,5 @@ software.sslmate.com/src/go-pkcs12 v0.0.0-20180114231543-2291e8f0f237/go.mod h1:
11801180
software.sslmate.com/src/go-pkcs12 v0.0.0-20200830195227-52f69702a001/go.mod h1:/xvNRWUqm0+/ZMiF4EX00vrSCMsE4/NHb+Pt3freEeQ=
11811181
sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU=
11821182
stash.appscode.dev/apimachinery v0.14.1-0.20210618025054-0cae462d7e04/go.mod h1:/Ys7EVp/ved+2xkfhqMbRpaJtI3p/KpCPRLJ6ZgDddA=
1183-
stash.appscode.dev/apimachinery v0.14.1 h1:HU6ediYchu138WckGEN+uXF7l99kd9bAbqBeZFnQLNk=
1184-
stash.appscode.dev/apimachinery v0.14.1/go.mod h1:/Ys7EVp/ved+2xkfhqMbRpaJtI3p/KpCPRLJ6ZgDddA=
1183+
stash.appscode.dev/apimachinery v0.15.0 h1:vpwPKV6LP4ieZ87/2ri3ms4r3ZnE8bES24y8bbLYxqE=
1184+
stash.appscode.dev/apimachinery v0.15.0/go.mod h1:ColOw+Y5IeI3DO5bu1WZWw2AAhinz99K6fKKVLNkd2U=

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ sigs.k8s.io/structured-merge-diff/v4/typed
584584
sigs.k8s.io/structured-merge-diff/v4/value
585585
# sigs.k8s.io/yaml v1.2.0
586586
sigs.k8s.io/yaml
587-
# stash.appscode.dev/apimachinery v0.14.1
587+
# stash.appscode.dev/apimachinery v0.15.0
588588
## explicit
589589
stash.appscode.dev/apimachinery/apis
590590
stash.appscode.dev/apimachinery/apis/repositories

vendor/stash.appscode.dev/apimachinery/apis/stash/v1beta1/backup_session_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ const (
3737
// +kubebuilder:printcolumn:name="Invoker-Type",type="string",JSONPath=".spec.invoker.kind"
3838
// +kubebuilder:printcolumn:name="Invoker-Name",type="string",JSONPath=".spec.invoker.name"
3939
// +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase"
40+
// +kubebuilder:printcolumn:name="Duration",type="string",JSONPath=".status.sessionDuration"
4041
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
4142
type BackupSession struct {
4243
metav1.TypeMeta `json:",inline"`

vendor/stash.appscode.dev/apimachinery/apis/stash/v1beta1/generated.proto

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/stash.appscode.dev/apimachinery/apis/stash/v1beta1/restore_session_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const (
3939
// +kubebuilder:subresource:status
4040
// +kubebuilder:printcolumn:name="Repository",type="string",JSONPath=".spec.repository.name"
4141
// +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase"
42+
// +kubebuilder:printcolumn:name="Duration",type="string",JSONPath=".status.sessionDuration"
4243
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
4344
type RestoreSession struct {
4445
metav1.TypeMeta `json:",inline,omitempty"`

vendor/stash.appscode.dev/apimachinery/crds/lib.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,12 @@ func load(filename string, o interface{}) error {
3939
func CustomResourceDefinition(gvr schema.GroupVersionResource) (*apiextensions.CustomResourceDefinition, error) {
4040
var out apiextensions.CustomResourceDefinition
4141

42-
v1file := fmt.Sprintf("%s_%s.v1.yaml", gvr.Group, gvr.Resource)
42+
v1file := fmt.Sprintf("%s_%s.yaml", gvr.Group, gvr.Resource)
4343
if err := load(v1file, &out.V1); err != nil {
4444
return nil, err
4545
}
4646

47-
v1beta1file := fmt.Sprintf("%s_%s.yaml", gvr.Group, gvr.Resource)
48-
if err := load(v1beta1file, &out.V1beta1); err != nil {
49-
return nil, err
50-
}
51-
52-
if out.V1 == nil && out.V1beta1 == nil {
47+
if out.V1 == nil {
5348
return nil, fmt.Errorf("missing crd yamls for gvr: %s", gvr)
5449
}
5550

vendor/stash.appscode.dev/apimachinery/crds/repositories.stash.appscode.com_snapshots.v1.yaml

Lines changed: 0 additions & 76 deletions
This file was deleted.
Lines changed: 58 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,76 @@
1-
apiVersion: apiextensions.k8s.io/v1beta1
1+
apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
creationTimestamp: null
55
labels:
66
app.kubernetes.io/name: stash
77
name: snapshots.repositories.stash.appscode.com
88
spec:
9-
additionalPrinterColumns:
10-
- JSONPath: .status.repository
11-
name: Repository
12-
type: string
13-
- JSONPath: .status.hostname
14-
name: Hostname
15-
type: string
169
group: repositories.stash.appscode.com
1710
names:
1811
kind: Snapshot
1912
listKind: SnapshotList
2013
plural: snapshots
2114
singular: snapshot
22-
preserveUnknownFields: false
2315
scope: Namespaced
24-
subresources: {}
25-
validation:
26-
openAPIV3Schema:
27-
properties:
28-
apiVersion:
29-
description: 'APIVersion defines the versioned schema of this representation
30-
of an object. Servers should convert recognized schemas to the latest
31-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
32-
type: string
33-
kind:
34-
description: 'Kind is a string value representing the REST resource this
35-
object represents. Servers may infer this from the endpoint the client
36-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
37-
type: string
38-
metadata:
39-
type: object
40-
status:
41-
properties:
42-
gid:
43-
format: int32
44-
type: integer
45-
hostname:
46-
type: string
47-
paths:
48-
items:
16+
versions:
17+
- additionalPrinterColumns:
18+
- jsonPath: .status.repository
19+
name: Repository
20+
type: string
21+
- jsonPath: .status.hostname
22+
name: Hostname
23+
type: string
24+
name: v1alpha1
25+
schema:
26+
openAPIV3Schema:
27+
properties:
28+
apiVersion:
29+
description: 'APIVersion defines the versioned schema of this representation
30+
of an object. Servers should convert recognized schemas to the latest
31+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
32+
type: string
33+
kind:
34+
description: 'Kind is a string value representing the REST resource this
35+
object represents. Servers may infer this from the endpoint the client
36+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
37+
type: string
38+
metadata:
39+
type: object
40+
status:
41+
properties:
42+
gid:
43+
format: int32
44+
type: integer
45+
hostname:
4946
type: string
50-
type: array
51-
repository:
52-
type: string
53-
tags:
54-
items:
47+
paths:
48+
items:
49+
type: string
50+
type: array
51+
repository:
5552
type: string
56-
type: array
57-
tree:
58-
type: string
59-
uid:
60-
format: int32
61-
type: integer
62-
username:
63-
type: string
64-
required:
65-
- gid
66-
- hostname
67-
- paths
68-
- repository
69-
- tree
70-
- uid
71-
- username
72-
type: object
73-
type: object
74-
version: v1alpha1
75-
versions:
76-
- name: v1alpha1
53+
tags:
54+
items:
55+
type: string
56+
type: array
57+
tree:
58+
type: string
59+
uid:
60+
format: int32
61+
type: integer
62+
username:
63+
type: string
64+
required:
65+
- gid
66+
- hostname
67+
- paths
68+
- repository
69+
- tree
70+
- uid
71+
- username
72+
type: object
73+
type: object
7774
served: true
7875
storage: true
76+
subresources: {}

0 commit comments

Comments
 (0)