Commit e9badcb3 authored by Zamir Martins Filho's avatar Zamir Martins Filho Committed by Ash McKenzie

Update Ingress chart version:

There is a issue related to clusterIP which
got fixed in version 1.29.7 . In addition to
bumping the version it is also required adding
new fields into values.yaml
parent 09233b18
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
module Clusters module Clusters
module Applications module Applications
class Ingress < ApplicationRecord class Ingress < ApplicationRecord
VERSION = '1.29.3' VERSION = '1.29.7'
MODSECURITY_LOG_CONTAINER_NAME = 'modsecurity-log' MODSECURITY_LOG_CONTAINER_NAME = 'modsecurity-log'
self.table_name = 'clusters_applications_ingress' self.table_name = 'clusters_applications_ingress'
......
---
title: 'Update Ingress chart version to 1.29.7'
merge_request: 25949
author:
type: added
...@@ -102,7 +102,7 @@ describe Clusters::Applications::Ingress do ...@@ -102,7 +102,7 @@ describe Clusters::Applications::Ingress do
it 'is initialized with ingress arguments' do it 'is initialized with ingress arguments' do
expect(subject.name).to eq('ingress') expect(subject.name).to eq('ingress')
expect(subject.chart).to eq('stable/nginx-ingress') expect(subject.chart).to eq('stable/nginx-ingress')
expect(subject.version).to eq('1.29.3') expect(subject.version).to eq('1.29.7')
expect(subject).to be_rbac expect(subject).to be_rbac
expect(subject.files).to eq(ingress.files) expect(subject.files).to eq(ingress.files)
end end
...@@ -119,7 +119,7 @@ describe Clusters::Applications::Ingress do ...@@ -119,7 +119,7 @@ describe Clusters::Applications::Ingress do
let(:ingress) { create(:clusters_applications_ingress, :errored, version: 'nginx') } let(:ingress) { create(:clusters_applications_ingress, :errored, version: 'nginx') }
it 'is initialized with the locked version' do it 'is initialized with the locked version' do
expect(subject.version).to eq('1.29.3') expect(subject.version).to eq('1.29.7')
end end
end end
end end
...@@ -135,6 +135,7 @@ describe Clusters::Applications::Ingress do ...@@ -135,6 +135,7 @@ describe Clusters::Applications::Ingress do
expect(values).to include('repository') expect(values).to include('repository')
expect(values).to include('stats') expect(values).to include('stats')
expect(values).to include('podAnnotations') expect(values).to include('podAnnotations')
expect(values).to include('clusterIP')
end end
end end
......
...@@ -6,3 +6,8 @@ controller: ...@@ -6,3 +6,8 @@ controller:
podAnnotations: podAnnotations:
prometheus.io/scrape: "true" prometheus.io/scrape: "true"
prometheus.io/port: "10254" prometheus.io/port: "10254"
service:
clusterIP: "-"
defaultBackend:
service:
clusterIP: "-"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment