This repository was archived by the owner on Nov 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 131
upgrade to use sdk v0.11.0 #82
Merged
camilamacedo86
merged 1 commit into
operator-framework:master
from
camilamacedo86:upgrade-go-11
Nov 12, 2019
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
176 changes: 176 additions & 0 deletions
176
...m-catalog/memcached-operator/0.11.0/memcached-operator.v0.11.0.clusterserviceversion.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,176 @@ | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: ClusterServiceVersion | ||
metadata: | ||
annotations: | ||
alm-examples: |- | ||
[ | ||
{ | ||
"apiVersion": "cache.example.com/v1alpha1", | ||
"kind": "Memcached", | ||
"metadata": { | ||
"name": "example-memcached" | ||
}, | ||
"spec": { | ||
"size": 3 | ||
} | ||
} | ||
] | ||
capabilities: Basic Install | ||
name: memcached-operator.v0.11.0 | ||
namespace: placeholder | ||
spec: | ||
apiservicedefinitions: {} | ||
customresourcedefinitions: | ||
owned: | ||
- description: Represents a cluster of Memcached apps | ||
displayName: Memcached App | ||
kind: Memcached | ||
name: memcacheds.cache.example.com | ||
resources: | ||
- kind: Deployment | ||
name: "" | ||
version: v1 | ||
- kind: Service | ||
name: "" | ||
version: v1 | ||
- kind: ReplicaSet | ||
name: "" | ||
version: v1 | ||
- kind: Pod | ||
name: "" | ||
version: v1 | ||
specDescriptors: | ||
- description: The desired number of member Pods for the deployment. | ||
displayName: Size | ||
path: size | ||
x-descriptors: | ||
- urn:alm:descriptor:com.tectonic.ui:podCount | ||
statusDescriptors: | ||
- description: The current status of the application. | ||
displayName: Status | ||
path: phase | ||
x-descriptors: | ||
- urn:alm:descriptor:io.kubernetes.phase | ||
- description: Explanation for the current status of the application. | ||
displayName: Status Details | ||
path: reason | ||
x-descriptors: | ||
- urn:alm:descriptor:io.kubernetes.phase:reason | ||
version: v1alpha1 | ||
description: Main enterprise application providing business critical features with | ||
high availability and no manual intervention. | ||
displayName: Memcached Application | ||
install: | ||
spec: | ||
deployments: | ||
- name: memcached-operator | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
name: memcached-operator | ||
strategy: {} | ||
template: | ||
metadata: | ||
labels: | ||
name: memcached-operator | ||
spec: | ||
containers: | ||
- command: | ||
- memcached-operator | ||
env: | ||
- name: WATCH_NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.annotations['olm.targetNamespaces'] | ||
- name: POD_NAME | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.name | ||
- name: OPERATOR_NAME | ||
value: memcached-operator | ||
image: REPLACE_IMAGE | ||
imagePullPolicy: Always | ||
name: memcached-operator | ||
resources: {} | ||
serviceAccountName: memcached-operator | ||
permissions: | ||
- rules: | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- pods | ||
- services | ||
- services/finalizers | ||
- endpoints | ||
- persistentvolumeclaims | ||
- events | ||
- configmaps | ||
- secrets | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- apps | ||
resources: | ||
- deployments | ||
- daemonsets | ||
- replicasets | ||
- statefulsets | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- monitoring.coreos.com | ||
resources: | ||
- servicemonitors | ||
verbs: | ||
- get | ||
- create | ||
- apiGroups: | ||
- apps | ||
resourceNames: | ||
- memcached-operator | ||
resources: | ||
- deployments/finalizers | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- pods | ||
verbs: | ||
- get | ||
- apiGroups: | ||
- apps | ||
resources: | ||
- replicasets | ||
verbs: | ||
- get | ||
- apiGroups: | ||
- cache.example.com | ||
resources: | ||
- '*' | ||
verbs: | ||
- '*' | ||
serviceAccountName: memcached-operator | ||
strategy: deployment | ||
installModes: | ||
- supported: true | ||
type: OwnNamespace | ||
- supported: true | ||
type: SingleNamespace | ||
- supported: false | ||
type: MultiNamespace | ||
- supported: true | ||
type: AllNamespaces | ||
keywords: | ||
- memcached | ||
- app | ||
maintainers: | ||
- email: [email protected] | ||
name: Some Corp | ||
maturity: alpha | ||
provider: | ||
name: Example | ||
url: www.example.com | ||
replaces: memcached-operator.v0.10.0 | ||
version: 0.11.0 |
2 changes: 1 addition & 1 deletion
2
memcached-operator/deploy/olm-catalog/memcached-operator/memcached-operator.package.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
channels: | ||
- currentCSV: memcached-operator.v0.10.0 | ||
joelanford marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- currentCSV: memcached-operator.v0.11.0 | ||
camilamacedo86 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
name: alpha | ||
camilamacedo86 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
defaultChannel: alpha | ||
packageName: memcached-operator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,32 @@ | ||
module github.com/operator-framework/operator-sdk-samples/memcached-operator | ||
|
||
require ( | ||
github.com/NYTimes/gziphandler v1.0.1 // indirect | ||
github.com/go-openapi/spec v0.19.0 | ||
github.com/operator-framework/operator-sdk v0.10.1-0.20190906161029-1cb0481ca946 | ||
github.com/spf13/pflag v1.0.3 | ||
k8s.io/api v0.0.0-20190612125737-db0771252981 | ||
k8s.io/apimachinery v0.0.0-20190612125636-6a5db36e93ad | ||
k8s.io/client-go v11.0.0+incompatible | ||
k8s.io/api v0.0.0-20190918155943-95b840bb6a1f | ||
k8s.io/apimachinery v0.0.0-20190913080033-27d36303b655 | ||
k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible | ||
k8s.io/kube-openapi v0.0.0-20190603182131-db7b694dc208 | ||
sigs.k8s.io/controller-runtime v0.1.12 | ||
sigs.k8s.io/controller-tools v0.1.10 // indirect | ||
sigs.k8s.io/controller-runtime v0.2.2 | ||
) | ||
|
||
// Pinned to kubernetes-1.13.4 | ||
// Pinned to kubernetes-1.14.1 | ||
replace ( | ||
k8s.io/api => k8s.io/api v0.0.0-20190222213804-5cb15d344471 | ||
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.0.0-20190228180357-d002e88f6236 | ||
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20190221213512-86fb29eff628 | ||
k8s.io/client-go => k8s.io/client-go v0.0.0-20190228174230-b40b2a5939e4 | ||
k8s.io/api => k8s.io/api v0.0.0-20190409021203-6e4e0e4f393b | ||
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.0.0-20190409022649-727a075fdec8 | ||
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20190404173353-6a84e37a896d | ||
k8s.io/client-go => k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible | ||
k8s.io/cloud-provider => k8s.io/cloud-provider v0.0.0-20190409023720-1bc0c81fa51d | ||
) | ||
|
||
replace ( | ||
github.com/coreos/prometheus-operator => github.com/coreos/prometheus-operator v0.29.0 | ||
// Pinned to v2.9.2 (kubernetes-1.13.1) so https://proxy.golang.org can | ||
github.com/coreos/prometheus-operator => github.com/coreos/prometheus-operator v0.31.1 | ||
// Pinned to v2.10.0 (kubernetes-1.14.1) so https://proxy.golang.org can | ||
// resolve it correctly. | ||
github.com/prometheus/prometheus => github.com/prometheus/prometheus v0.0.0-20190424153033-d3245f150225 | ||
k8s.io/kube-state-metrics => k8s.io/kube-state-metrics v1.6.0 | ||
sigs.k8s.io/controller-runtime => sigs.k8s.io/controller-runtime v0.1.12 | ||
sigs.k8s.io/controller-tools => sigs.k8s.io/controller-tools v0.1.11-0.20190411181648-9d55346c2bde | ||
github.com/prometheus/prometheus => github.com/prometheus/prometheus v0.0.0-20190525122359-d20e84d0fb64 | ||
) | ||
|
||
replace github.com/operator-framework/operator-sdk => github.com/operator-framework/operator-sdk v0.10.0 | ||
replace github.com/operator-framework/operator-sdk => github.com/operator-framework/operator-sdk v0.11.0 | ||
|
||
go 1.12 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.