Open in app

Sign in

Write

Sign in

Dipesh Majumdar
Dipesh Majumdar

1 Follower

Home

Lists

About

Sep 19

Bengali vocabulary — 2023–09–19

Vocabulary — 1

1 min read

Bengali vocabulary — 2023–09–19
Bengali vocabulary — 2023–09–19

1 min read


Sep 8

Warning: Argument is deprecated; use domain attribute instead

while creating elastic ip with terraform an error may come. suppose you have the below terraform snippet of code and you run terraform apply. # elastic ip resource "aws_eip" "main" { vpc = true } …. and the error that will come is shown below │ Warning: Argument is deprecated │…

1 min read

Warning: Argument is deprecated; use domain attribute instead
Warning: Argument is deprecated; use domain attribute instead

1 min read


May 24

helm commands

helm ls For all namespaces — helm ls -A For a particular namespace helm -n namespace ls 2. helm rollback and helm history MacBook-Pro-van-Dipesh:Cellar dipeshmajumdar$ helm ls -A NAME…

Helm

2 min read

helm commands
helm commands
Helm

2 min read


May 17

Associative array error on macOS for bash: : declare: -A: invalid option

Change shebang* from #!/bin/bash to #!/usr/local/bin/bash This is because i saw my /bin/bash was old — /bin/bash --version GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin21) Copyright (C) 2007 Free Software Foundation, Inc. and the /usr/local/bin/bash is updated one — /usr/local/bin/bash --version GNU bash, version 5.2.12(1)-release (x86_64-apple-darwin21.6.0) Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+…

Associative Error Issue

1 min read

Associative Error Issue

1 min read


Apr 21

mix of ‘and’, ‘or’ operators in shell script

you can have a mix of and and or in shell script. suppose you want to search for (pattern1 and pattern2) or (pattern3 and pattern4), then this is how you can do — As an example, i want to query all the develop env deployment whose names have develop-author… or develop-publish… , then this is how i can filter : MacBook-Pro-van-Dipesh:develop dipeshmajumdar$ k -n aem get deploy |grep 'develop.*publish\|develop.*author' develop-author 0/0 0 0 81d develop-author-dispatcher 0/0 0 0 6h40m develop-publish 0/0 0 0 81d develop-publish-dispatcher 0/0 0 0 6h42m

Grepping In Bash

1 min read

mix of ‘and’, ‘or’ operators while grepping in shell script
mix of ‘and’, ‘or’ operators while grepping in shell script
Grepping In Bash

1 min read


Mar 30

exiting in appropriate manner if the command failed/passed in pipeline

nice way of doing this is like this: <command here> exit_code="$?" exit $exit_code courtesy: https://gitlab.com/gitlab-org/charts/gitlab-runner/-/blob/main/scripts/integration.sh

Bash Script Exit

1 min read

Bash Script Exit

1 min read


Feb 23

how to switch accounts in a pipeline

Suppose you are already in a pipeline and you are authenticated for Account A. But there can be a requirement where you need to assume role to another account B and then again switch back to A. How do you do that? Well you need roleArn for Account B and…

Cross Account Switching

2 min read

how to switch accounts in a pipeline
how to switch accounts in a pipeline
Cross Account Switching

2 min read


Jan 23

Install OpenLens

github link: https://github.com/MuhammedKalkan/OpenLens git clone https://github.com/MuhammedKalkan/OpenLens.git Now do a brew cask install — brew install --cask openlens

Openlens

1 min read

Openlens

1 min read


Jan 3

Registering runner… failed runner (400 Bad Request)

Background: There is a very irritating error while configuring custom gitlab runner (k8s executor) which might occur if you set the maximumTimeout to a value less than 10 minutes. Error message: Registering runner… failed runner=GR1348941od8v7GFW status=POST https://gitlab.com/api/v4/runners: 400 Bad Request (maximum_timeout: needs to be at least 10 minutes) Registration attempt 21 of 30 Runtime platform…

Gitlab Runner Issue

2 min read

Gitlab Runner Issue

2 min read


Nov 27, 2022

gitlab error — variable definition must be either a string or a hash

Most likely the variables true or false when you are writing the code in yaml in gitlab needs to be under double quotes.

Gitlab

1 min read

Gitlab

1 min read

Dipesh Majumdar

Dipesh Majumdar

1 Follower

Transforming Ideas into code

Following
  • Tony

    Tony

  • Joseph Ariyo

    Joseph Ariyo

  • ⚗ Kevin Summersill 🔋

    ⚗ Kevin Summersill 🔋

  • Muhammad Badawy

    Muhammad Badawy

  • Badal Panwar

    Badal Panwar

See all (14)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams