We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fb3c1c commit f97d1deCopy full SHA for f97d1de
src/Kinds/K8sPod.php
@@ -113,7 +113,7 @@ public function getInitContainers(bool $asInstance = true): array
113
*/
114
public function addPulledSecret(string $name)
115
{
116
- return $this->addToAttribute('imagePullSecrets', ['name' => $name]);
+ return $this->addToSpec('imagePullSecrets', ['name' => $name]);
117
}
118
119
/**
@@ -138,7 +138,7 @@ public function addPulledSecrets(array $names)
138
139
public function getPulledSecrets(): array
140
141
- return $this->getAttribute('imagePullSecrets', []);
+ return $this->addToSpec('imagePullSecrets', []);
142
143
144
0 commit comments