Skip to content

Commit

Permalink
Preparation for release 0.1.0 (#54)
Browse files Browse the repository at this point in the history
* Preparation for release 0.1.0
  • Loading branch information
DTMad authored Jan 18, 2021
1 parent 3e7745d commit 71219f6
Showing 5 changed files with 28 additions and 12 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changelog

### Future

#### Features

#### Bug fixes

#### Other changes

### [v0.1.0](https://github.com/Dynatrace/dynatrace-operator/releases/tag/v0.1.0)

* Initial release of the Dynatrace Operator
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
**Note: this project is currently in development. Shouldn't be installed by customers yet.**
**Note: Requires Dynatrace Cluster version 1.209**

# Dynatrace Operator

The Dynatrace Operator supports rollout and lifecycle of various Dynatrace components in Kubernetes and OpenShift.

As of launch, the Dynatrace Operator can be used to deploy a containerized ActiveGate for Kubernetes API monitoring. New capabilities will be added to the Dynatrace Operator over time including metric routing, and API monitoring for AWS, Azure, GCP, and vSPhere.
As of launch, the Dynatrace Operator can be used to deploy a containerized ActiveGate for Kubernetes API monitoring. New capabilities will be added to the Dynatrace Operator over time including metric routing, and API monitoring for AWS, Azure, GCP, and vSphere.

## Supported platforms

Depending on the version of the Dynatrace Operator, it supports the following platforms:

| Dynatrace Operator version | Kubernetes | OpenShift Container Platform |
| -------------------------- | ---------- | ------------------------------------------ |
| master | 1.15+ | 3.11.188+, 4.3+ |
| master | 1.18+ | 3.11.188+, 4.4+ |
| v0.1.0 | 1.18+ | 3.11.188+, 4.4+ |

## Quick Start

6 changes: 3 additions & 3 deletions api/v1alpha1/dynakube_types.go
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ type DynaKubeSpec struct {
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:text"
CustomPullSecret string `json:"customPullSecret,omitempty"`

// Disable certificate validation checks for installer download and API communication
// Disable certificate validation checks for API communication
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Skip Certificate Check"
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:advanced,urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
@@ -52,7 +52,7 @@ type DynaKubeSpec struct {
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:advanced,urn:alm:descriptor:com.tectonic.ui:text"
TrustedCAs string `json:"trustedCAs,omitempty"`

// Optional: Sets Network Zone for OneAgent and ActiveGate pods
// Optional: Sets Network Zone for ActiveGate pods
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Network Zone"
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:advanced,urn:alm:descriptor:com.tectonic.ui:text"
@@ -97,7 +97,7 @@ type DynaKubeStatus struct {
// LastPaaSTokenProbeTimestamp tracks when the last request for the PaaS token validity was sent
LastPaaSTokenProbeTimestamp *metav1.Time `json:"lastPaaSTokenProbeTimestamp,omitempty"`

// ActiveGateHash contains the last image hash seen.
// ActiveGateImageHash contains the last image hash seen.
ActiveGateImageHash string `json:"activeGateImageHash,omitempty"`

// ActiveGateImageVersion contains the version from the last image seen.
8 changes: 3 additions & 5 deletions config/crd/bases/dynatrace.com_dynakubes.yaml
Original file line number Diff line number Diff line change
@@ -269,8 +269,7 @@ spec:
type: array
type: object
networkZone:
description: 'Optional: Sets Network Zone for OneAgent and ActiveGate
pods'
description: 'Optional: Sets Network Zone for ActiveGate pods'
type: string
proxy:
description: 'Optional: Set custom proxy settings either directly or
@@ -282,8 +281,7 @@ spec:
type: string
type: object
skipCertCheck:
description: Disable certificate validation checks for installer download
and API communication
description: Disable certificate validation checks for API communication
type: boolean
tokens:
description: Credentials for the DynaKube to connect back to Dynatrace.
@@ -300,7 +298,7 @@ spec:
description: DynaKubeStatus defines the observed state of DynaKube
properties:
activeGateImageHash:
description: ActiveGateHash contains the last image hash seen.
description: ActiveGateImageHash contains the last image hash seen.
type: string
activeGateImageVersion:
description: ActiveGateImageVersion contains the version from the last
6 changes: 5 additions & 1 deletion deploy/install.sh
Original file line number Diff line number Diff line change
@@ -100,7 +100,11 @@ EOF
}

applyDynatraceOperator() {
"${CLI}" apply -k https://github.com/Dynatrace/dynatrace-operator/config/manifests
if [ "${CLI}" = "kubectl" ]; then
"${CLI}" apply -f https://github.com/Dynatrace/dynatrace-operator/releases/latest/download/kubernetes.yaml
else
"${CLI}" apply -f https://github.com/Dynatrace/dynatrace-operator/releases/latest/download/openshift.yaml
fi
}

applyDynaKubeCR() {

0 comments on commit 71219f6

Please sign in to comment.