diff --git a/mysql-operator/Chart.yaml b/mysql-operator/Chart.yaml index 6ce07d818..9e80f9a24 100644 --- a/mysql-operator/Chart.yaml +++ b/mysql-operator/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: mysql-operator -version: 0.2.1 +version: 0.3.0 description: A Helm chart for deploying the Oracle MySQL Operator maintainers: - name: Owain Lewis diff --git a/mysql-operator/templates/03-deployment.yaml b/mysql-operator/templates/03-deployment.yaml index 6fbc384d6..fe87e9762 100644 --- a/mysql-operator/templates/03-deployment.yaml +++ b/mysql-operator/templates/03-deployment.yaml @@ -27,6 +27,7 @@ spec: image: {{ .Values.image.registry }}/mysql-operator:{{ .Values.image.tag }} ports: - containerPort: 10254 + - containerPort: 8080 args: - --v=4 {{- if not .Values.operator.global }} diff --git a/pkg/resources/statefulsets/statefulset.go b/pkg/resources/statefulsets/statefulset.go index b3ae46f3c..b2ca840f7 100644 --- a/pkg/resources/statefulsets/statefulset.go +++ b/pkg/resources/statefulsets/statefulset.go @@ -268,8 +268,13 @@ func mysqlAgentContainer(cluster *v1alpha1.Cluster, mysqlAgentImage string, root } return v1.Container{ - Name: MySQLAgentName, - Image: fmt.Sprintf("%s:%s", mysqlAgentImage, agentVersion), + Name: MySQLAgentName, + Image: fmt.Sprintf("%s:%s", mysqlAgentImage, agentVersion), + Ports: []v1.ContainerPort{ + { + ContainerPort: 8080, + }, + }, Args: []string{"--v=4"}, VolumeMounts: volumeMounts(cluster), Env: []v1.EnvVar{