I hereby claim:
- I am njhale on github.
- I am njohnhale (https://keybase.io/njohnhale) on keybase.
- I have a public key ASDGLK5rMFDg57GPUdhkz44xrLzl0NG4gxHzwKQRAajpFQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // apiServiceResourceErrorsActionable returns true if OLM can do something about any one | |
| // of the apiService errors in errs; otherwise returns false | |
| // | |
| // This method can be used to determine if a CSV in a failed state due to APIService | |
| // issues can resolve them by reinstalling | |
| func (a *Operator) apiServiceResourceErrorsActionable(errs []error) bool { | |
| for _, err := range errs { | |
| switch e := err.(type){ | |
| case UnadoptableError: | |
| return false |
| package subscription | |
| import ( | |
| "context" | |
| "sync" | |
| "time" | |
| "github.com/sirupsen/logrus" | |
| "github.com/pkg/errors" | |
| "golang.org/x/sync/errgroup" |
For the purposes of this document, a snapshot is:
To design a migration, we'll paint a picture of a plausible final design and work backward from there.
On top of conformance with the rest of the ecosystem, the value-add of bundles and indexes for upstream-community-operators is a reduction in operator manifests managed in the repository. Ideally, these new features will shrink the operator inclusion mechanism from a set of directories to a finite number of config files.
Once fully migrated to the new formats, the general flow for updating the catalog's content might look like:
| #!/bin/bash | |
| set +o posix # Enable for process substitution <(...), aka. "party hat" | |
| omit_all_matches='false' | |
| num_commits=256 | |
| opts=0 | |
| while getopts 'n:y' flag; do | |
| case "${flag}" in |
| #!/bin/bash | |
| set -o errexit | |
| set -o pipefail | |
| num_commits=256 | |
| set +u | |
| while getopts 'n:' flag; do | |
| case "${flag}" in |
| package forkdir | |
| import ( | |
| "fmt" | |
| "io" | |
| "os" | |
| "path/filepath" | |
| "testing" | |
| "github.com/acorn-io/z" |
| { | |
| "messages": [ | |
| { | |
| "type": 1, | |
| "message": "Great! How can I assist you today?" | |
| }, | |
| { | |
| "type": 2, | |
| "message": "give me a haiku about how annoying typescript is" | |
| }, |