Skip to content

Commit 18b2fc3

Browse files
authored
Fix: add missing k8s resources for hue and streampark (#54)
Signed-off-by: xingcan-ltc <xingcan.hu@hotmail.com>
1 parent 2142121 commit 18b2fc3

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

catalog/flink/x-definitions/app-streampark.cue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ template: {
7878
spec: {
7979
containers: [{
8080
name: context.name
81+
if parameter.resources != _|_ {
82+
resources: parameter.resources
83+
}
8184
env: [
8285
{
8386
name: "TZ"

catalog/hdfs/x-definitions/app-httpfs.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ template: {
130130
"successThreshold": 1
131131
"failureThreshold": 3
132132
}
133-
if parameter["resources"] != _|_ {
133+
if parameter.resources != _|_ {
134134
resources: parameter.resources
135135
}
136136
volumeMounts: [{

catalog/hue/x-definitions/app-hue.cue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,9 @@ template: {
100100
spec: {
101101
containers: [{
102102
name: context.name
103-
_customEnv: [...]
104-
if parameter.env != _|_ {
105-
_customEnv: parameter.env
103+
if parameter.resources != _|_ {
104+
resources: parameter.resources
106105
}
107-
108106
env: [
109107
{
110108
name: "ADMIN_USER"

0 commit comments

Comments
 (0)