Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update helm project factory #3423

Open
wants to merge 241 commits into
base: unified-env
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
241 commits
Select commit Hold shift + click to select a range
1d61712
Added lts changes for unified-dev env
SriPadma8997-egov Sep 13, 2024
7241256
Added new ingress helm chart
SriPadma8997-egov Sep 14, 2024
60ceb7a
Added new ingress helm chart
SriPadma8997-egov Sep 14, 2024
7161c83
mdms host change (#3046)
shubhang-eGov Sep 19, 2024
8124a3d
adding elastic creds (#3047)
shubhang-eGov Sep 19, 2024
e32caeb
Update values.yaml
SriPadma8997-egov Sep 19, 2024
5a0f0eb
Update values.yaml
SriPadma8997-egov Sep 19, 2024
4a27f3c
Update values.yaml
SriPadma8997-egov Sep 19, 2024
21b92e4
Update and rename role.yaml to clusterrole.yaml
SriPadma8997-egov Sep 19, 2024
93703c1
Update and rename rolebinding.yaml to clusterrolebinding.yaml
SriPadma8997-egov Sep 19, 2024
69a6f1f
Update values.yaml
SriPadma8997-egov Sep 19, 2024
01264d9
Update values.yaml
SriPadma8997-egov Sep 19, 2024
8eac2dd
added context path of scheduler (#3049)
ansh-egov Sep 19, 2024
2d4d77c
Update values.yaml (#3055)
ashish-egov Sep 20, 2024
cb879db
adding boundary host for individual and project (#3060)
shubhang-eGov Sep 20, 2024
2adf4d4
Added lts changes for unified-dev env (#3062)
ansh-egov Sep 23, 2024
ac571e1
Update values.yaml (#3064)
ansh-egov Sep 23, 2024
6008b85
adding boundary type for individual and project (#3065)
shubhang-eGov Sep 23, 2024
19b8ab4
Update ingress.yaml (#3071)
SriPadma8997-egov Sep 23, 2024
e3ed3b9
Update values.yaml (#3073)
SriPadma8997-egov Sep 23, 2024
1542407
Adding HRMS and Project Factory host for plan-service (#3081)
tanishi-egov Sep 25, 2024
e69412f
Updating for open-endpoints (#3084)
ashish-egov Sep 25, 2024
09f8e88
Added unified-qa env files for lts upgrade (#3086)
SriPadma8997-egov Sep 25, 2024
c9e3235
Updated cpu limits
SriPadma8997-egov Sep 25, 2024
4f23555
Update cpu limits
SriPadma8997-egov Sep 25, 2024
723e31d
Updated cpu limits
SriPadma8997-egov Sep 25, 2024
ac89c29
Update cpu limits
SriPadma8997-egov Sep 25, 2024
21eec88
Update cpu limits
SriPadma8997-egov Sep 25, 2024
a4e3009
Update elasticsearch url
SriPadma8997-egov Sep 25, 2024
b3265d5
Update elasticsearch url
SriPadma8997-egov Sep 25, 2024
7f0f3c6
Update elasticsearch url
SriPadma8997-egov Sep 25, 2024
b45bac8
Updated elasticsearch url
SriPadma8997-egov Sep 25, 2024
f559ba8
Updated elasticsearch url
SriPadma8997-egov Sep 25, 2024
a8b967e
Updated elasticsearch url
SriPadma8997-egov Sep 25, 2024
bbb9ffb
enabled the analytics in ui pods for testing Plausible (#3087)
jagankumar-egov Sep 26, 2024
7f6f193
[HCMPRE-658] refactor resource-estimation to generator (#3083)
palak-egov Sep 27, 2024
c64040f
adding filestore url to gateway egov-open-endpoints-whitelist (#3088)
Shreya-egov Sep 27, 2024
2f1bfd3
added es username and password for dashboard analytics (#3089)
prerna-egov Sep 27, 2024
efa4505
adding attendance flag (#3098)
shubhang-eGov Sep 27, 2024
94eb0e0
Update unified-dev.yaml (#3100)
ashish-egov Sep 30, 2024
3d56336
adding mdms v2 endpoint for vehicletype (#3104)
Shreya-egov Sep 30, 2024
3240936
added env in pgadmin helm chart
Harish-egov Sep 30, 2024
e903a40
added helm config for report (#3114)
ansh-egov Oct 1, 2024
e090870
[HCMPRE-585] - Added facility host for Plan Facility (#3113)
Taniya-eGov Oct 1, 2024
76cc801
changing creds key (#3117)
shubhang-eGov Oct 1, 2024
87e2c50
Update values.yaml
SriPadma8997-egov Oct 1, 2024
45c24d7
Update values.yaml (#3118)
manastanmay-eGov Oct 1, 2024
d5605b3
Removed duplicate entry for java-debug (#3120)
LataNaik-eGov Oct 1, 2024
22b4865
Update values.yaml (#3122)
manastanmay-eGov Oct 1, 2024
db73fab
Elasticsearch master credentials chanbe (#3123)
shubhang-eGov Oct 1, 2024
15eb6d1
Update unified-works-qa-secrets.yaml
SriPadma8997-egov Oct 1, 2024
40194eb
Update unified-works-dev-secrets.yaml
SriPadma8997-egov Oct 1, 2024
33b4948
added redis template (#3121)
ansh-egov Oct 1, 2024
3bd8c80
Update values.yaml (#3129)
manastanmay-eGov Oct 1, 2024
bcdef88
added default limit offset in attendence (#3136)
ansh-egov Oct 1, 2024
7f8b231
Manastanmay e gov patch 2 (#3138)
manastanmay-eGov Oct 1, 2024
3348f82
added topics for stock reconciliation in transformer values (#3139)
prerna-egov Oct 3, 2024
1dbabc7
Update values.yaml (#3140)
manastanmay-eGov Oct 3, 2024
148b185
Added benefit program charts and configs (#3141)
ansh-egov Oct 3, 2024
03873b9
Boundary host added (#3142)
manastanmay-eGov Oct 3, 2024
b78c4d7
Boundary Service Host added (#3145)
manastanmay-eGov Oct 3, 2024
ab21956
Added benefit program charts and configs (#3146)
ansh-egov Oct 3, 2024
e236595
HCMEPRE-493 adding workflow host to plan-service helm chart (#3143)
Priyanka-eGov Oct 3, 2024
f1c2371
Increased the memory limit (#3151)
manastanmay-eGov Oct 4, 2024
8a24bc9
added referral flow topics for transformer in unified-qa (#3158)
prerna-egov Oct 7, 2024
ff97b82
Update unified-works-qa.yaml (#3153)
anuraj-egov Oct 7, 2024
b4045b5
Update unified-qa.yaml (#3154)
anuraj-egov Oct 7, 2024
1e0d388
Update values.yaml (#3159)
SriPadma8997-egov Oct 7, 2024
0b1dc81
Update values.yaml (#3161)
Tulika-eGov Oct 7, 2024
1daa85c
UCEM-765: Update values.yaml (#3162)
Tulika-eGov Oct 7, 2024
b28f441
Updated inbox service chart with es config (#3163)
Tulika-eGov Oct 7, 2024
fcdd1e8
adding-mdms-host (#3164)
shubhang-eGov Oct 7, 2024
88747ff
UCEM-765: Update values.yaml (#3165)
Tulika-eGov Oct 7, 2024
da2b6b2
Updated memory limits (#3167)
SriPadma8997-egov Oct 8, 2024
74e966b
Update values.yaml (#3168)
manastanmay-eGov Oct 8, 2024
68c4d8c
Update values.yaml (#3170)
SriPadma8997-egov Oct 8, 2024
f252ff6
updated attendance search endpoint (#3171)
prerna-egov Oct 8, 2024
3c4722f
adding payment tracker module names as env variables (#3172)
shubhang-eGov Oct 9, 2024
b43f244
UCEM-765: Update values.yaml (#3173)
Tulika-eGov Oct 9, 2024
a3e0b0f
Update values.yaml (#3174)
SriPadma8997-egov Oct 9, 2024
4645693
UCEM-765: Update values.yaml (#3175)
Tulika-eGov Oct 9, 2024
876b8b6
updated kafka-ui values.yaml
Harish-egov Oct 9, 2024
3d2c729
Update values.yaml (#3177)
manastanmay-eGov Oct 9, 2024
c4b9c7d
Updated context path (#3178)
manastanmay-eGov Oct 9, 2024
1922f26
Update values.yaml (#3179)
manastanmay-eGov Oct 9, 2024
bfb2d0c
adding boundary host in unified-env files (#3181)
shubhang-eGov Oct 11, 2024
ec447b0
Added localization host for health transformer and fixed mdms-v2 cont…
holashchand Oct 14, 2024
2eee3a5
added user service host (#3190)
tanishi-egov Oct 16, 2024
200c3ec
Added helm chart for census service (#3191)
tanishi-egov Oct 16, 2024
5442bfc
Update cpu limits (#3192)
SriPadma8997-egov Oct 17, 2024
a97533d
added update topic for service definition (#3193)
yashita-egov Oct 17, 2024
a60385e
increased replica for egov persister (#3195)
LataNaik-eGov Oct 17, 2024
1c046cb
Removed audit logs persister and audit service (#3196)
holashchand Oct 17, 2024
27a06cd
updated the analytics script (#3197)
jagankumar-egov Oct 17, 2024
716e748
HCMEPRE-492 Adding variables for workflow related roles and action (#…
Priyanka-eGov Oct 18, 2024
4bbee18
Added census persister file path (#3200)
tanishi-egov Oct 18, 2024
cdcb507
Adding census service persister file path in unified-health-qa env (#…
Shreya-egov Oct 18, 2024
b7e87d9
Added census persister file path (#3203)
tanishi-egov Oct 18, 2024
7dd5086
Added workflow related fields in census helm chart (#3204)
tanishi-egov Oct 19, 2024
92d9a55
Update values.yaml (#3206)
SriPadma8997-egov Oct 21, 2024
4368192
upgrading the memory linit of mdms and localisation since it fails to…
jagankumar-egov Oct 22, 2024
16cfe9f
adding SPRING_CODEC_MAX_IN_MEMORY_SIZE in gateway file (#3211)
Shreya-egov Oct 22, 2024
182ed01
Increased heap size for boundary service (#3212)
LataNaik-eGov Oct 23, 2024
7d736dd
increased replica of boundary service (#3213)
LataNaik-eGov Oct 23, 2024
d567940
Adding attendance feature toggle in project (#3214)
shubhang-eGov Oct 24, 2024
f814520
Adding plan facility update topic to census helm charts (#3215)
shashwat-egov Oct 25, 2024
a6e84bb
Updated localization module for project factory (#3216)
LataNaik-eGov Oct 28, 2024
8891930
Resolved custom enrichment issue in mukta pi index (#3217)
shubhang-eGov Oct 30, 2024
b4b2cdd
Update unified-qa.yaml for fileStore added json (#3219)
Bhavya-egov Nov 4, 2024
0bb7245
Adding census host in unified-health-dev env file (#3220)
tanishi-egov Nov 4, 2024
4765fc1
adding census persister path (#3221)
Shreya-egov Nov 4, 2024
05bbc37
adding census persister path (#3222)
Shreya-egov Nov 5, 2024
d48c824
adding census service config path (#3224)
Shreya-egov Nov 6, 2024
8406bff
HCMPRE-1212 :: migrated to point only to MMDS v2 api (#3225)
jagankumar-egov Nov 7, 2024
f1ba2f3
increased replica for project factory (#3227)
LataNaik-eGov Nov 7, 2024
3e56b80
removed unnecessary hhm indexer config (#3229)
prerna-egov Nov 8, 2024
2c38ff0
Update unified-dev.yaml (#3228)
ashish-egov Nov 8, 2024
bfb9542
Removed prometheus-postgres-configuration (#3231)
SriPadma8997-egov Nov 8, 2024
85409b0
Update unified-health-qa.yaml (#3232)
Ramkrishna-egov Nov 8, 2024
a143093
Added localization module name value (#3233)
Ramkrishna-egov Nov 11, 2024
aadd826
Updated cpu limits (#3235)
SriPadma8997-egov Nov 11, 2024
ac5c5dd
Lata naik e gov patch 5 (#3237)
LataNaik-eGov Nov 11, 2024
40da037
increased replica for health project (#3238)
LataNaik-eGov Nov 11, 2024
30680f0
added values in helm (#3239)
ansh-egov Nov 11, 2024
cf93047
Update values.yaml (#3240)
LataNaik-eGov Nov 11, 2024
0a66ba2
HCMEPRE-853 adding census host (#3236)
Priyanka-eGov Nov 11, 2024
5ce97a6
Updated memory limits for health-project-service (#3241)
SriPadma8997-egov Nov 13, 2024
49dc90b
Added maxDebugChar for project factory (#3242)
LataNaik-eGov Nov 13, 2024
f348efc
added new jupyterhub helm chart
Harish-egov Nov 15, 2024
1a7e7bb
Adding census-indexer path in unified env (#3243)
tanishi-egov Nov 18, 2024
522bf5a
Updated the project-factory log leevl to info
Satya-egov Nov 19, 2024
662f2e8
adding census service indexer path (#3251)
Shreya-egov Nov 19, 2024
0ccebf9
Added indexer repo path for plan service (#3253)
tanishi-egov Nov 19, 2024
c6f0fe8
Adding wf restricted roles for census (#3247)
tanishi-egov Nov 19, 2024
8dc0aa2
Update unified-health-qa.yaml (#3255)
LataNaik-eGov Nov 20, 2024
405a6f7
Lata naik e gov patch 5 (#3256)
LataNaik-eGov Nov 20, 2024
4f9c571
Added indexer repo path for plan service (#3257)
Shreya-egov Nov 21, 2024
b1e7d73
Microplan Integration related config updated
jagankumar-egov Nov 22, 2024
8d4a7d8
Update unified-dev.yaml (#3268)
ashish-egov Nov 25, 2024
8b31ce8
Update unified-dev.yaml (#3269)
ashish-egov Nov 25, 2024
a0d8e5d
Increasing max heap size and replica numbers for plan-service (#3270)
Priyanka-eGov Nov 27, 2024
8163797
Update unified-health-qa.yaml (#3271)
Satya-egov Nov 27, 2024
04a61fa
Updateing the memory limits as it fills (#3272)
LataNaik-eGov Nov 27, 2024
7ca776c
Increasing replica numbers for project-factory (#3274)
Priyanka-eGov Nov 28, 2024
02fe62a
Increased default limit for plan and census (#3273)
tanishi-egov Nov 28, 2024
90ab328
Update values.yaml (#3275)
SriPadma8997-egov Nov 28, 2024
4fd61ca
Update values.yaml (#3276)
SriPadma8997-egov Nov 28, 2024
42bc8bc
updated egov notification mail secrets env
Harish-egov Dec 2, 2024
f5a587f
updated egov notification mail secrets env
Harish-egov Dec 2, 2024
540d6d8
Update values.yaml
Harish-egov Dec 3, 2024
24e0b6e
overriding kafka create/update topics for elastic consumer (#3284)
shubhang-eGov Dec 3, 2024
7cfe5f0
Adding elastic host (#3285)
shubhang-eGov Dec 3, 2024
d7598f5
adding secrets to health namespace (#3287)
shubhang-eGov Dec 4, 2024
463c0ec
Removed unused values in project factory#3291)
ansh-egov Dec 4, 2024
ff01c22
Update values.yaml (#3310)
Satya-egov Dec 6, 2024
a308bac
Update unified-health-dev.yaml to add debug value (#3315)
ashish-egov Dec 9, 2024
25220bc
Update values.yaml for debug (#3317)
ashish-egov Dec 9, 2024
317f76f
Move urban related services to urban namespace (#3319)
vinothrallapalli-eGov Dec 10, 2024
b305ed1
remove open tracing and java debug variable and move payment, hrms se…
vinothrallapalli-eGov Dec 11, 2024
b76f135
Update values.yaml for localisation fix (#3322)
ashish-egov Dec 11, 2024
2ea5d58
Update default schema name (#3326)
vinothrallapalli-eGov Dec 11, 2024
befc60a
Egov-hrms host config key updated (#3333)
manastanmay-eGov Dec 16, 2024
e7697e2
Memory Increased (#3338)
manastanmay-eGov Dec 17, 2024
7cb5f1a
Increased the memory (#3339)
manastanmay-eGov Dec 17, 2024
e99ce31
added template
Harish-egov Dec 18, 2024
69416fb
updated
Harish-egov Dec 18, 2024
f4303a6
Update global config file path and tenantid (#3341)
vinothrallapalli-eGov Dec 18, 2024
0b6cc80
Revert "Update global config file path and tenantid (#3341)" (#3342)
vinothrallapalli-eGov Dec 18, 2024
50980bf
HCMPRE-1717:: Payments Module Added Helm charts (#3343)
Ramkrishna-egov Dec 18, 2024
8109e9e
Increased the request and limit memories (#3347)
manastanmay-eGov Dec 19, 2024
c918c8c
Update values.yaml
Harish-egov Dec 19, 2024
14ef97b
Print the SMS message in the logs (#3348)
vinothrallapalli-eGov Dec 20, 2024
4ff5773
Update values.yaml (#3349)
manastanmay-eGov Dec 20, 2024
4ae4eb0
adding devops changes for muster-roll, expense and expense-calculator…
shubhang-eGov Dec 20, 2024
b0217fd
Keeping only mdms v2 pod in unified-dev env
jagankumar-egov Dec 20, 2024
aad4973
Update values.yaml
Harish-egov Dec 23, 2024
2bebd9a
removed state level tenant value from devops in dev (#3353)
nitish-egov Dec 23, 2024
558b78c
updated the mdms context path to point to mdms-v2 in unified-health-d…
nitish-egov Dec 23, 2024
6469637
Update values.yaml (#3355)
SriPadma8997-egov Dec 23, 2024
10d6db2
updated mdmsv2 and v1 search endpoint in unified-health-dev (#3356)
nitish-egov Dec 23, 2024
7802715
Fixed common files not found issue in hcm (#3357)
holashchand Dec 23, 2024
51e8f22
Fixed health attendance host issue in unified dev health (#3358)
holashchand Dec 23, 2024
1f7e1b3
Locale tenant values update (#3360)
nitish-egov Dec 23, 2024
dac75f1
added boundary host and search url (#3345)
yashita-egov Dec 23, 2024
98020f1
Update values.yaml (#3361)
manastanmay-eGov Dec 24, 2024
c0e9e66
Added payment services configs for unified qa (#3362)
holashchand Dec 24, 2024
7dcc85a
HCMPRE-1645: Mdms v2 host and search endpoint for attendance (#3363)
yashita-egov Dec 25, 2024
f6d6e16
Fixed paths and envs for muster roll service in health (#3364)
holashchand Dec 26, 2024
59ff7da
Update values.yaml
Harish-egov Dec 26, 2024
1531703
fixed duplicate env issue and added env for roles in muster roll heal…
holashchand Dec 26, 2024
23da191
Update values.yaml
Harish-egov Dec 26, 2024
a505972
Update unified-health-dev.yaml
Harish-egov Dec 26, 2024
dfc3b99
Update values.yaml
Harish-egov Dec 26, 2024
333718f
Enable SMS console logs (#3368)
vinothrallapalli-eGov Dec 26, 2024
cd95489
Added configs for start date validation and bank account for muster …
holashchand Dec 26, 2024
80fb056
Update heap memory (#3371)
vinothrallapalli-eGov Dec 27, 2024
0230581
Added persister config for muster roll (#3372)
holashchand Dec 27, 2024
9bf8da0
Added env for update attendance for muster roll approval (#3373)
holashchand Dec 27, 2024
447d75d
disabled notification for health muster roll (#3374)
holashchand Dec 27, 2024
ea57e11
Fixed health muster roll env (#3375)
holashchand Dec 27, 2024
ca93d62
Fixed health attendance update api endpoint for muster roll (#3376)
holashchand Dec 27, 2024
e274d7a
Update values.yaml (#3377)
manastanmay-eGov Dec 30, 2024
901793f
Update values.yaml (#3378)
manastanmay-eGov Dec 30, 2024
66c4d30
Changing mdms-v2 context path for dev env in Plan Service and Resourc…
tanishi-egov Dec 30, 2024
c414cf3
Added limits and request memory config (#3380)
manastanmay-eGov Dec 31, 2024
94d3822
Added request and limits configs (#3381)
manastanmay-eGov Dec 31, 2024
94f5979
Changing egov-state-level-tenant-id value from "pg" to "dev" (#3382)
tanishi-egov Dec 31, 2024
27c5586
Changing the key for state.level.tenant.id (#3383)
tanishi-egov Dec 31, 2024
4a444a8
Update internal user parameter (#3384)
vinothrallapalli-eGov Jan 2, 2025
68d822b
Updated inbox heap memory (#3385)
manastanmay-eGov Jan 2, 2025
5b38601
Updated the global config file for health uis (#3387)
nipunarora-eGov Jan 2, 2025
af910f0
Enabling attendance register open search (#3388)
tanishi-egov Jan 2, 2025
7155402
adding expense-calculator config changes (#3389)
shubhang-eGov Jan 3, 2025
f234f50
Update values.yaml to disabled first staff create (#3391)
rachana-egov Jan 3, 2025
888cd18
Updated env for health muster roll (#3390)
holashchand Jan 3, 2025
2fe2116
Update urban services related persister configs (#3392)
vinothrallapalli-eGov Jan 3, 2025
38776bd
Update values for validateCampaignIdInMetadata (#3393)
ashish-egov Jan 3, 2025
1e03c85
update tl-calcualtor heap memory (#3394)
vinothrallapalli-eGov Jan 3, 2025
489c1a1
Updated global config load assets file for Payemnts UI (#3395)
Ramkrishna-egov Jan 3, 2025
b471fe3
Override host in property service (#3397)
vinothrallapalli-eGov Jan 3, 2025
0a734a7
Disabling workflow (#3398)
shubhang-eGov Jan 4, 2025
5df5811
Added pdf to config and calculator helm chart config (#3396)
shailesh-egov Jan 4, 2025
cfd62e7
adding expense persister path (#3399)
shubhang-eGov Jan 4, 2025
a151fc1
Adding roles for open search (#3400)
shubhang-eGov Jan 4, 2025
02d3973
added attendance config (#3401)
yashita-egov Jan 5, 2025
9f2eab7
Update unified-urban-qa.yaml (#3403)
vinothrallapalli-eGov Jan 6, 2025
c778166
Added Individual Host (#3404)
manastanmay-eGov Jan 6, 2025
83fe448
Updated helm chart of expense calculator for localization (#3405)
shailesh-egov Jan 6, 2025
583f009
Updated calculator chart to resolve deployment issue (#3406)
shubhang-eGov Jan 6, 2025
3f4c141
Added new db url's for urban
Harish-egov Jan 6, 2025
923a299
Update unified-urban-dev.yaml for edcr (#3407)
vinothrallapalli-eGov Jan 6, 2025
4cdfc36
Update values.yaml (#3409)
manastanmay-eGov Jan 6, 2025
0da2ea3
Remove unused configurations in edcr (#3408)
vinothrallapalli-eGov Jan 6, 2025
dc80167
Update values.yaml (#3410)
Shashwat12-egov Jan 6, 2025
71c1e97
added console changes
jagankumar-egov Jan 7, 2025
cc2106e
removed mdms v1 config
jagankumar-egov Jan 8, 2025
09a8138
Update unified-health-dev.yaml
jagankumar-egov Jan 8, 2025
72a8e46
Update unified-works-dev.yaml
jagankumar-egov Jan 8, 2025
62b5d79
Update unified-urban-dev.yaml
jagankumar-egov Jan 8, 2025
746fbcf
Update unified-works-dev.yaml
jagankumar-egov Jan 8, 2025
95442d3
added retry in devops until resource completes
nitish-egov Jan 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion deploy-as-code/deployer/cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ to quickly create a Cobra application.`,
func init() {
// deployCmd.Flags().StringVarP(&images, "images", "i", "", "Images to be deployed")

deployCmd.Flags().String("helm-dir", "../../config-as-code", "Helm Charts / Configs directory")
deployCmd.Flags().String("helm-dir", "../../deploy-as-code/helm", "Helm Charts / Configs directory")
viper.BindPFlag("helm-dir", deployCmd.Flags().Lookup("helm-dir"))

deployCmd.Flags().StringVarP(&options.Environment, "environment", "e", "", "Environment override to be applied")
Expand Down
2 changes: 1 addition & 1 deletion deploy-as-code/deployer/pkg/cmd/deployer/deployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
func DeployCharts(options Options) {

configDir, _ := filepath.Abs(options.ConfigDir)
var helmDir = configDir + "/helm"
var helmDir = configDir
log.Println(configDir)
log.Println("Helm Directory - " + helmDir)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
appVersion: "1.0"
description: A Helm chart for Confluent Kafka on Kubernetes
name: elasticsearch-data
version: 0.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,46 @@
{{- end }}
{{- end }}

{{- define "elasticsearch.roles" -}}
{{- range $.Values.roles -}}
{{ . }},
{{- end -}}
{{- end -}}

{{/*
Generate certificates when the secret doesn't exist
*/}}
{{- define "elasticsearch.gen-certs" -}}
{{- $certs := lookup "v1" "Secret" "es-cluster-v8" ( printf "%s-certs" (include "name" . ) ) -}}
{{- if $certs -}}
tls.crt: {{ index $certs.data "tls.crt" }}
tls.key: {{ index $certs.data "tls.key" }}
ca.crt: {{ index $certs.data "ca.crt" }}
{{- else -}}
{{- $altNames := list ( include "elasticsearch.masterService" . ) ( printf "%s.es-cluster-v8" (include "elasticsearch.masterService" .) ) ( printf "%s.es-cluster-v8.svc" (include "elasticsearch.masterService" .) ) -}}
{{- $ca := genCA "elasticsearch-ca" 365 -}}
{{- $cert := genSignedCert ( include "elasticsearch.masterService" . ) nil $altNames 365 $ca -}}
tls.crt: {{ $cert.Cert | toString | b64enc }}
tls.key: {{ $cert.Key | toString | b64enc }}
ca.crt: {{ $ca.Cert | toString | b64enc }}
{{- end -}}
{{- end -}}

{{- define "elasticsearch.masterService" -}}
{{- if empty .Values.masterService -}}
{{- if empty .Values.fullnameOverride -}}
{{- if empty .Values.nameOverride -}}
{{ .Values.clusterName }}-master
{{- else -}}
{{ .Values.nameOverride }}-master
{{- end -}}
{{- else -}}
{{ .Values.fullnameOverride }}
{{- end -}}
{{- else -}}
{{ .Values.masterService }}
{{- end -}}
{{- end -}}

{{- define "elasticsearch.endpoints" -}}
{{- $replicas := int (toString (.Values.replicas)) }}
Expand All @@ -25,7 +65,7 @@
{{- if and (contains "docker.elastic.co/elasticsearch/elasticsearch" .Values.image.repository) (not (eq $version 0)) -}}
{{ $version }}
{{- else -}}
7
8
{{- end -}}
{{- end -}}
{{- end -}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.maxUnavailable }}
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: "{{ template "name" . }}-pdb"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{- if .Values.createCert }}
apiVersion: v1
kind: Secret
type: kubernetes.io/tls
metadata:
name: {{ template "name" . }}-certs
namespace: {{ .Values.namespace }}
labels:
app: "{{ template "name" . }}"
{{- range $key, $value := .Values.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
data:
{{ ( include "elasticsearch.gen-certs" . ) | indent 2 }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{{- if .Values.secret.enabled -}}
{{- $passwordValue := (randAlphaNum 24) | b64enc | quote }}
apiVersion: v1
kind: Secret
metadata:
name: {{ template "name" . }}-credentials
namespace: {{ .Values.namespace }}
labels:
app: "{{ template "name" . }}"
{{- range $key, $value := .Values.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
type: Opaque
data:
username: {{ "elastic" | b64enc }}
{{- if .Values.secret.password }}
password: {{ .Values.secret.password | b64enc }}
{{- else }}
password: {{ $passwordValue }}
{{- end }}
{{- end }}
Loading