Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1727800: Icon Subresource for PackageManifest #990

Merged
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Operator Package Logos

Status: Pending
Status: In Progress

Version: Alpha

Expand Down
47 changes: 42 additions & 5 deletions pkg/package-server/apis/operators/packagemanifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,17 @@ func CreateCSVDescription(csv *operatorsv1alpha1.ClusterServiceVersion) CSVDescr
Name: csv.Spec.Provider.Name,
URL: csv.Spec.Provider.URL,
},
Annotations: csv.GetAnnotations(),
LongDescription: csv.Spec.Description,
InstallModes: csv.Spec.InstallModes,
CustomResourceDefinitions: csv.Spec.CustomResourceDefinitions,
APIServiceDefinitions: csv.Spec.APIServiceDefinitions,
Annotations: csv.GetAnnotations(),
LongDescription: csv.Spec.Description,
InstallModes: csv.Spec.InstallModes,
CustomResourceDefinitions: operatorsv1alpha1.CustomResourceDefinitions{
Owned: descriptionsForCRDs(csv.Spec.CustomResourceDefinitions.Owned),
Required: descriptionsForCRDs(csv.Spec.CustomResourceDefinitions.Required),
},
APIServiceDefinitions: operatorsv1alpha1.APIServiceDefinitions{
Owned: descriptionsForAPIServices(csv.Spec.APIServiceDefinitions.Owned),
Required: descriptionsForAPIServices(csv.Spec.APIServiceDefinitions.Required),
},
}

icons := make([]Icon, len(csv.Spec.Icon))
Expand All @@ -32,3 +38,34 @@ func CreateCSVDescription(csv *operatorsv1alpha1.ClusterServiceVersion) CSVDescr

return desc
}

// descriptionsForCRDs filters certain fields from provided API descriptions to reduce response size.
func descriptionsForCRDs(crds []operatorsv1alpha1.CRDDescription) []operatorsv1alpha1.CRDDescription {
ecordell marked this conversation as resolved.
Show resolved Hide resolved
descriptions := []operatorsv1alpha1.CRDDescription{}
for _, crd := range crds {
descriptions = append(descriptions, operatorsv1alpha1.CRDDescription{
Name: crd.Name,
Version: crd.Version,
Kind: crd.Kind,
DisplayName: crd.DisplayName,
Description: crd.Description,
})
}
return descriptions
}

// descriptionsForAPIServices filters certain fields from provided API descriptions to reduce response size.
func descriptionsForAPIServices(apis []operatorsv1alpha1.APIServiceDescription) []operatorsv1alpha1.APIServiceDescription {
descriptions := []operatorsv1alpha1.APIServiceDescription{}
for _, api := range apis {
descriptions = append(descriptions, operatorsv1alpha1.APIServiceDescription{
Name: api.Name,
Group: api.Group,
Version: api.Version,
Kind: api.Kind,
DisplayName: api.DisplayName,
Description: api.Description,
})
}
return descriptions
}
8 changes: 5 additions & 3 deletions pkg/package-server/apiserver/generic/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,13 @@ type ProviderConfig struct {

// BuildStorage constructs APIGroupInfo for the packages.apps.redhat.com and packages.operators.coreos.com API groups.
func BuildStorage(providers *ProviderConfig) []generic.APIGroupInfo {

// Build storage for packages.operators.coreos.com
operatorInfo := generic.NewDefaultAPIGroupInfo(v1.Group, Scheme, metav1.ParameterCodec, Codecs)
operatorStorage := storage.NewStorage(v1.Resource("packagemanifests"), providers.Provider, Scheme)
iconStorage := storage.NewLogoStorage(v1.Resource("packagemanifests/icon"), providers.Provider)
operatorResources := map[string]rest.Storage{
"packagemanifests": operatorStorage,
"packagemanifests": operatorStorage,
"packagemanifests/icon": iconStorage,
}
operatorInfo.VersionedResourcesStorageMap[v1.Version] = operatorResources

Expand All @@ -78,7 +79,8 @@ func BuildStorage(providers *ProviderConfig) []generic.APIGroupInfo {

// Use storage for package.operators.coreos.com since types are identical
appResources := map[string]rest.Storage{
"packagemanifests": operatorStorage,
"packagemanifests": operatorStorage,
"packagemanifests/icon": iconStorage,
}
appInfo.VersionedResourcesStorageMap[v1alpha1.Version] = appResources

Expand Down
2 changes: 1 addition & 1 deletion pkg/package-server/provider/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package provider
import "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators"

type PackageManifestProvider interface {
Get(name, namespace string) (*operators.PackageManifest, error)
Get(namespace, name string) (*operators.PackageManifest, error)
List(namespace string) (*operators.PackageManifestList, error)
}
92 changes: 92 additions & 0 deletions pkg/package-server/storage/subresources.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
package storage

import (
"context"
"encoding/base64"
"io/ioutil"
"net/http"
"strconv"
"strings"

"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
genericreq "k8s.io/apiserver/pkg/endpoints/request"
"k8s.io/apiserver/pkg/registry/rest"

"github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators"
"github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/provider"
)

// LogoStorage implements Kubernetes methods needed to provide the `packagemanifests/icon` subresource
type LogoStorage struct {
groupResource schema.GroupResource
prov provider.PackageManifestProvider
}

var _ rest.Connecter = &LogoStorage{}
var _ rest.StorageMetadata = &LogoStorage{}

// NewLogoStorage returns struct which implements Kubernetes methods needed to provide the `packagemanifests/icon` subresource
func NewLogoStorage(groupResource schema.GroupResource, prov provider.PackageManifestProvider) *LogoStorage {
return &LogoStorage{groupResource, prov}
}

// New satisfies the Storage interface
func (s *LogoStorage) New() runtime.Object {
return &operators.PackageManifest{}
}

// Connect satisfies the Connector interface and returns the image icon file for a given `PackageManifest`
func (s *LogoStorage) Connect(ctx context.Context, name string, options runtime.Object, responder rest.Responder) (http.Handler, error) {
var handler http.HandlerFunc = func(w http.ResponseWriter, r *http.Request) {
ecordell marked this conversation as resolved.
Show resolved Hide resolved
if match := r.Header.Get("If-None-Match"); match != "" && r.URL.Query().Get("resourceVersion") != "" {
w.WriteHeader(http.StatusNotModified)
return
}

namespace := genericreq.NamespaceValue(ctx)
pkg, err := s.prov.Get(namespace, name)
if err != nil || pkg == nil || len(pkg.Status.Channels) == 0 || len(pkg.Status.Channels[0].CurrentCSVDesc.Icon) == 0 {
w.WriteHeader(http.StatusNotFound)
return
}

data := pkg.Status.Channels[0].CurrentCSVDesc.Icon[0].Base64Data
mimeType := pkg.Status.Channels[0].CurrentCSVDesc.Icon[0].Mediatype
etag := `"` + strings.Join([]string{name, pkg.Status.Channels[0].Name, pkg.Status.Channels[0].CurrentCSV}, ".") + `"`

reader := base64.NewDecoder(base64.StdEncoding, strings.NewReader(data))
imgBytes, err := ioutil.ReadAll(reader)

w.Header().Set("Content-Type", mimeType)
w.Header().Set("Content-Length", strconv.Itoa(len(imgBytes)))
w.Header().Set("Etag", etag)
_, err = w.Write(imgBytes)
}

return handler, nil
}

// NewConnectOptions satisfies the Connector interface
func (s *LogoStorage) NewConnectOptions() (runtime.Object, bool, string) {
return nil, false, ""
}

// ConnectMethods satisfies the Connector interface
func (s *LogoStorage) ConnectMethods() []string {
return []string{"GET"}
}

// ProducesMIMETypes satisfies the StorageMetadata interface and returns the supported icon image file types
func (s *LogoStorage) ProducesMIMETypes(verb string) []string {
return []string{
"image/png",
"image/jpeg",
"image/svg+xml",
}
}

// ProducesObject satisfies the StorageMetadata interface
func (s *LogoStorage) ProducesObject(verb string) interface{} {
return ""
}
82 changes: 82 additions & 0 deletions pkg/package-server/storage/subresources_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
package storage

import (
"context"
"net/http"
"net/http/httptest"
"testing"

"github.com/stretchr/testify/require"

"github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators"
v1 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1"
"github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/provider"
)

type fakeProvider struct{}

var getCalls = 0

func (p *fakeProvider) Get(namespace, name string) (*operators.PackageManifest, error) {
getCalls = getCalls + 1

return &operators.PackageManifest{
Status: operators.PackageManifestStatus{
Channels: []operators.PackageChannel{
{
Name: "stable",
CurrentCSV: "csv-a",
CurrentCSVDesc: operators.CSVDescription{
Icon: []operators.Icon{{Mediatype: "image/png", Base64Data: iconData}},
},
},
},
},
}, nil
}

func (p *fakeProvider) List(namespace string) (*operators.PackageManifestList, error) {
return &operators.PackageManifestList{}, nil
}

var _ provider.PackageManifestProvider = &fakeProvider{}

func TestLogoStorageConnect(t *testing.T) {
provider := fakeProvider{}
ctx, cancel := context.WithCancel(context.TODO())
defer cancel()

storage := NewLogoStorage(v1.Resource("packagemanifests/icon"), &provider)

rr := httptest.NewRecorder()
req, err := http.NewRequest("GET", "", nil)
require.NoError(t, err)

handler, err := storage.Connect(ctx, "pkg-a", nil, nil)
require.NoError(t, err)

handler.ServeHTTP(rr, req)
require.Equal(t, http.StatusOK, rr.Code)
require.Equal(t, "image/png", rr.Header().Get("Content-Type"))
require.NotNil(t, rr.Body)

cachedRR := httptest.NewRecorder()
cachedReq, err := http.NewRequest("GET", "?resourceVersion=pkg-a.stable.csv-a", nil)
require.NoError(t, err)

etag := rr.Header().Get("Etag")
require.Equal(t, `"pkg-a.stable.csv-a"`, etag)
cachedReq.Header.Set("If-None-Match", etag)

handler.ServeHTTP(cachedRR, cachedReq)
require.Equal(t, http.StatusNotModified, cachedRR.Code)
require.Equal(t, 1, getCalls, "PackageManifestProvider.Get() should not be called for cached icon")

handler.ServeHTTP(rr, req)
require.Equal(t, http.StatusOK, rr.Code)
require.Equal(t, 2, getCalls, "PackageManifestProvider.Get() should be called again to fetch icon")
}

const iconData = `
iVBORw0KGgoAAAANSUhEUgAAAOEAAADZCAYAAADWmle6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAEKlJREFUeNrsndt1GzkShmEev4sTgeiHfRYdgVqbgOgITEVgOgLTEQydwIiKwFQCayoCU6+7DyYjsBi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