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

add proper zone validation #198

Merged
merged 1 commit into from
Jul 25, 2020
Merged

add proper zone validation #198

merged 1 commit into from
Jul 25, 2020

Conversation

harshavardhana
Copy link
Member

No description provided.

@harshavardhana harshavardhana changed the title add zone validation add proper zone validation Jul 25, 2020
Copy link
Contributor

@cesnietor cesnietor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dvaldivia dvaldivia merged commit 50c7fb9 into minio:master Jul 25, 2020
@harshavardhana harshavardhana deleted the drive-per-node branch July 25, 2020 02:46
jmontleon pushed a commit to jmontleon/operator that referenced this pull request Jul 23, 2024
👻 simplified tools/tackle-opdev.sh with `make bundle`
:bug: `docker-build`, `bundle-build` fixes for docker where `--arch` is
invalid

:seedling: `make deploy-olm` to run local unpublished changes from
source installed with a new bundle.
- replicate behavior of installing from OperatorHub giving you better
idea of what the CSV, CRDs, RBACs, from the `bundle/` looks like in the
cluster rather than just creating a simple deployment or replacing the
deployment image.
- TL;DR `make podman-build podman-push bundle bundle-build bundle-push`
using ttl.sh registry (no auth required)

Goal: minimize functional changes and allow for `make bundle` command to
work using info from `config/`

```sh
diff <(curl -s https://raw.githubusercontent.com/konveyor/tackle2-operator/main/bundle/manifests/konveyor-operator.clusterserviceversion.yaml | yq -P 'sort_keys(..)') <(curl -s https://raw.githubusercontent.com/kaovilai/tackle2-operator/configmakefile-update/bundle/manifests/konveyor-operator.clusterserviceversion.yaml | yq -P 'sort_keys(..)')
```

minimal semantic diff when running through https://yamldiff.com/
- `curl
https://raw.githubusercontent.com/konveyor/tackle2-operator/main/bundle/manifests/konveyor-operator.clusterserviceversion.yaml
| yq -P 'sort_keys(..)'`
- `curl
https://raw.githubusercontent.com/kaovilai/tackle2-operator/configmakefile-update/bundle/manifests/konveyor-operator.clusterserviceversion.yaml
| yq -P 'sort_keys(..)'`


noop `bundle/` changes
- side-effect of operator-sdk generate bundle
    - yaml keys are now sorted from a to z
    - long string values are broken up into multiple lines
    - `>+` `|+` no longer has `+`

other `bundle/` changes
- 🌱 CSV name change: `tackle-operator.v99.0.0` -->
`konveyor-operator.v99.0.0`
- operator-sdk requires CSV and file names to match the
[projectName](https://github.com/konveyor/tackle2-operator/blob/0c18e4fdde3de1ad148dcad9d9eb4ab269ba5b03/PROJECT#L7)
        - alternative is to change projectName to tackle-operator
    - Partial requirement of minio#198
- relatedImages in CSV is now generated from manager Env
`RELATED_IMAGE_<>` with prefix removed, lowercased:
  - new relatedImages:
      - `oauth-proxy` previously not in CSV.
  - renamed relatedImages:
      - `tackle-addon` --> `addon-admin`
      - `tackle-addon-windup` --> `addon-windup`
      - `tackle-pathfinder` --> `pathfinder`
      - `tackle-keycloak` --> `keycloak-sso`
      - `tackle-keycloak-init` --> `keycloak-init`
- 🌱 renamed manager Env:
    - `RELATED_IMAGE_TACKLE_POSTGRES` replaces
        -  `RELATED_IMAGE_KEYCLOAK_DATABASE`
        - `RELATED_IMAGE_PATHFINDER_DATABASE`
    - solves
        ```
WARN[0000] warning: multiple related images with the same image ref,
"pathfinder-database", and different names found.The image will only be
listed once with an empty name.It is recmmended to either remove the
duplicate or use the exact same name.
        ```

While this is in draft, you may see some deletions in this PR which are
a result of outdated config/ and will be resolved before coming out of
draft..

Closes minio#201 

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

---------

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
Signed-off-by: Tiger Kaovilai <passawit.kaovilai@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants