Skip to content

Commit

Permalink
Prepare for release 13.1-v7 (#842)
Browse files Browse the repository at this point in the history
ProductLine: Stash

Release: v2021.08.02

Release-tracker: stashed/CHANGELOG#39
Signed-off-by: 1gtm <1gtm@appscode.com>
  • Loading branch information
1gtm committed Jul 31, 2021
1 parent 2c2642d commit 949be08
Show file tree
Hide file tree
Showing 31 changed files with 26,166 additions and 53,267 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
kmodules.xyz/client-go v0.0.0-20210719120358-dd0503cf99cf
kmodules.xyz/custom-resources v0.0.0-20210618003440-c6bb400da153
kmodules.xyz/offshoot-api v0.0.0-20210618005544-5217a24765da
stash.appscode.dev/apimachinery v0.14.1
stash.appscode.dev/apimachinery v0.15.0
)

replace bitbucket.org/ww/goautoneg => gomodules.xyz/goautoneg v0.0.0-20120707110453-a547fc61f48d
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1057,5 +1057,5 @@ sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q=
sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc=
sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU=
stash.appscode.dev/apimachinery v0.14.1 h1:HU6ediYchu138WckGEN+uXF7l99kd9bAbqBeZFnQLNk=
stash.appscode.dev/apimachinery v0.14.1/go.mod h1:/Ys7EVp/ved+2xkfhqMbRpaJtI3p/KpCPRLJ6ZgDddA=
stash.appscode.dev/apimachinery v0.15.0 h1:vpwPKV6LP4ieZ87/2ri3ms4r3ZnE8bES24y8bbLYxqE=
stash.appscode.dev/apimachinery v0.15.0/go.mod h1:ColOw+Y5IeI3DO5bu1WZWw2AAhinz99K6fKKVLNkd2U=
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ sigs.k8s.io/structured-merge-diff/v4/typed
sigs.k8s.io/structured-merge-diff/v4/value
# sigs.k8s.io/yaml v1.2.0
sigs.k8s.io/yaml
# stash.appscode.dev/apimachinery v0.14.1
# stash.appscode.dev/apimachinery v0.15.0
## explicit
stash.appscode.dev/apimachinery/apis
stash.appscode.dev/apimachinery/apis/repositories
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const (
// +kubebuilder:printcolumn:name="Invoker-Type",type="string",JSONPath=".spec.invoker.kind"
// +kubebuilder:printcolumn:name="Invoker-Name",type="string",JSONPath=".spec.invoker.name"
// +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase"
// +kubebuilder:printcolumn:name="Duration",type="string",JSONPath=".status.sessionDuration"
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
type BackupSession struct {
metav1.TypeMeta `json:",inline"`
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const (
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Repository",type="string",JSONPath=".spec.repository.name"
// +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase"
// +kubebuilder:printcolumn:name="Duration",type="string",JSONPath=".status.sessionDuration"
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
type RestoreSession struct {
metav1.TypeMeta `json:",inline,omitempty"`
Expand Down
9 changes: 2 additions & 7 deletions vendor/stash.appscode.dev/apimachinery/crds/lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,12 @@ func load(filename string, o interface{}) error {
func CustomResourceDefinition(gvr schema.GroupVersionResource) (*apiextensions.CustomResourceDefinition, error) {
var out apiextensions.CustomResourceDefinition

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

v1beta1file := fmt.Sprintf("%s_%s.yaml", gvr.Group, gvr.Resource)
if err := load(v1beta1file, &out.V1beta1); err != nil {
return nil, err
}

if out.V1 == nil && out.V1beta1 == nil {
if out.V1 == nil {
return nil, fmt.Errorf("missing crd yamls for gvr: %s", gvr)
}

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,78 +1,76 @@
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/name: stash
name: snapshots.repositories.stash.appscode.com
spec:
additionalPrinterColumns:
- JSONPath: .status.repository
name: Repository
type: string
- JSONPath: .status.hostname
name: Hostname
type: string
group: repositories.stash.appscode.com
names:
kind: Snapshot
listKind: SnapshotList
plural: snapshots
singular: snapshot
preserveUnknownFields: false
scope: Namespaced
subresources: {}
validation:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
status:
properties:
gid:
format: int32
type: integer
hostname:
type: string
paths:
items:
versions:
- additionalPrinterColumns:
- jsonPath: .status.repository
name: Repository
type: string
- jsonPath: .status.hostname
name: Hostname
type: string
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
status:
properties:
gid:
format: int32
type: integer
hostname:
type: string
type: array
repository:
type: string
tags:
items:
paths:
items:
type: string
type: array
repository:
type: string
type: array
tree:
type: string
uid:
format: int32
type: integer
username:
type: string
required:
- gid
- hostname
- paths
- repository
- tree
- uid
- username
type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
tags:
items:
type: string
type: array
tree:
type: string
uid:
format: int32
type: integer
username:
type: string
required:
- gid
- hostname
- paths
- repository
- tree
- uid
- username
type: object
type: object
served: true
storage: true
subresources: {}

0 comments on commit 949be08

Please sign in to comment.