Skip to content

Commit 809206f

Browse files
authored
Merge pull request #606 from oracle/develop-operator-helm-chart-values-cleanup
Develop operator helm chart values cleanup
2 parents 9c32c4d + 330dee6 commit 809206f

File tree

3 files changed

+28
-23
lines changed

3 files changed

+28
-23
lines changed

kubernetes/charts/weblogic-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
name: weblogic-operator
55
version: 2.0
6-
description: Helm package for creation of the Weblogic operator.
6+
description: Helm chart for configuring the WebLogic operator.
Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,39 @@
11
# Copyright 2018 Oracle Corporation and/or its affiliates. All rights reserved.
22
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
33

4-
# serviceAccount specifies the name of the service account that the operator will use to
5-
# make requests to the Kubernetes API server.
6-
# The name must be lowercase.
4+
# serviceAccount specifies the name of the service account in the operator's namespace that the
5+
# operator will use to make requests to the Kubernetes API server.
6+
# The customer is responsible for creating the service account.
7+
# If not specified, the the operator will use the operator's namespace's 'default' service account.
78
serviceAccount: "default"
89

9-
# domainNamespaces specifies list of WebLogic Domain namespaces which the operator manages
10-
# The names must be lowercase.
10+
# domainNamespaces specifies list of WebLogic Domain namespaces which the operator manages.
1111
# The customer is responsible for creating these namespaces.
12+
# If not specified, then the operator will manage WebLogic domains in the Kubernetes 'default' namespace.
1213
#
1314
# Example : In the configuration below, the helm installation will manage namespace1 and namespace2.
1415
#
1516
# domainNamespaces:
16-
# - namespace1
17-
# - namespace2
18-
domainNamespaces: [ "default" ]
17+
# - "namespace1"
18+
# - "namespace2"
19+
domainNamespaces:
20+
- "default"
1921

2022
# image specifies the docker image containing the operator code.
21-
image: "weblogic-kubernetes-operator:1.1"
23+
image: "weblogic-kubernetes-operator:2.0"
2224

2325
# imagePullPolicy specifies the image pull policy for the operator docker image.
2426
imagePullPolicy: "IfNotPresent"
2527

2628
# imagePullSecrets contains an optional list of Kubernetes secrets, in the operator's namepace,
2729
# that are needed to access the registry containing the operator Docker image.
30+
# The customer is responsible for creating the secret.
2831
# If no secrets are required, then omit this property.
2932
#
3033
# Example : a secret is needed, and has been stored in 'my-operator-secret'
3134
#
3235
# imagePullSecrets:
33-
# - name: my-operator-secret
36+
# - name: "my-operator-secret"
3437
#
3538
# imagePullSecrets:
3639
# - name:
@@ -39,7 +42,7 @@ imagePullPolicy: "IfNotPresent"
3942
# outside of the Kubernetes cluster on the port specified by the 'externalRestHttpsPort'
4043
# property.
4144
#
42-
# If set to true, then the customer provide the SSL certificate and private key for
45+
# If set to true, then the customer must provide the SSL certificate and private key for
4346
# the operator's external REST intervace by specifying the 'externalOperatorCert' and
4447
# 'externalOperatorKey' properties.
4548
externalRestEnabled: false
@@ -49,20 +52,20 @@ externalRestEnabled: false
4952
# Otherwise, it is ignored.
5053
externalRestHttpsPort: 31001
5154

52-
# The customer supplied certificate to use for the external operator REST
53-
# https interface. The value must be a string containing a base64 encoded PEM certificate.
55+
# The customer supplied certificate to use for the external operator REST https interface.
56+
# The value must be a string containing a base64 encoded PEM certificate.
5457
# This parameter is required if 'externalRestEnabled' is true.
5558
# Otherwise, it is ignored.
5659
#externalOperatorCert:
5760

58-
# The customer supplied private key to use for the external operator REST
59-
# https interface. The value must be a string containing a base64 encoded PEM key.
61+
# The customer supplied private key to use for the external operator REST https interface.
62+
# The value must be a string containing a base64 encoded PEM key.
6063
# This parameter is required if 'externalRestEnabled' is true.
6164
# Otherwise, it is ignored.
6265
#externalOperatorKey:
6366

64-
# remoteDebugNodePortEnabled specifies whether or not the operator will start a Java remote debug server on the
65-
# provided port and suspend execution until a remote debugger has attached.
67+
# remoteDebugNodePortEnabled specifies whether or not the operator will start a Java remote debug server
68+
# on the provided port and suspend execution until a remote debugger has attached.
6669
# The 'internalDebugHttpPort' property controls the port number inside the Kubernetes
6770
# cluster and the 'externalDebugHttpPort' property controls the port number outside
6871
# the Kubernetes cluster.
@@ -87,12 +90,14 @@ javaLoggingLevel: "INFO"
8790
# elkIntegrationEnabled specifies whether or not ELK integration is enabled.
8891
elkIntegrationEnabled: false
8992

90-
# logStashImage specifies the docker image containing logstash
91-
# TBD - should the logstash image pull policy and image pull secrets be configurable?
93+
# logStashImage specifies the docker image containing logstash.
94+
# This parameter is ignored if 'elkIntegrationEnabled' is false.
9295
logStashImage: "logstash:5"
9396

94-
# elasticSearchHost specifies the hostname of where elasticsearch is running
97+
# elasticSearchHost specifies the hostname of where elasticsearch is running.
98+
# This parameter is ignored if 'elkIntegrationEnabled' is false.
9599
elasticSearchHost: "elasticsearch.default.svc.cluster.local"
96100

97-
# elasticSearchPort specifies the port number of where elasticsearch is running
101+
# elasticSearchPort specifies the port number of where elasticsearch is running.
102+
# This parameter is ignored if 'elkIntegrationEnabled' is false.
98103
elasticSearchPort: 9200

kubernetes/src/test/java/oracle/kubernetes/operator/helm/HelmOperatorValuesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ private String getExpectedOperatorHelmChartDefaultValues() {
476476
.append("externalDebugHttpPort: 30999\n")
477477
.append("externalRestEnabled: false\n")
478478
.append("externalRestHttpsPort: 31001\n")
479-
.append("image: weblogic-kubernetes-operator:1.1\n")
479+
.append("image: weblogic-kubernetes-operator:2.0\n")
480480
.append("imagePullPolicy: IfNotPresent\n")
481481
.append("internalDebugHttpPort: 30999\n")
482482
.append("javaLoggingLevel: INFO\n")

0 commit comments

Comments
 (0)