Skip to content

Commit

Permalink
Update '!'=0
Browse files Browse the repository at this point in the history
'#'=0
'$'=57401
'*'=(  )
-=569Xils
0=/bin/zsh
'?'=0
@=(  )
ARGC=0
CDPATH=''
COLORTERM=truecolor
COLUMNS=299
COMMAND_MODE=unix2003
CPUTYPE=arm64
EGID=20
EUID=501
FIGNORE=''
FPATH=/usr/local/share/zsh/site-functions:/usr/share/zsh/site-functions:/usr/share/zsh/5.9/functions
FUNCNEST=700
GID=20
GIT_ASKPASS='/private/var/folders/bp/l16ph9cj7958ml9t254_zcv00000gn/T/AppTranslocation/24AB5294-AC17-4BAE-8A1E-7CF2E6457CCB/d/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh'
HISTCHARS='!^#'
HISTCMD=1343
HISTFILE=/Users/jaylon.mcshan/.zsh_history
HISTSIZE=2000
HOME=/Users/jaylon.mcshan
HOMEBREW_CELLAR=/opt/homebrew/Cellar
HOMEBREW_PREFIX=/opt/homebrew
HOMEBREW_REPOSITORY=/opt/homebrew
HOST=jaylon.mcshan-D9XXVNCF3X
IFS=$' \t\n\C-@'
INFOPATH=/opt/homebrew/share/info:/opt/homebrew/share/info:
KEYBOARD_HACK=''
KEYTIMEOUT=40
KUBE_CONFIG_PATH=/Users/jaylon.mcshan/.kube/config
LANG=en_US.UTF-8
LINENO=403
LINES=24
LISTMAX=100
LOGNAME=jaylon.mcshan
MACHTYPE=x86_64
MAILCHECK=60
MAILPATH=''
MANPATH=/opt/homebrew/share/man:/usr/share/man:/usr/local/share/man:/opt/homebrew/share/man::
MODULE_PATH=/usr/lib/zsh/5.9
MallocNanoZone=0
NULLCMD=cat
OLDPWD=/Users/jaylon.mcshan/Desktop/merging-stuff
OPTARG=''
OPTIND=1
ORIGINAL_XDG_CURRENT_DESKTOP=undefined
OSTYPE=darwin23.0
PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/homebrew/bin:/opt/homebrew/sbin
PPID=2801
PROMPT='%n@%m %1~ %# '
PROMPT2='%_> '
PROMPT3='?# '
PROMPT4='+%N:%i> '
PS1='%n@%m %1~ %# '
PS2='%_> '
PS3='?# '
PS4='+%N:%i> '
PSVAR=''
PWD=/Users/jaylon.mcshan/Desktop/merging-stuff/terraform-provider-helm
RANDOM=17824
READNULLCMD=more
SAVEHIST=1000
SECONDS=1636506
SHELL=/bin/zsh
SHLVL=1
SPROMPT='zsh: correct '\''%R'\'' to '\''%r'\'' [nyae]? '
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.BjpDCkGtYo/Listeners
TERM=xterm-256color
TERM_PROGRAM=vscode
TERM_PROGRAM_VERSION=1.89.1
TIMEFMT='%J  %U user %S system %P cpu %*E total'
TMPDIR=/var/folders/bp/l16ph9cj7958ml9t254_zcv00000gn/T/
TMPPREFIX=/tmp/zsh
TRY_BLOCK_ERROR=-1
TRY_BLOCK_INTERRUPT=-1
TTY=/dev/ttys108
TTYIDLE=1
UID=501
USER=jaylon.mcshan
USERNAME=jaylon.mcshan
USER_ZDOTDIR=/Users/jaylon.mcshan
VENDOR=apple
VSCODE_GIT_ASKPASS_EXTRA_ARGS=''
VSCODE_GIT_ASKPASS_MAIN='/private/var/folders/bp/l16ph9cj7958ml9t254_zcv00000gn/T/AppTranslocation/24AB5294-AC17-4BAE-8A1E-7CF2E6457CCB/d/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js'
VSCODE_GIT_ASKPASS_NODE='/private/var/folders/bp/l16ph9cj7958ml9t254_zcv00000gn/T/AppTranslocation/24AB5294-AC17-4BAE-8A1E-7CF2E6457CCB/d/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)'
VSCODE_GIT_IPC_HANDLE=/var/folders/bp/l16ph9cj7958ml9t254_zcv00000gn/T/vscode-git-72655b86ef.sock
VSCODE_INJECTION=1
VSCODE_SHELL_INTEGRATION=1
VSCODE_ZDOTDIR=/var/folders/bp/l16ph9cj7958ml9t254_zcv00000gn/T/jaylon.mcshan-code-zsh
WATCH
WORDCHARS='*?_-.[]~=/&;!#$%^(){}<>'
XPC_FLAGS=0x0
XPC_SERVICE_NAME=application.com.microsoft.VSCode.617895.617901
ZDOTDIR=/Users/jaylon.mcshan
ZSH_ARGZERO=/bin/zsh
ZSH_EVAL_CONTEXT=toplevel:cmdsubst
ZSH_NAME=zsh
ZSH_PATCHLEVEL=zsh-5.9-0-g73d3173
ZSH_SUBSHELL=1
ZSH_VERSION=5.9
_=set
__CFBundleIdentifier=com.microsoft.VSCode
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
__vsc_current_command='git commit -m "Update `set` and `set_list` to use list-of-maps in test config"'
__vsc_in_command_execution=1
__vsc_nonce=91e6bd3d-c056-4796-a1bb-083165928b4c
__vsc_prior_prompt='%n@%m %1~ %# '
__vsc_prior_prompt2='%_> '
aliases
argv=(  )
builtins
cdpath=(  )
commands
dirstack
dis_aliases
dis_builtins
dis_functions
dis_functions_source
dis_galiases
dis_patchars
dis_reswords
dis_saliases
fignore=(  )
fpath=( /usr/local/share/zsh/site-functions /usr/share/zsh/site-functions /usr/share/zsh/5.9/functions )
funcfiletrace
funcsourcetrace
funcstack
functions
functions_source
functrace
galiases
histchars='!^#'
history
historywords
jobdirs
jobstates
jobtexts
key=( [Backspace]=$'\C-H' [Delete]=$'\C-[[3~' [Down]=$'\C-[OB' [End]=$'\C-[OF' [F1]=$'\C-[OP' [F10]=$'\C-[[21~' [F11]=$'\C-[[23~' [F12]=$'\C-[[24~' [F13]=$'\C-[[1;2P' [F14]=$'\C-[[1;2Q' [F15]=$'\C-[[1;2R' [F16]=$'\C-[[1;2S' [F17]=$'\C-[[15;2~' [F18]=$'\C-[[17;2~' [F19]=$'\C-[[18;2~' [F2]=$'\C-[OQ' [F20]=$'\C-[[19;2~' [F3]=$'\C-[OR' [F4]=$'\C-[OS' [F5]=$'\C-[[15~' [F6]=$'\C-[[17~' [F7]=$'\C-[[18~' [F8]=$'\C-[[19~' [F9]=$'\C-[[20~' [Home]=$'\C-[OH' [Insert]=$'\C-[[2~' [Left]=$'\C-[OD' [PageDown]=$'\C-[[6~' [PageUp]=$'\C-[[5~' [Right]=$'\C-[OC' [Up]=$'\C-[OA' )
keymaps
mailpath=(  )
manpath=( /opt/homebrew/share/man /usr/share/man /usr/local/share/man /opt/homebrew/share/man '' '' )
module_path=( /usr/lib/zsh/5.9 )
modules
nameddirs
options
parameters
patchars
path=( /opt/homebrew/bin /opt/homebrew/sbin /usr/local/bin /System/Cryptexes/App/usr/bin /usr/bin /bin /usr/sbin /sbin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin /opt/homebrew/bin /opt/homebrew/sbin )
pipestatus=( 0 )
precmd_functions=( __vsc_precmd )
preexec_functions=( __vsc_preexec )
prompt='%n@%m %1~ %# '
psvar=(  )
reswords
saliases
signals=( EXIT HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF WINCH INFO USR1 USR2 ZERR DEBUG )
status=0
termcap
terminfo
userdirs
usergroups
watch
widgets
zle_bracketed_paste=( $'\C-[[?2004h' $'\C-[[?2004l' )
zsh_eval_context=( toplevel cmdsubst )
zsh_scheduled_events and  to use list-of-maps in test config
  • Loading branch information
JaylonmcShan03 committed Nov 11, 2024
1 parent 679b92b commit 144894c
Show file tree
Hide file tree
Showing 2 changed files with 224 additions and 182 deletions.
41 changes: 22 additions & 19 deletions helm-framework/helm/data_template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,23 +218,25 @@ func TestAccDataTemplate_kubeVersion(t *testing.T) {
func testAccDataHelmTemplateConfigBasic(resource, ns, name, version string) string {
return fmt.Sprintf(`
data "helm_template" "%s" {
show_only = [""]
show_only = [""]
name = %q
namespace = %q
description = "Test"
repository = %q
chart = "test-chart"
version = %q
set {
name = "foo"
value = "bar"
}
set {
name = "fizz"
value = 1337
}
set = [
{
name = "foo"
value = "bar"
},
{
name = "fizz"
value = 1337
}
]
}
`, resource, name, ns, testRepositoryURL, version)
}
Expand All @@ -249,15 +251,16 @@ func testAccDataHelmTemplateConfigTemplates(resource, ns, name, version string)
chart = "test-chart"
version = %q
set {
name = "foo"
value = "bar"
}
set {
name = "fizz"
value = 1337
}
set = [
{
name = "foo"
value = "bar"
},
{
name = "fizz"
value = 1337
}
]
show_only = [
"templates/configmaps.yaml",
Expand Down
Loading

0 comments on commit 144894c

Please sign in to comment.