Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Release 1.1 #147

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

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft
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
22 changes: 19 additions & 3 deletions .evergreen-functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,8 @@ functions:
- src/github.com/mongodb/mongodb-kubernetes/logs/*
remote_file: logs/${task_id}/${execution}/
bucket: operator-e2e-artifacts
permissions: public-read
permissions: private
visibility: signed
content_type: text/plain
- command: attach.xunit_results
params:
Expand All @@ -432,7 +433,8 @@ functions:
- src/github.com/mongodb/mongodb-kubernetes/logs/*
remote_file: logs/${task_id}/${execution}/
bucket: operator-e2e-artifacts
permissions: public-read
permissions: private
visibility: signed
content_type: text/plain
- command: gotest.parse_files
params:
Expand All @@ -445,10 +447,24 @@ functions:
aws_secret: ${enterprise_aws_secret_access_key}
local_files_include_filter:
- src/github.com/mongodb/mongodb-kubernetes/public/architectures/**/*.log
- src/github.com/mongodb/mongodb-kubernetes/docs/**/*.log
remote_file: logs/${task_id}/${execution}/
bucket: operator-e2e-artifacts
permissions: private
visibility: signed
content_type: text/plain
- command: s3.put
params:
aws_key: ${enterprise_aws_access_key_id}
aws_secret: ${enterprise_aws_secret_access_key}
local_files_include_filter:
- src/github.com/mongodb/mongodb-kubernetes/public/architectures/**/*.out
- src/github.com/mongodb/mongodb-kubernetes/docs/**/*.out
preserve_path: true
remote_file: logs/${task_id}/${execution}/
bucket: operator-e2e-artifacts
permissions: public-read
permissions: private
visibility: signed
content_type: text/plain

preflight_image:
Expand Down
20 changes: 18 additions & 2 deletions .evergreen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,6 @@ tasks:
- func: clone
- func: setup_aws
- func: configure_docker_auth
- func: quay_login
- func: setup_prepare_openshift_bundles
- func: prepare_openshift_bundles
- func: update_evergreen_expansions
Expand Down Expand Up @@ -1862,13 +1861,30 @@ buildvariants:

- name: private_kind_code_snippets
display_name: private_kind_code_snippets
allowed_requesters: ["patch"]
tags: [ "e2e_test_suite" ]
allowed_requesters: ["patch", "github_pr"]
run_on:
- ubuntu2204-large
<<: *base_om8_dependency
tasks:
- name: kind_code_snippets_task_group

- name: prerelease_kind_code_snippets
display_name: prerelease_kind_code_snippets
allowed_requesters: ["patch"]
run_on:
- ubuntu2204-large
tasks:
- name: kind_code_snippets_task_group

- name: public_kind_code_snippets
display_name: public_kind_code_snippets
allowed_requesters: ["patch"]
run_on:
- ubuntu2204-large
tasks:
- name: kind_code_snippets_task_group

### Build variants for manual patch only

- name: publish_om60_images
Expand Down
44 changes: 31 additions & 13 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
serviceAccountName: mongodb-kubernetes-operator
containers:
- name: mongodb-kubernetes-operator
image: "quay.io/mongodb/mongodb-kubernetes:1.0.1"
image: "quay.io/mongodb/mongodb-kubernetes:1.1.0"
imagePullPolicy: Always
args:
- -watch-resource=mongodb
Expand Down Expand Up @@ -68,21 +68,21 @@ spec:
- name: INIT_DATABASE_IMAGE_REPOSITORY
value: quay.io/mongodb/mongodb-kubernetes-init-database
- name: INIT_DATABASE_VERSION
value: 1.0.1
value: 1.1.0
- name: DATABASE_VERSION
value: 1.0.1
value: 1.1.0
# Ops Manager
- name: OPS_MANAGER_IMAGE_REPOSITORY
value: quay.io/mongodb/mongodb-enterprise-ops-manager-ubi
- name: INIT_OPS_MANAGER_IMAGE_REPOSITORY
value: quay.io/mongodb/mongodb-kubernetes-init-ops-manager
- name: INIT_OPS_MANAGER_VERSION
value: 1.0.1
value: 1.1.0
# AppDB
- name: INIT_APPDB_IMAGE_REPOSITORY
value: quay.io/mongodb/mongodb-kubernetes-init-appdb
- name: INIT_APPDB_VERSION
value: 1.0.1
value: 1.1.0
- name: OPS_MANAGER_IMAGE_PULL_POLICY
value: Always
- name: AGENT_IMAGE
Expand Down Expand Up @@ -121,26 +121,30 @@ spec:
- name: MDB_COMMUNITY_IMAGE_TYPE
value: "ubi8"
# Community Env Vars End
- name: RELATED_IMAGE_MONGODB_ENTERPRISE_DATABASE_IMAGE_1_0_1
value: "quay.io/mongodb/mongodb-kubernetes-database:1.0.1"
- name: RELATED_IMAGE_INIT_DATABASE_IMAGE_REPOSITORY_1_0_1
value: "quay.io/mongodb/mongodb-kubernetes-init-database:1.0.1"
- name: RELATED_IMAGE_INIT_OPS_MANAGER_IMAGE_REPOSITORY_1_0_1
value: "quay.io/mongodb/mongodb-kubernetes-init-ops-manager:1.0.1"
- name: RELATED_IMAGE_INIT_APPDB_IMAGE_REPOSITORY_1_0_1
value: "quay.io/mongodb/mongodb-kubernetes-init-appdb:1.0.1"
- name: RELATED_IMAGE_MONGODB_ENTERPRISE_DATABASE_IMAGE_1_1_0
value: "quay.io/mongodb/mongodb-kubernetes-database:1.1.0"
- name: RELATED_IMAGE_INIT_DATABASE_IMAGE_REPOSITORY_1_1_0
value: "quay.io/mongodb/mongodb-kubernetes-init-database:1.1.0"
- name: RELATED_IMAGE_INIT_OPS_MANAGER_IMAGE_REPOSITORY_1_1_0
value: "quay.io/mongodb/mongodb-kubernetes-init-ops-manager:1.1.0"
- name: RELATED_IMAGE_INIT_APPDB_IMAGE_REPOSITORY_1_1_0
value: "quay.io/mongodb/mongodb-kubernetes-init-appdb:1.1.0"
- name: RELATED_IMAGE_AGENT_IMAGE_107_0_13_8702_1
value: "quay.io/mongodb/mongodb-agent-ubi:107.0.13.8702-1"
- name: RELATED_IMAGE_AGENT_IMAGE_107_0_13_8702_1_1_0_0
value: "quay.io/mongodb/mongodb-agent-ubi:107.0.13.8702-1_1.0.0"
- name: RELATED_IMAGE_AGENT_IMAGE_107_0_13_8702_1_1_0_1
value: "quay.io/mongodb/mongodb-agent-ubi:107.0.13.8702-1_1.0.1"
- name: RELATED_IMAGE_AGENT_IMAGE_107_0_13_8702_1_1_1_0
value: "quay.io/mongodb/mongodb-agent-ubi:107.0.13.8702-1_1.1.0"
- name: RELATED_IMAGE_AGENT_IMAGE_107_0_15_8741_1
value: "quay.io/mongodb/mongodb-agent-ubi:107.0.15.8741-1"
- name: RELATED_IMAGE_AGENT_IMAGE_107_0_15_8741_1_1_0_0
value: "quay.io/mongodb/mongodb-agent-ubi:107.0.15.8741-1_1.0.0"
- name: RELATED_IMAGE_AGENT_IMAGE_107_0_15_8741_1_1_0_1
value: "quay.io/mongodb/mongodb-agent-ubi:107.0.15.8741-1_1.0.1"
- name: RELATED_IMAGE_AGENT_IMAGE_107_0_15_8741_1_1_1_0
value: "quay.io/mongodb/mongodb-agent-ubi:107.0.15.8741-1_1.1.0"
- name: RELATED_IMAGE_AGENT_IMAGE_108_0_2_8729_1
value: "quay.io/mongodb/mongodb-agent-ubi:108.0.2.8729-1"
- name: RELATED_IMAGE_AGENT_IMAGE_108_0_4_8770_1
Expand All @@ -149,42 +153,56 @@ spec:
value: "quay.io/mongodb/mongodb-agent-ubi:108.0.4.8770-1_1.0.0"
- name: RELATED_IMAGE_AGENT_IMAGE_108_0_4_8770_1_1_0_1
value: "quay.io/mongodb/mongodb-agent-ubi:108.0.4.8770-1_1.0.1"
- name: RELATED_IMAGE_AGENT_IMAGE_108_0_4_8770_1_1_1_0
value: "quay.io/mongodb/mongodb-agent-ubi:108.0.4.8770-1_1.1.0"
- name: RELATED_IMAGE_AGENT_IMAGE_108_0_6_8796_1
value: "quay.io/mongodb/mongodb-agent-ubi:108.0.6.8796-1"
- name: RELATED_IMAGE_AGENT_IMAGE_108_0_6_8796_1_1_0_0
value: "quay.io/mongodb/mongodb-agent-ubi:108.0.6.8796-1_1.0.0"
- name: RELATED_IMAGE_AGENT_IMAGE_108_0_6_8796_1_1_0_1
value: "quay.io/mongodb/mongodb-agent-ubi:108.0.6.8796-1_1.0.1"
- name: RELATED_IMAGE_AGENT_IMAGE_108_0_6_8796_1_1_1_0
value: "quay.io/mongodb/mongodb-agent-ubi:108.0.6.8796-1_1.1.0"
- name: RELATED_IMAGE_AGENT_IMAGE_108_0_7_8810_1
value: "quay.io/mongodb/mongodb-agent-ubi:108.0.7.8810-1"
- name: RELATED_IMAGE_AGENT_IMAGE_108_0_7_8810_1_1_0_0
value: "quay.io/mongodb/mongodb-agent-ubi:108.0.7.8810-1_1.0.0"
- name: RELATED_IMAGE_AGENT_IMAGE_108_0_7_8810_1_1_0_1
value: "quay.io/mongodb/mongodb-agent-ubi:108.0.7.8810-1_1.0.1"
- name: RELATED_IMAGE_AGENT_IMAGE_108_0_7_8810_1_1_1_0
value: "quay.io/mongodb/mongodb-agent-ubi:108.0.7.8810-1_1.1.0"
- name: RELATED_IMAGE_AGENT_IMAGE_12_0_33_7866_1
value: "quay.io/mongodb/mongodb-agent-ubi:12.0.33.7866-1"
- name: RELATED_IMAGE_AGENT_IMAGE_12_0_33_7866_1_1_0_0
value: "quay.io/mongodb/mongodb-agent-ubi:12.0.33.7866-1_1.0.0"
- name: RELATED_IMAGE_AGENT_IMAGE_12_0_33_7866_1_1_0_1
value: "quay.io/mongodb/mongodb-agent-ubi:12.0.33.7866-1_1.0.1"
- name: RELATED_IMAGE_AGENT_IMAGE_12_0_33_7866_1_1_1_0
value: "quay.io/mongodb/mongodb-agent-ubi:12.0.33.7866-1_1.1.0"
- name: RELATED_IMAGE_AGENT_IMAGE_12_0_34_7888_1
value: "quay.io/mongodb/mongodb-agent-ubi:12.0.34.7888-1"
- name: RELATED_IMAGE_AGENT_IMAGE_12_0_34_7888_1_1_0_0
value: "quay.io/mongodb/mongodb-agent-ubi:12.0.34.7888-1_1.0.0"
- name: RELATED_IMAGE_AGENT_IMAGE_12_0_34_7888_1_1_0_1
value: "quay.io/mongodb/mongodb-agent-ubi:12.0.34.7888-1_1.0.1"
- name: RELATED_IMAGE_AGENT_IMAGE_12_0_34_7888_1_1_1_0
value: "quay.io/mongodb/mongodb-agent-ubi:12.0.34.7888-1_1.1.0"
- name: RELATED_IMAGE_AGENT_IMAGE_12_0_35_7911_1
value: "quay.io/mongodb/mongodb-agent-ubi:12.0.35.7911-1"
- name: RELATED_IMAGE_AGENT_IMAGE_12_0_35_7911_1_1_0_0
value: "quay.io/mongodb/mongodb-agent-ubi:12.0.35.7911-1_1.0.0"
- name: RELATED_IMAGE_AGENT_IMAGE_12_0_35_7911_1_1_0_1
value: "quay.io/mongodb/mongodb-agent-ubi:12.0.35.7911-1_1.0.1"
- name: RELATED_IMAGE_AGENT_IMAGE_12_0_35_7911_1_1_1_0
value: "quay.io/mongodb/mongodb-agent-ubi:12.0.35.7911-1_1.1.0"
- name: RELATED_IMAGE_AGENT_IMAGE_13_34_0_9465_1
value: "quay.io/mongodb/mongodb-agent-ubi:13.34.0.9465-1"
- name: RELATED_IMAGE_AGENT_IMAGE_13_34_0_9465_1_1_0_0
value: "quay.io/mongodb/mongodb-agent-ubi:13.34.0.9465-1_1.0.0"
- name: RELATED_IMAGE_AGENT_IMAGE_13_34_0_9465_1_1_0_1
value: "quay.io/mongodb/mongodb-agent-ubi:13.34.0.9465-1_1.0.1"
- name: RELATED_IMAGE_AGENT_IMAGE_13_34_0_9465_1_1_1_0
value: "quay.io/mongodb/mongodb-agent-ubi:13.34.0.9465-1_1.1.0"
- name: RELATED_IMAGE_OPS_MANAGER_IMAGE_REPOSITORY_6_0_25
value: "quay.io/mongodb/mongodb-enterprise-ops-manager-ubi:6.0.25"
- name: RELATED_IMAGE_OPS_MANAGER_IMAGE_REPOSITORY_6_0_26
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
capabilities: Deep Insights
categories: Database
certified: "true"
containerImage: quay.io/mongodb/mongodb-kubernetes:1.0.1
containerImage: quay.io/mongodb/mongodb-kubernetes:1.1.0
createdAt: ""
description: The MongoDB Controllers for Kubernetes enable easy deploys of MongoDB
into Kubernetes clusters, using our management, monitoring and backup platforms,
Expand Down Expand Up @@ -452,4 +452,4 @@ spec:
provider:
name: MongoDB, Inc
version: 0.0.0
replaces: mongodb-kubernetes.v1.0.0
replaces: mongodb-kubernetes.v1.0.1
2 changes: 1 addition & 1 deletion controllers/operator/construct/appdb_construction.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (

const (
appDBServiceAccount = "mongodb-kubernetes-appdb"
InitAppDbContainerName = "mongodb-enterprise-init-appdb"
InitAppDbContainerName = "mongodb-kubernetes-init-appdb"
// AppDB environment variable names
InitAppdbVersionEnv = "INIT_APPDB_VERSION"
podNamespaceEnv = "POD_NAMESPACE"
Expand Down
2 changes: 1 addition & 1 deletion controllers/operator/construct/database_construction.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const (
databaseLivenessProbeCommand = "/opt/scripts/probe.sh"
databaseReadinessProbeCommand = "/opt/scripts/readinessprobe"

InitDatabaseContainerName = "mongodb-enterprise-init-database"
InitDatabaseContainerName = "mongodb-kubernetes-init-database"

// Database environment variable names
InitDatabaseVersionEnv = "INIT_DATABASE_VERSION"
Expand Down
6 changes: 1 addition & 5 deletions docs/community-search/quick-start/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@ First, add the MongoDB Helm repository. This repository contains the Helm chart
```shell copy
helm repo add mongodb https://mongodb.github.io/helm-charts
helm repo update mongodb
if [[ "${OPERATOR_HELM_CHART}" != "helm_chart" ]]; then helm search repo "${OPERATOR_HELM_CHART}"; fi;
```
After adding the repository, update your local Helm chart repository cache:
```shell
helm repo update
helm search repo mongodb/mongodb-kubernetes
```

### 3. Install MongoDB Kubernetes Operator
Expand Down
4 changes: 0 additions & 4 deletions docs/community-search/quick-start/README.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ First, add the MongoDB Helm repository. This repository contains the Helm chart
```shell copy
{% include "code_snippets/090_helm_add_mogodb_repo.sh" %}
```
After adding the repository, update your local Helm chart repository cache:
```shell
helm repo update
```

### 3. Install MongoDB Kubernetes Operator

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
echo "Verifying mongodb-kubernetes-database-pods contains proper pull secret"
echo "Verifying mongodb-kubernetes-database-pods service account contains proper pull secret"
if ! kubectl get --context "${K8S_CLUSTER_0_CONTEXT_NAME}" -n "${MDB_NAMESPACE}" -o json \
sa mongodb-kubernetes-database-pods -o=jsonpath='{.imagePullSecrets[*]}' | \
grep community-private-preview-pullsecret; then
Expand All @@ -7,3 +7,4 @@ if ! kubectl get --context "${K8S_CLUSTER_0_CONTEXT_NAME}" -n "${MDB_NAMESPACE}"
sa mongodb-kubernetes-database-pods -o=yaml
return 1
fi
echo "SUCCESS: mongodb-kubernetes-database-pods service account contains proper pull secret"
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
helm repo add mongodb https://mongodb.github.io/helm-charts
helm repo update mongodb
if [[ "${OPERATOR_HELM_CHART}" != "helm_chart" ]]; then helm search repo "${OPERATOR_HELM_CHART}"; fi;
helm search repo mongodb/mongodb-kubernetes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export K8S_CLUSTER_0_CONTEXT_NAME="${CLUSTER_NAME}"

export PRIVATE_PREVIEW_IMAGE_PULLSECRET="${COMMUNITY_PRIVATE_PREVIEW_PULLSECRET_DOCKERCONFIGJSON}"

export OPERATOR_ADDITIONAL_HELM_VALUES=""
export OPERATOR_HELM_CHART="${PROJECT_DIR}/helm_chart"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export K8S_CLUSTER_0_CONTEXT_NAME="${CLUSTER_NAME}"
export PRIVATE_PREVIEW_IMAGE_PULLSECRET="${COMMUNITY_PRIVATE_PREVIEW_PULLSECRET_DOCKERCONFIGJSON}"
Loading